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

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 19 Aug 2012 22:31:32 +0000

On Aug 19, 2012 6:24 PM, "Ingo Weinhold" <ingo_weinhold@xxxxxx> wrote:
> 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).

Neat!  Is there any reason to not add diskimage to HaikuImage?

--mmadia

Other related posts: