11-25-2021, 06:32 AM
'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
and press return.
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
clueless