On 06/06/13 07:31 PM, piotr wrote:
> I get this problem:
>  
> # mount -t vfat -o loop,offset=512 binary.img /mnt
> 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

The offset isn't always 512:

/sbin/fdisk -ul binary.img

Pay attention to sector size. Multiply start by sector size to get the
offset.

Ben


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to