Accessing Physical HD Partitions Error
Posted: 19. Sep 2008, 22:41
I am trying to create a .vmdk file that points to partitions on my drive. Vboxmanage is able to list the partitions but I get an error message when I generate the vmdk file:
I tried to link to ANY partition but i get this error.
Funny thing: The same thing worked yesterday before I repartitioned my Drive. Before I had 2 primary partitions, now i have 3 primary, 1 extended (2 logical inside)
Can someone point out or speculate why it lists my partitions but can't read the partition data when I use the createrawvmdk command? Thanks in advance.
Win XP host system.
partitions:
1:NTFS
2:hfs+
4:ext3
6:linux swap
5:ext2
Repartitioning was done with Gparted
Code: Select all
C:\Programme\Sun\xVM VirtualBox>vboxmanage internalcommands listpartitions -rawdisk \\.\PhysicalDrive0
VirtualBox Command Line Management Interface Version 2.0.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x07 0 /1 /1 1023/254/63 165199 63
2 0xaf 1023/254/63 1023/254/63 38475 338328900
4 0x83 1023/254/63 1023/254/63 19406 417127725
6 0x82 1023/254/63 1023/254/63 1051 456872661
5 0x83 1023/254/63 1023/254/63 14339 459025308
C:\Programme\Sun\xVM VirtualBox>vboxmanage internalcommands createrawvmdk -filename linuxpart.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 4,6
VirtualBox Command Line Management Interface Version 2.0.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Cannot read partition data from raw device '\\.\PhysicalDrive0': VERR_NO_MEMORY
The raw disk vmdk file was not created
Funny thing: The same thing worked yesterday before I repartitioned my Drive. Before I had 2 primary partitions, now i have 3 primary, 1 extended (2 logical inside)
Can someone point out or speculate why it lists my partitions but can't read the partition data when I use the createrawvmdk command? Thanks in advance.
Win XP host system.
partitions:
1:NTFS
2:hfs+
4:ext3
6:linux swap
5:ext2
Repartitioning was done with Gparted