PDA

View Full Version : [kubuntu] Boot windows first? Where is menu.lst in 9,1?



xmarkom
January 17th, 2010, 05:07 PM
How to set Windows as default system in boot menu?
Where is menu.lst (i've found some texts on the net where people found solution where all you need is to change some code lines in that file in boot/grub/)

snowpine
January 17th, 2010, 05:13 PM
Ubuntu 9.10 uses Grub 2, which no longer has a menu.lst file.

This should bring you up to speed on the changes:

https://wiki.ubuntu.com/Grub2

mick222
January 17th, 2010, 05:15 PM
THere is no menu 1st in 9.1 here is a link to grub2 configuration you will need to edit the file /etc/grub.d/custom_40 https://help.ubuntu.com/community/Grub2#Initial%20Default

Leppie
January 17th, 2010, 05:34 PM
if you want to set windows as the default os to boot, edit your grub defaults file:

gksudo gedit /etc/default/grub
modify the GRUB_DEFAULT variable:

GRUB_DEFAULT="Microsoft Windows XP (loader) (on /dev/sda1)"
mind the quotes (it won't work without them). you need to know the exact menu entry though, you can find it like this:

cat /boot/grub/grub.cfg | grep Windows
now run update-grub to regenerate the configuration file:

sudo update-grub