hello,

i am having problems getting a raw image to work:

1st try:
:~ $ sudo VBoxManage internalcommands createrawvmdk -filename 
.VirtualBox/VDI/oldXP.vmdk -rawdisk  /dev/hdc -relative -register
VirtualBox Command Line Management Interface Version 1.5.0
(C) 2005-2007 innotek GmbH
All rights reserved.

RAW host disk access VMDK file .VirtualBox/VDI/oldXP.vmdk created 
successfully.
[!] FAILED calling aVirtualBox->RegisterHardDisk(hardDisk) at line 644!
[!] Primary RC  = 0x80004005
[!] Full error info present: true , basic error info present: true
[!] Result Code = 0x80004005
[!] Text        = Assertion failed: [mId && children().size() == 0] at 
'/home/vbox/vbox-1.5.0/src/VBox/Main/HardDiskImpl.cpp' (536) in virtual 
nsresult HardDisk::trySetRegistered(PRBool).
Please contact the product vendor!
[!] Component   = HardDisk, Interface: IHardDisk, 
{fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee      = IVirtualBox, {76b25f3c-15d4-4785-a9d3-adc6a462beec}



2nd try:
:~ $ sudo VBoxManage internalcommands createrawvmdk -filename 
.VirtualBox/VDI/oldXP.vmdk -rawdisk  /dev/hdc -relative -partitions 1 
-register
VirtualBox Command Line Management Interface Version 1.5.0
(C) 2005-2007 innotek GmbH
All rights reserved.

RAW host disk access VMDK file .VirtualBox/VDI/oldXP.vmdk created 
successfully.
[!] FAILED calling aVirtualBox->RegisterHardDisk(hardDisk) at line 644!
[!] Primary RC  = 0x80004005
[!] Full error info present: true , basic error info present: true
[!] Result Code = 0x80004005
[!] Text        = Assertion failed: [mId && children().size() == 0] at 
'/home/vbox/vbox-1.5.0/src/VBox/Main/HardDiskImpl.cpp' (536) in virtual 
nsresult HardDisk::trySetRegistered(PRBool).
Please contact the product vendor!
[!] Component   = HardDisk, Interface: IHardDisk, 
{fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee      = IVirtualBox, {76b25f3c-15d4-4785-a9d3-adc6a462beec}

(don't know what the -rative switch does but i tried without it...)


the disk has only one partition - it is neither mounted nor does it 
contain any parts of the system. permissions of /dev/hdc* - for the time 
being - are set to 666.

:~ $ fdisk -l /dev/hdc

Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1   *         1     19457 156288321    7  HPFS/NTFS

:~ $ ls -la /dev/hdc*
brw-rw-rw- 1 root root 22, 0 2007-10-05 23:56 /dev/hdc
brw-rw-rw- 1 root root 22, 1 2007-10-05 23:56 /dev/hdc1

:~ $ VBoxManage -v
1.5.0r24069

on a debian etch/lenny system with (debian) kernel 2.6.18-5-686


any ideas?
regards,
egon


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

Reply via email to