[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot mount binary.img of live wheezy



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


Reply to: