I have a 500GB external HDD that I need to rescue the contents of. Unfortunately I only have two 400GB partitions to save the contents to. Can I split the disk image as:
~$ cd /mnt/part1/Recovery/
/mnt/part1/Recovery/$ ddrescue -f -n -i0 -s250...00 /dev/disk disk.part1.ddraw disk.part1.log
/mnt/part1/Recovery/$ cd /mnt/part2/Recovery/
/mnt/part2/Recovery/$ ddrescue -f -n -i250...00 /dev/disk disk.part2.ddraw disk.part2.log
(values of numbers are missing a few zeros for convenience). That is, can I just use the -i
and -s
flags to split the disk image into two parts manually?
Secondly, is there a way I can mount the two parts of the image as one?
dmsetup
command failed with the message "Invalid format on line 1 of table on stdin", which is the line$(s /dev/loop1) linear /dev/loop1 0
. A quick look at the man page suggests two numbers before thelinear
command word. I take it the replacement line should be0 $(s /dev/loop1) linear /dev/loop1 0
? – Zorawar Nov 27 '12 at 22:16