• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Ubuntu and Windows XP

Winchester

Diamond Member
I have both Ubuntu and XP on my machine, but by default it loads Ubuntu if you dont hit a key in 10sec or x? I would like it to boot to XP by default. How do I change this?
 
i don't know if ubuntu uses grub or lilo, but with grub, it's just a matter of editing grub.conf to set the default.
 
Make a copy of grub conf first just in case... so IIRC do: sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup

Then do: sudo vim /boot/grub/menu.lst. Find the line where it says default 0 (towards the top of the file). 0 corresponds to the first entry in the list, usually Ubuntu. On mine it goes Ubuntu, Ubuntu rescue mode, Memtest86+, "Other Operating Systems", Windows XP. So in my case, I needed to change it to default 4 for XP to be selected for boot by default.
 
1) boot into Ubuntu and log in
2) open a terminal (right click on desktop and choose Terminal)
3) edit the file /boot/grub/menu.lst by using this command:
$ sudo gedit /boot/grub/menu.lst
4) find the line in the file which starts with the word "default" followed by a number.
5) change the number to match the Windows-XP option position in the menu (starting with 0). For example, if currently the default is 0 which chooses Ubuntu (the first option), and windows is the third option, then change it to 2.
6) save the file and exit from gedit.
7) reboot
 
Back
Top