Fix windows XP MBR with Ubuntu Live CD
After I recovered a Windows XP partition with Acronis, I followed this posting to restore the MBR which previously had a GRUB loader from a dual-boot Ubuntu installation.
It worked perfectly however you have to download the ms-sys and manually install it from:
http://packages.ubuntu.com/gutsy/ms-sys
sudo fdisk -l
This gives you a list of partitions. Using the info from the windows partition you want to boot into execute the following, be sure not to include the number.
sudo ms-sys -m /dev/sda
Now reboot and windows should load.
It worked perfectly however you have to download the ms-sys and manually install it from:
http://packages.ubuntu.com/gutsy/ms-sys
sudo fdisk -l
This gives you a list of partitions. Using the info from the windows partition you want to boot into execute the following, be sure not to include the number.
sudo ms-sys -m /dev/sda
Now reboot and windows should load.
Comments