Boot order?

Hi I have Ubuntu 10.10 installed. I want to change boot order.
Can anyone tell where is menu.lst file located. I searched it but didn't get it. Please tell me what file I need to edit for same?

Since 9.10 (I think), Ubuntu uses Grub2 instead of Grub, and the old menu.lst has been replaced by /boot/grub/grub.cfg, which shouldn't be edited manually. Instead, modify /etc/default/grub and the files in /etc/grub.d/ according to your needs and run grub-mkconfig afterward.

2 Likes

If you want to quickly change things, just edit /boot/grub/grub.cfg (assuming you are not on an EFI platform). Any changes will survive a reboot but will be overwritten the next time grub-mkconfig is run.

Here is a pointer to Ubuntu GRUB2 documentation

1 Like

Thx guys did it by editing /etc/default/grub
and yeah dont't forget to run update-grub after it.