Copying USB stick fails with device errors

Rich rich at lat.com
Fri Jun 8 13:26:22 UTC 2012


On 6/7/2012 8:24 PM, Alex wrote:
> Hi,
> 
>>> I believe the problem is that the filesystem starts at block 4 and not
>>> at the beginning, so mount can't figure out how to mount it.
>>
>> Use an offset, e.g.
>>
>> # mount -o loop,offset=4 ....
> 
> Thanks, I should have thought of that. Alas, it didn't work.
> 
> # mount -o loop,offset=4 -t vfat myusb_sdb.dd /media/desktop/
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>        missing codepage or helper program, or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 

I believe the offset is in bytes, not sectors.  If I'm right, then you need:
mount -o loop,offset=2048 -t vfat myusb_sdb.dd /media/desktop/
-------------- next part --------------

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 9.0.930 / Virus Database: 2433.1.1/5056 - Release Date: 06/08/12 02:39:00


More information about the users mailing list