solved: Changing timeout in Grub2

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
hermann

solved: Changing timeout in Grub2

Post by hermann »

Hi folks,
first please excuse my bad englisch. I like to change the boot time in grub. I ve tried "nano sudo /boot/grub/menu.lst" but the directory is empty. Have somebody an advice :)

regards hermann
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
linuxviolin
Level 8
Level 8
Posts: 2081
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Changing timeout in Grub2

Post by linuxviolin »

hermann wrote:I ve tried "nano sudo /boot/grub/menu.lst" but the directory is empty.
This way is for GRUB Legacy not GRUB 2. The principal file, but very poor, is /etc/default/grub You'll find in it the line you seek.

Little reminder: to validate any changes to GRUB 2, it must use the command:

Code: Select all

# update-grub
if you are root or

Code: Select all

$ sudo update-grub
if not.
Last edited by linuxviolin on Sun Oct 31, 2010 5:25 pm, edited 1 time in total.
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
hermann

Re: Changing timeout in Grub2

Post by hermann »

Thanks linuxviolon for your quick answer. But I found the timeout-setting per : sudo nano /boot/grub/grub.cfg

Regards, hermann
hermann

Re: Changing timeout in Grub2

Post by hermann »

O.K. the correct order is sudo nano /etc/default/grub
Thank you. hermann
User avatar
linuxviolin
Level 8
Level 8
Posts: 2081
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Changing timeout in Grub2

Post by linuxviolin »

hermann wrote:But I found the timeout-setting per : sudo nano /boot/grub/grub.cfg
Yes this file exists but must not be modified manually. :!:

It's in the /etc directory we must look for the options. The main file, though very poor, is /etc/default/grub and all the scripts that handle GRUB 2 are in /etc/grub.d/


If your problem is solved, please, add [Solved] in the title. :D
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
Locked

Return to “Installation & Boot”