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)
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
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 <[email protected]> wrote:
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/1689926593.39782.1370604379001.JavaMail.mail@webmail08
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]
