David Balazic wrote:
>> With vditool you can create a VirtualBox disk image from a real disk, e.g.
>>
>> vditool dd /path/to/another/disk/or/server/Virtualbox.vdi /dev/hda
> 
>  
> You did not read it correctly.
> You can not make a VDI hard disk image from a partition, but from a ... hard 
> disk (or its 1:1 image file).

Yes, you can only convert full disk images (not individual partitions) 
to VDI. The whole thing is a bit more complicated actually. The size 0 
error is due to vditool not being able to read directly from a device. 
vditool can only convert from a raw image file to a VDI file. So you 
have to create a full raw disk image file first.

Will be better in 1.4 (no need to download vditool, the conversion is 
part of VBoxManage then, and if you specify the size it can read 
directly from a device). Also 1.4 will support raw disk/raw partition 
access (which is of course much more dangerous, as it directly modifies 
the host disk).

-- 
Klaus Espenlaub     InnoTek Systemberatung GmbH, http://www.innotek.de

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to