Add an OS to GRUB?

G25r8cer

Active Member
So first my pc came installed with Vista Home Premium 32bit. Then, I installed ubuntu ultimate on another partition. Now I wanna add another successfully. I want to add XP. How can I got about this? Experienced users respond only please..
 
in terminal (on your ubuntu) type
gksudo gedit /boot/grub/menu.lst

at the bottom type
title Windows XP
root (hd?,?)
makeactive
chainloader +1

replace the ?,? with the corresponding hdd/partition
say if it's on my first harddrive, second partition, it'd be 0,1 (counting starts at 0, so part 1 is 0, partition 2 is 1, and so on)
If you want to make XP your default, simply go back to the gksudo gedit /boot/grub/menu.lst and find 'savedefault' and move it under the XP portion (or the Ubuntu or Vista, whichever you want it to default to, like, if you don't choose an option it'll boot to)
 
in terminal (on your ubuntu) type
gksudo gedit /boot/grub/menu.lst

at the bottom type
title Windows XP
root (hd?,?)
makeactive
chainloader +1

replace the ?,? with the corresponding hdd/partition
say if it's on my first harddrive, second partition, it'd be 0,1 (counting starts at 0, so part 1 is 0, partition 2 is 1, and so on)
If you want to make XP your default, simply go back to the gksudo gedit /boot/grub/menu.lst and find 'savedefault' and move it under the XP portion (or the Ubuntu or Vista, whichever you want it to default to, like, if you don't choose an option it'll boot to)


Might I add to that, just don't delete anything.
 
Back
Top