Page 2 of 2

Re: Out of memory allocating the partition descriptor

Posted: 17. Apr 2009, 18:23
by thenilo
Hello

Is there any solution of this issue?
I have the same problem.

My fdisk -l

Code: Select all

Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1          16      128488+  de  Dell Utility
/dev/sda2   *          17        8940    71680000    7  HPFS/NTFS
/dev/sda3            8940       35712   215040000    7  HPFS/NTFS
/dev/sda4           35713       38913    25712032+   5  Erweiterte
/dev/sda5           38306       38913     4883728+  82  Linux Swap / Solaris
/dev/sda6           35713       37089    11060689+  83  Linux
/dev/sda7           37090       38305     9767488+  83  Linux
My VBoxManage listpartitions

Code: Select all

linux:~$ VBoxManage internalcommands listpartitions -rawdisk /dev/sda
VirtualBox Command Line Management Interface Version 2.0.4_OSE
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)
1       0xde  0   /1  /1   15  /254/63           125           63
2       0x07  16  /16 /1   1023/254/63         70000       258048
3       0x07  1023/254/63  1023/254/63        210000    143618048
6       0x83  1023/254/63  1023/254/63         10801    573713406
7       0x83  1023/254/63  1023/254/63          9538    595834848
5       0x82  1023/254/63  1023/254/63          4769    615369888
My fdisk /x /p

Code: Select all

Befehl (m für Hilfe): x

Expertenkommando (m für Hilfe): p

Festplatte /dev/sda: 255 Köpfe, 63 Sektoren, 38913 Zylinder

Nr AF  Kp Sek  Zyl  Kp Sek  Zyl     Anfang     Größe ID
 1 00   1   1    0 254  63   15         63     256977 de
 2 80  16   1   16 254  63 1023     258048  143360000 07
 3 00 254  63 1023 254  63 1023  143618048  430080000 07
 4 00 254  63 1023 254  63 1023  573713280   51424065 05
 5 00 254  63 1023 254  63 1023   41656608    9767457 82
 6 00 254  63 1023 254  63 1023        125   22121379 83
 7 00 254  63 1023 254  63 1023         63   19534977 83
Thanks for your help.

Re: Out of memory allocating the partition descriptor

Posted: 17. Apr 2009, 18:47
by tytus
I have not been able to find a workaround for this issue.

Re: Out of memory allocating the partition descriptor

Posted: 18. Apr 2009, 00:33
by TerryE
tytus, as I said: there's a bug in the code. I am not sure if there is a workaround with second logical partition such as yours until the Dev team fix the bug. Sorry

Re: Out of memory allocating the partition descriptor

Posted: 18. Apr 2009, 01:22
by tytus
Appreciate your help Terry.

Re: Out of memory allocating the partition descriptor

Posted: 29. Apr 2009, 11:23
by sken
Hi All,
I'm Luca, currently running Debian lenny and Windows xp in dualboo: I just tried to virtualized my Windows XP physical partition, but I got the same error of you (I partioned some times ago and most likely I created and subsequentially deleted extended extended partions).
Any further progress/workaround in resolving this bug?

Thanks in advance

Luca

Re: Out of memory allocating the partition descriptor

Posted: 13. May 2009, 23:54
by drvi
hi,
i'm having the same problem even with 2.2.2 , in Ubuntu 9.04

Code: Select all

$ sudo VBoxManage internalcommands createrawvmdk -filename /home/drvi/.VirtualBox/HardDisks/Windows7.vmdk -rawdisk /dev/sda -partitions 2 -relative -register
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Out of memory allocating the partition descriptor for '/dev/sda'
The raw disk vmdk file was not created

Code: Select all

$ sudo VBoxManage internalcommands listpartitions -rawdisk /dev/sda
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)
1       0x07  0   /1  /1   1023/254/63         14001           63
2       0x07  1023/0  /1   1023/254/63         16300     28676025
8       0x83  1023/254/63  1023/254/63          9216     62059221
6       0x83  1023/254/63  1023/254/63         62259     80935533
7       0x83  1023/254/63  1023/254/63          9224    208443438
5       0x82  1023/254/63  1023/254/63          3467    227335878

Code: Select all

$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x492b8267

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1785    14337981    7  HPFS/NTFS
/dev/sda2            1786        3863    16691535    7  HPFS/NTFS
/dev/sda3            3864       14593    86188725    5  Extended
/dev/sda5           14152       14593     3550333+  82  Linux swap / Solaris
/dev/sda6            5039       12975    63753921   83  Linux
/dev/sda7           12976       14151     9446188+  83  Linux
/dev/sda8            3864        5038     9438124+  83  Linux

Partition table entries are not in disk order

Code: Select all

$ sudo fdisk /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 14593 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0 254  63 1023         63   28675962 07
 2 00   0   1 1023 254  63 1023   28676025   33383070 07
 3 00   0   1 1023 254  63 1023   62059095  172377450 05
 4 00   0   0    0   0   0    0          0          0 00
 5 00 254  63 1023 254  63 1023  165276783    7100667 82
 6 00 254  63 1023 254  63 1023         63  127507842 83
 7 00 254  63 1023 254  63 1023         63   18892377 83
 8 00 254  63 1023 254  63 1023        125   18876249 83
after fixing the partition order

Code: Select all

$ sudo fdisk /dev/sda

Disk /dev/sda: 255 heads, 63 sectors, 14593 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   1   1    0 254  63 1023         63   28675962 07
 2 00   0   1 1023 254  63 1023   28676025   33383070 07
 3 00   0   1 1023 254  63 1023   62059095  172377450 05
 4 00   0   0    0   0   0    0          0          0 00
 5 00 254  63 1023 254  63 1023        126   18876249 83
 6 00 254  63 1023 254  63 1023   18876437  127507842 83
 7 00 254  63 1023 254  63 1023  127507968   18892377 83
 8 00 254  63 1023 254  63 1023   18892503    7100667 82
was hoping to use windows7 from linux , and make full use of the 3D acceleration :(
any solutions yet :?:

Re: Out of memory allocating the partition descriptor

Posted: 14. May 2009, 04:03
by TerryE
drvi wrote:i'm having the same problem even with 2.2.2 , in Ubuntu 9.04
That's because this bug wasn't fixed in 2.2.2
drvi wrote:was hoping to use windows7 from linux , and make full use of the 3D acceleration :( any solutions yet :?:
3D acceleration is an entirely different subject with its own active topic. Please review this topic.

Re: Out of memory allocating the partition descriptor

Posted: 14. May 2009, 05:25
by drvi
TerryE wrote:That's because this bug wasn't fixed in 2.2.2
ok. i thought that it hadnt been reported, for this version , so added a still exists... to this topic
TerryE wrote:3D acceleration is an entirely different subject with its own active topic. Please review this topic.
i understand 3D acceleration , but previously i had separate windows7 installs[1hard disk , 1vbox] , so i had to switch to the hard disk install if i had to use 3d with the programs i had installed on that drive... [i checked XP and the 3D acceleration worked , so thought that i'd use the harddisk install for windows 7 rather than reinstall the 3D dependent programs, so i deleted the vbox Windows7!!! before i executed the command createrawvmdk !hence the irony]

By the way, 3D acceleration ,using the hardware GPU, is a totally awesome feature... hats off to the devs
and the CPU usage has also drastically reduced, 2.2.2 is a good solid build...

Re: Out of memory allocating the partition descriptor

Posted: 16. Jun 2009, 16:03
by klaus
We just found time to look into this. The testcases I had are working correctly now with the code in SVN (will take a bit until it propagates to OSE). Next release will contain the fix, so let us know if there are still odd cases which aren't handled correctly.

Re: Out of memory allocating the partition descriptor

Posted: 16. Jun 2009, 20:05
by TerryE
Thanks klaus. Much appreciated :-)

Re: Out of memory allocating the partition descriptor

Posted: 16. Jun 2009, 21:42
by vbox4me2
Unless his first name is Santa.... hahaha, sorry could not resist it :lol:

Re: Out of memory allocating the partition descriptor

Posted: 19. Jun 2009, 00:11
by tytus
Unfortunately I don't have this setup any more. I repartition my hard disk several weeks ago. I wonder if somebody else can test it...

Re: Out of memory allocating the partition descriptor

Posted: 1. Jul 2009, 17:42
by drvi
klaus wrote: Next release will contain the fix, so let us know if there are still odd cases which aren't handled correctly.
Did you mean the 3.0.0 or yet to be released 2.2.x . if it is fixed in 3.0.0 i can test it out. :)

Re: Out of memory allocating the partition descriptor

Posted: 1. Jul 2009, 19:17
by TerryE
@dvri, Why don't you just look at the announcement :-)
VBoxManage: ?xed incorrect partition table processing when creating VMDK ?les giving raw partition access (bug #3510)

Re: Out of memory allocating the partition descriptor

Posted: 1. Jul 2009, 20:09
by drvi
TerryE wrote:@dvri, Why don't you just look at the announcement :-)
VBoxManage: ?xed incorrect partition table processing when creating VMDK ?les giving raw partition access (bug #3510)
Ah... :oops: thanx

I'll test it out within this week and report back if there are errors .