|
From: | Scott Dwyer |
Subject: | Re: [Bug-ddrescue] How to restore just a single partition of a multi-partition image file? |
Date: | Wed, 23 Jan 2019 09:45:08 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 1/23/2019 9:30 AM, Antonio Diaz Diaz wrote:
There is also another way, more safe.Create an empty/raw partition on the free space of your disk. You may use fdisk etc. Its size must be (better) equal to or (safe, but not recommended) greater than the size of needed partition in the disk-image-file. List the partition table again using fdisk:sudo fdisk /dev/sda and remember the partition name (let's assume it is /dev/sda7) Then use ddrescue:sudo ddrescue /path/fulldrive.img /dev/sda7 ~/200g-copy --ask -f -i206848s -s400000000s
Don't you need to add -o0 to this command to set the output offset in the destination partition to zero?
[Prev in Thread] | Current Thread | [Next in Thread] |