Drive recovery using Linux??
Nils Kassube
kassube at gmx.net
Wed Mar 5 19:59:38 UTC 2008
Andrew Zajac wrote:
> 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
As an alternative you could skip the extract part and just use
sudo mount -oloop,offset=32256 filename.img /mnt
That way you don't need (nearly) double the space of the image on your
hard disk. OTOH, maybe there really is no partition table and the whole
disk was used or the disk layout is even more obscure. Therefore you
could try any offset value in multiples of 512.
Nils
More information about the ubuntu-users
mailing list