Fortunately you can reinstall a Windows MBR to your internal Windows drive from Ubuntu. Just open a terminal (Applications > Accessories > Terminal), and do:
Code:
sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
Next, you'll want to install Grub to the MBR of your external drive:
Code:
sudo grub
grub> find /boot/grub/stage1
grub> find /grub/stage1
One of the above commands should return your main Ubuntu partition (or /boot partition if you have one) in the form of (hdX,Y) where X and Y are numbers, for example (hd1,0), but use whatever it returns as follows:
Code:
grub> root (hdX,Y)
grub> setup (hdX)
grub> quit
Then reboot, set your BIOS to boot your external drive, and you should get the Grub menu. If you set your BIOS to boot the internal drive, you should be able to go straight into Windows. Also, if you want to boot Windows from the Grub menu, then first open your menu.lst:
Code:
gksudo gedit /boot/grub/menu.lst
And add the following entry at the very bottom (or replace any existing Windows entry you might all ready have):
Code:
title Windows XP
rootnoverify (hd1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
And if all goes well, you should be all set. Let me know how it goes or if you run into problems.
Bookmarks