[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-ddrescue] Merging individual partition image in to whole disk image

From: Paul Daniels
Subject: [Bug-ddrescue] Merging individual partition image in to whole disk image
Date: Thu, 29 Jun 2017 18:11:20 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

I've got a drive that's being quite difficult. Initially I started reading the whole device (/dev/sdc) but due to the rapidly failing nature after I had pulled the first lot of data off I decided to try attack /dev/sdc2 directly (which is the Windows partition with the data).

Anyhow, due to changing my mind a bit, I now have two partial images and I wish to merge them and then continue on with reading the *whole* drive again; the drive now has lost the ability to read the partition table ( don't bother telling me to send it to a cleanroom, I've already been over this with the client, they don't want to spend the $, they just want to see what they can get off with software recovery ).

I have img and log  ( ddrescue -v -f -O -P16 /dev/sdc img log )
...and I have img-sdc2 and log-sdc2 ( ddrescue -v -f -O -P16 /dev/sdc2 img-sdc2 log-sdc2 )

There's some degree of overlap; about 50GB of data in the img-sdc2 that hasn't been (yet) picked up in 'img'.

Here's the main image.
Disk /dev/loop0: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc1735e81

Device       Boot     Start        End   Sectors   Size Id Type
/dev/loop0p1 2048 52430847 52428800 25G 1c Hidden W95 FAT32 (LBA)
/dev/loop0p2 *     52430848  681576447 629145600   300G  7 HPFS/NTFS/exFAT
/dev/loop0p3      681576448 1465145343 783568896 373.7G  f W95 Ext'd (LBA)
/dev/loop0p5      681578496 1465145343 783566848 373.6G  7 HPFS/NTFS/exFAT

So, in summary, how can I merge what is recovered in img-sdc2 in to img ?

Regards, Paul.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]