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

  • From: luroh <lurohh@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 19 Aug 2012 22:08:52 +0200

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

- luroh

Other related posts: