[vbox-dev] Linux VHD Boot available - download and boot your physical pc, also runs as vm

François Revol revol at free.fr
Sat Apr 10 16:24:58 GMT 2010


Le Sat, 10 Apr 2010 09:01:37 -0700 (PDT), Huihong Luo a écrit :
> That should be doable. I am not familar with Haiku, but I guess it 
> should
>  have something like Linux's loop module? our virtual disk driver is
>  something like the loop module, by mounting a vhd file, and acts as 
> a dsik.
> 

Haiku can mount regular files directly as raw partitions, and the boot 
partition is mounted as /boot on a virtual rootfs anyway, though it 
won't work for vmdk files which aren't a plain image of the 
partition...

BeOS had an fmap driver which used block lists in the partition the 
image was, passed from the bootloader, to access it directly (without 
having to mount the containing filesystem). I started implementing a 
similar driver in Haiku but never finished.

Something alike could be done, either as a vmdkloop driver publishing a 
device directly or as a partition_module which the device manager uses 
to then publish entries in /dev/disk/.

François.




More information about the vbox-dev mailing list