PDA

View Full Version : Grub boot sequence



karloss
02-23-2008, 08:09 AM
Hi all...how can I change the boot sequence of grub when I first turn on my laptop? I need to do two thing basically:

1. change the time of automatically booting if I did not choose an option

2. how can have grub use windows as a default operating system first, unless manually specified otherwise.

Now the default is debian..I want my laptop to always boot with windows, unless I ask him to boot Knoppix. (what would be the command line to edit all this?)

Thank you in advance for your help.

kirol
02-23-2008, 09:33 AM
You need to edit the file /boot/grub/menu.lst

# sudo mcedit /boot/grub/menu.lst

1. adjust the line that says "timeout X" where X represents a number of seconds

2. adjust the line that says "default N" where windows coresponds to the N-th "title" entry in the file (counting from zero)