[haiku-development] Re: R1a4: just Anyboot and VMDK?

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2012 00:23:56 +0200

luroh wrote:
> On Sun, Aug 19, 2012 at 9:51 PM, Pete Goodeve <pete.goodeve@xxxxxxxxxxxx> 
> wrote:
> 
> > What about Raw Image? I hope that's going to be kept around
> > as it's often the most convenient form for me. It's the only one
> > (that I know) that I can mount as a filesystem, and use that to
> > install on another partition without going through a USB-stick or CD.
> 
> For an advanced use case like that, it is possible to extract a raw
> image from an anyboot image:
> 
> dd if=haiku-anyboot.image of=haiku.image bs=1M skip=$(expr $(od -j 454
> -N 4 -i -A n haiku-anyboot.image) / 2048)
> dd if=/dev/zero of=haiku.image bs=1 seek=506 count=4 conv=notrunc

As an alternative: There is the tool "diskimage" in our repository (though not 
on the image by default) which allows to register a file as disk. The contained 
partitioning system will then be recognized and contained file systems can be 
mounted as usual (e.g. via Tracker).

CU, Ingo

Other related posts: