See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to configure Grub to boot instead of Windows
#2
'grub' is a system file so take care editing and consider making a back up copy before changing anything.

When you type in 'sudo nano /etc/default/grub', you are opening the system file called grub using nano.  Nano is a simple terminal based text editor similar to notepad but without the mouse options.  Because 'grub' is a system file, you need 'sudo' to allow you to save any changes you make.

The cursor will appear over the start of the first line.  Press the down arrow to move it to the line you wish to change so that the first letter of the line is highlighted. Press the '#' hash key.  This should move the whole line to the right and insert a # at the start of it.  The # causes the line to be treated as a comment rather than an instruction so this is referred to as 'commenting out' the instruction.

If you are happy with the change press 'CTRL' and 'o' .  This prompts you for a 'File Name to Write:' and will suggest '/etc/default/grub' so pressing return here will save your change to that file.  Then press 'CTRL' and x to leave nano

To complete the change you need to type

Code:
sudo update-grub

and press return.
stevef
clueless
Reply


Messages In This Thread
Re: How to configure Grub to boot instead of Windows - by stevef - 11-25-2021, 06:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)