Ubuntu dual boot

Associate
Joined
23 Jul 2008
Posts
104
Ok so i installed ubuntu and i think its pretty amazing actually, especially with compiz!. Anyway, i have tri-boot now :P with xp, vista and ubuntu but everytime i start my pc it wants to load into ubuntu as its first choice with the GRUB loader. Is there a way i can make vista my primary boot so i dont need to keep selecting it?

Many thanks in advance!
Ryan
 
Ok so i installed ubuntu and i think its pretty amazing actually, especially with compiz!. Anyway, i have tri-boot now :P with xp, vista and ubuntu but everytime i start my pc it wants to load into ubuntu as its first choice with the GRUB loader. Is there a way i can make vista my primary boot so i dont need to keep selecting it?

Many thanks in advance!
Ryan

Edit /boot/grub/menu.lst
 
Open it in your favorite editor (VIM in my case). I recommend gedit if your new. Cba'd to explain vim.

Type this in a terminal.
Code:
sudo gedit /etc/grub/menu.lst

Move your windows section upto top of the list instead of the bottom. default 0 (which is already set should choose this one - counting from 0 up) so you shouldn't need to change this.

e.g.
title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
.
.
.
 
Back
Top Bottom