PDA

View Full Version : [ubuntu] Creating grub



elliotn
March 1st, 2009, 12:58 PM
How can I create a Dual boot as i have 2 harddisk, one has Ubuntu 8.10 and the other has win xp, they dont dual boot and I have uo always change in the BIOS to choose the needed OS, HOW can i create grub to load both without formating or reinstalling

lha
March 1st, 2009, 06:53 PM
Set bios to boot from Ubuntu drive and add the following lines to the end of your /boot/grub/menu.lst:


title Windows XP
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1

elliotn
March 1st, 2009, 07:48 PM
Thanks m8 gotta try that.

elliotn
March 1st, 2009, 08:57 PM
It aint working, do i add it on the bottom of everything or what

lha
March 2nd, 2009, 06:47 PM
It aint working, do i add it on the bottom of everything or what

Yes, you add it in the bottom. What error(s) are you getting?