Right way to edit /boot/grub/menu.lst ?
I have been busy writing stuff about a few debian-based distros and Linux in general for newbies, and now I have this question:
Is it all right to edit boot/grub/menu.lst in this way? I needed to have WindowsXp boot first and appear first on the menu at boot time (I installed Ubuntu on a laptop which is shared among several people and on which WindozeXP was pre-installed).
I simply cut the lines referring to WinXp and added by clever Ubuntu, and pasted them just above those eferrinfg to Ubuntu, and I adapted the title. Here's part of the edited file:
## ## End Default Options ##
title Microsoft Windows XP Professional
# This is a divider, added to separate the menu items below from the Debian
title Other operating system: Linux Ubuntu
title Ubuntu, kernel 2.6.12-9-386
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda2 ro quiet splash
title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda2 ro single
title Ubuntu, memtest86+
### END DEBIAN AUTOMAGIC KERNELS LIST
I read somewhere you oughtn't to move lines but you should simply write defaut 0 or 1 according to where Windows stands in the file.
What do you say?
Many thanks in advance!
Last edited by eeried; 12-01-2005 at 11:11 AM.