Drive recovery using Linux??

Andrew Zajac arzajac at
Wed Mar 5 19:09:26 UTC 2008

>  If you are confident that the image you made is intact, you can try
>  working on the physical drive to fix the partition table.  I say this
>  because you imaged the whole device.  You cannot mount the whole
>  device, but only the filesystem on the first partition of the device.
>  I don't know what kind of partition table or filesystem your DVR uses.

BTW, if you think it uses an msdos filesystem, you can try to extract
the first partition from the image you made of sda1 by running

sudo dd if=filename.img of=sda1.img bs=512 skip=63

Then try mounting the sda1.img as a loop filesystem

sudo mount -o loop sda1.img /mnt

Good luck.

More information about the ubuntu-users mailing list