Copy a functional recovery partition to a new hard disk
Posted by Russ Richards on 08 September 2014 08:40 AM

This method was created on a HP laptop, but can be adjusted for many other systems:

  1. Install the new hard disk in the laptop.
  2. Install the old hard disk in an external enclosure and connect to the computer.
  3. Boot the laptop with the Ubuntu live CD (10.10 in this case)
  4. Open a Terminal window
  5. Confirm the new empty drive is /dev/sda and the old drive is /dev/sdb. Confirm the recovery partition is/dev/sdb2.
  6. Type: dd if=/dev/sdb of=/dev/sda bs=512 count=1 to copy the exact partition table and MBR (Master Boot Record) to your new drive.
  7. Next type: partprobe to re-read the partition tables.
  8. Finally type: dd if=/dev/sdb2 of=/dev/sda2 bs=1M to copy the entire second partition containing the recovery software to the newly created partition.
  9. Reboot
  10. Run the recovery software as if you were using the original drive. (Pressing F11 on HP systems.)
  11. Once the recovery is completed, resize the partition to full size of the drive.

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).