[ previous ] [ next ] [ threads ]
 From:  Joey Morin <joeymorin at gmail dot com>
 To:  m0n0wall <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: mounting 1.3 generic pc image under linux (mount -o loop,ufstype=44bsd -t ufs DOES NOT WORK FOR 1.3)
 Date:  Mon, 28 Dec 2009 03:10:58 -0500
i wrote a little script:

until mount -o offset=$offset $@ > /dev/null 2>&1 ; do
  printf "offset=%d failed\r" $offset
printf "Successful mount at offset=%d\n" $offset

with it i was able to determine that i could mount the 1.3 image with an
offset of 8192

hope this helps anyone else trying to accomplish the same thing...


On Mon, Dec 28, 2009 at 1:51 AM, Joey Morin <joeymorin at gmail dot com> wrote:

> i've been trying to mount the generic-pc-1.3.img under linux as per:
> mount -o loop,ufstype=44bsd -t ufs generic-pc-1.3 /mnt/m0n0
> i've experienced the same problems as the users in the above link.  bad
> magic number.
> i poked around quite a bit, tried different versions of linux (ubuntu,
> insert) and the result is the same.
> years ago, i had succeded in mounting the image under slackware using the
> above technique.
> on a hunch i tried the same with 1.2... works just fine!
> so looks like the problem is that something has changed between 1.2 and 1.3
> anyone have any idea how to mount the 1.3 image?
> jj