[nmglug] Check a disk?

Nick Frost nickf at frostitute.com
Mon Mar 25 16:41:09 PDT 2013


On 03/25/2013 05:34 PM, Nick Frost wrote:

> if a successful image is made with ddrescue the image can be loop
> mounted on a Linux box and read that way:
> 
> mount -o loop /mnt0/rescued-image.img /mnt1

I neglected to mention that if you want to mount a partition other than
the first one in an image an offset may need to be specified when loop
mounting;

http://wiki.edseek.com/guide:mount_loopback

mount -o loop,offset=32256 -t ext3 /mnt0/rescued-image.img /mnt1

the same applies to non-ext3 file systems (NTFS), etc.


-- 
---------------------------------------
Nicholas S. Frost
7 Avenida Vista Grande #325
Santa Fe, NM  87508
nickf at frostitute.com
http://www.datamender.com/
----------------------------------------



More information about the nmglug mailing list