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

Re: cannot mount binary.img of live wheezy



Sorry Ben, it works well now:

2048 x 512 = 1048576

# mount -t vfat -o loop,offset=1048576 binary.img /mnt
#

greetings
Piotr





on Jun 09, 2013, piotr <upiter77@lycos.com> wrote:
>
>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 <synrg@sanctuary.nslug.ns.ca> 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* <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
>>> <mailto:debian-live-request@lists.debian.org>
>>> with a subject of "unsubscribe". Trouble? Contact
>>> listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>
>>> Archive: [🔎] 51B198F8.7080605@sanctuary.nslug.ns.ca">http://lists.debian.org/[🔎] 51B198F8.7080605@sanctuary.nslug.ns.ca
>>> 
>>
>>
>>-- 
>>To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
>>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>>Archive: [🔎] 51B1CAFE.4050703@sanctuary.nslug.ns.ca">http://lists.debian.org/[🔎] 51B1CAFE.4050703@sanctuary.nslug.ns.ca
>>
>>
>
>
>-- 
>To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>Archive: [🔎] 2045945959.28752.1370739506025.JavaMail.mail@webmail01">http://lists.debian.org/[🔎] 2045945959.28752.1370739506025.JavaMail.mail@webmail01
>
>


Reply to: