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

Re: mount foo.img problem



On Saturday 07 February 2009 16:24:51 Thomas H. George wrote:
> On Sat, Feb 07, 2009 at 03:28:20PM -0600, Boyd Stephen Smith Jr. wrote:
> > On Saturday 07 February 2009 13:37:46 Thomas H. George wrote:
> > > On Sat, Feb 07, 2009 at 10:44:47AM -0600, Boyd Stephen Smith Jr. wrote:
> > > > On Saturday 07 February 2009 10:31:17 Thomas H. George wrote:
> > > > Could you run "file debxo-awesome.ext3.img" can provide the output?
> > > dragon:/data/olpc# file debxo-awesome.ext3.img
> > > debxo-awesome.ext3.img: x86 boot sector; partition 1: ID=0x83, active,
> > > starthead 1, startsector 32, 3848160 sectors dragon:/data/olpc# exit
> > It looks like it is a whole-disk image -- the first part of it appears to
> > be an MBR.  I think you only need to skip 512 bytes... could
> > you try: tail -c +513 debxo-awesome.ext3.img | file -
> > and see if that reports that it found an ext3 filesystem.
> dragon:/data/olpc# tail -c +513 debxo-awesome.ext3.img | file -
> /dev/stdin: GRand Unified Bootloader stage1_5 version 3.2, identifier 0x2,
> GRUB version 0.97, configuration file \377 dragon:/data/olpc# exit

Still probably not the beginning of a ext3 filesystem.

The idea to fdisk the image is not bad.  You might try:
fdisk -l debxo-awesome.ext3.img
To attempt to find the beginning of the ext3 filesystem.

> Script started on Sat 07 Feb 2009 05:20:59 PM EST
> dragon:/data/olpc# mount -o loop.offset=512 -t ext3 debxo-awesome.ext3.img
                                  ^
The '.' should be a ','.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: