Originally Posted by
ohnoezitasploded
Has anyone tried this for a setup where both my Vista and Ubuntu install are on a software raid 0 array?
How would I modify the command:
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/WinHD.vmdk -rawdisk /dev/sda -partitions 2 -relative -register
to access a the raid partition?
Well, I figured this part out:
the command for raid arrays will be:
Code:
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/WinHD.vmdk -rawdisk /dev/mapper/<RAID NAME> -partitions <###> -relative -register
where:
<RAID NAME> is the name of your array, found by doing an "ls /dev/mapper/" -- it's the one without any numbers after it.
and <###> is the partition number, which may be found by running:
Code:
VBoxManage internalcommands listpartitions -rawdisk /dev/mapper/<RAID NAME>
Sorry if that's obvious to everyone else, but it wasn't to me. Now I'm stuck at importing the existing vmdk file in VirtualBox OSE, I'm getting the cryptic error message:
Could not open the hard disk '/home/max/.VirtualBox/WinHD.vmdk'.
VD: error opening image file '/home/max/.VirtualBox/WinHD.vmdk' (VERR_ACCESS_DENIED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
HardDisk2
Interface:
IHardDisk2 {ed6e2525-c2fd-42a4-917a-7a9045ac9e15}
Callee:
IVirtualBox {339abca2-f47a-4302-87f5-7bc324e6bbde}
any thoughts on that?
Bookmarks