Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 22692  / 2 Years ago, wed, september 7, 2022, 6:14:49

I can use Grub-Customizer to edit which options appear in the Grub menu. I was thinking of removing everything except the option to boot into Ubuntu and into Windows.



If I was to do this how could I boot into the recovery modes of these two operating systems if I needed to?


More From » grub2

 Answers
4

To start Ubuntu in Recovery Mode



You can do so from the Grub menu.



1 - Show the menu




  • If the menu is displayed during boot, the automatic countdown may be
    stopped by pressing any key other than the Enter key.

  • If the menu is not normally displayed during boot, hold down the
    Shift key as the computer attempts to boot to display the GRUB 2
    menu. In certain circumstances, if holding the Shift key method does
    not display the menu pressing the Esc key repeatedly may display the
    menu.



2 - Edit the menu




  • With the menu displayed, press any key (except Enter) to halt the
    countdown timer and select the Ubuntu entry with the up/down arrow
    keys.


  • Press the E key to edit that entry's settings.



    Note: Do not use Enter to move between lines.


  • Delete the line that looks something like set gfxpayload=$linux_gfx_mode


  • Go to the line that starts with linux and delete everything after ro. (In my case, that would mean to delete quiet splash vt.handoff=7.)


  • Now, append the following to the line (after ro): recovery nomodeset



    The final line looks like this for me: linux /boot/vmlinuz-3.0.0-19-generic root=UUID=74d6aa6a-5170-4a36-b5b8-72e9c3db3989 ro recovery nomodeset


  • When that's done, hit CTRL-X to boot with the temporarily changed settings.



    Note: Edits made to the menu in this manner are non-persistent. They remain in effect only for the current boot.


  • Ubuntu will now load in Recovery mode.



    More info on editing the Grub menu during boot can be found here.




To start Windows in Safe Mode



This is actually really simple.




  • Select Windows from the Grub menu.

  • Once your selection is made, repeatedly hit F8 until a menu appears.

  • From here, you will be able to choose which mode to start Windows in, such as Safe Mode or Command Prompt.


[#38525] Wednesday, September 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eatack

Total Points: 245
Total Questions: 120
Total Answers: 113

Location: Estonia
Member since Wed, Jun 8, 2022
2 Years ago
eatack questions
Sun, Mar 6, 22, 20:44, 2 Years ago
Tue, Feb 8, 22, 20:50, 2 Years ago
Sat, May 20, 23, 13:30, 1 Year ago
;