PDA

View Full Version : [ubuntu] how to have 2 windows on grub



angelo05328390
February 5th, 2010, 03:07 PM
my laptop got broken... so i extracted my hard drive to use as an external ...

the problem is the computer i am using has windows xp on it... and my external has also a windows xp, ubuntu and kubuntu...

i need to have the xp from my external running because i use it for .net development...
any idea how i can have 2 windows on grub with root (h0,0) and (h1,0)...
my ubuntu is (h1,6) and kubuntu is (h1,3).



thanks..... any reply is highly appreciated...

darkod
February 5th, 2010, 03:15 PM
If you are running grub1 just make another win xp entry in /boot/grub/menu.lst

If you are running grub2, executing sudo update-grub should detect it.

Leppie
February 5th, 2010, 04:49 PM
if the external drive wasn't attached to the system when grub2 was installed, you may have to recreate the device map before running update-grub:

sudo grub-mkdevicemap
sudo update-grub