Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can I change the order of the operating systems in the GRUB bootloader? I see that the text in the file "menu.lst" resembles the options presented when I boot. Can I edit the contents of the file to have windows XP at the top?
The problem is that after a certain amount of seconds the top OS boots automatically. I'd like to have windows boot by default when I take no action.
Best regards,
Marvelade
P.S.: right now the contents are these. I'd like to move the last portion to the top but I guess this could lead to trouble:
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
I never remember how the numbering works, but I'm pretty sure that removing the savedefault line should work. You can also set the default to 0 towards the top of menu.lst.
you can edit them yes, you may prefer to use the option "default 1" in the top settings, which would boot the 2nd option (the list starts at number 0 like all good lists should)
yeah just found that savedefault command too... obviously you mightn't want to always boot the last one, so a formal default may still be preferred.
Last edited by acid_kewpie; 04-06-2007 at 02:08 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.