Hi Ben Can you help me pls, to find out a correct offset value of binary.img created on wheezy?
BTW I didn't have any problems with binary.img created on squeeze, using always offset=512. greetings Piotr on Jun 07, 2013, Ben Armstrong <[email protected]> wrote: > >follow instructions. multiply start by sector size. > >On 07/06/13 08:26 AM, piotr wrote: >> 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* <[email protected]> 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 [email protected] >> <mailto:[email protected]> >> with a subject of "unsubscribe". Trouble? Contact >> [email protected] <mailto:[email protected]> >> Archive: http://lists.debian.org/[email protected] >> > > >-- >To UNSUBSCRIBE, email to [email protected] >with a subject of "unsubscribe". Trouble? Contact [email protected] >Archive: http://lists.debian.org/[email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/2045945959.28752.1370739506025.JavaMail.mail@webmail01
