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

Re: cannot mount binary.img of live wheezy



I get the following output:
 
# /sbin/fdisk -ul binary.img
You must set cylinders.
You can do this from the extra functions menu.

binary.img: 0 MB, 0 bytes
4 heads, 32 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b0e9b

     Device Boot      Start         End      Blocks   Id  System
DKB_A1.img1   *        2048     1114111      556032   83  Linux
Partition 1 has different physical/logical endings:
     phys=(1023, 3, 32) logical=(8703, 3, 32)

but still doesn't work:
 
# mount -t vfat -o loop,offset=2048 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

 
 
 
 
 
on Jun 07, 2013, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:
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 debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 51B198F8.7080605@sanctuary.nslug.ns.ca" target="_blank">http://lists.debian.org/[🔎] 51B198F8.7080605@sanctuary.nslug.ns.ca


Reply to: