- Attach a USB drive with at least enough free space to hold the recover partition.
- Boot using puppy linux
- Mount the USB drive (assuming sdc1 and also assuming the recover partition is sda2
- Create a directory called recover on the usb drive
- Copy the partition using dd: dd if=/dev/sda2 | gzip -c | split -b 2000m - /mnt/sdc1/recover/recover.img.
- Turn off the computer
- Replace the old hard drive with the new one
- Boot again
- Using Gparted (System -> GParted Partition Manager)
- Create 2 partitions
- Make them both ntfs
- Use manage flags to mark the second one 'boot'
- Copy the partition" cat /mnt/sdc1/recover/recover.img* | gzip -dc | dd of=/dev/sda2
- Mount the sda2 drive
- Run ntfsfix /dev/sda2
- Run Grub4Dos
Sunday, August 30, 2015
Alas, the hard drive died and Windows vista no longer boots. How to get it installed on a new hard drive using only the recover partition from the old one.