I have host system running CentOS 6..3 with VirtualBox 4.1.18. All disks on this system have GUID Partition Table (GPT) disk labels. When I run VBoxManage internalcommands listpartitions -rawdisk /dev/sdc I get output that does not reflect actual partitions on the disk. Here is an example:
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0xee 0 /0 /1 1023/254/63 953869 1
That drive actually has three partitions on it plus free space. I have tried the listpartitions command on another system that uses DOS type partition tables, and it shows the partitions. I would like to create a raw disk vmdk on this system, but it appears that this version of VirtualBox does not support GPT disk labels. Is there something I am missing? If not, is there a plan/timeline on support for GPT labels?
Thanks for your help.
Linus
GUID partition table supported with raw disk?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: GUID partition table supported with raw disk?
As far as I know, VirtualBox only supports MBR disks.
As to future plans, the devteam usually don't discuss them.
As to future plans, the devteam usually don't discuss them.
-
ChipMcK
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, OSX
- Location: U S of A
Re: GUID partition table supported with raw disk?
Is the disk connected via FireWire instead of USB?
-
linus100
- Posts: 10
- Joined: 2. Aug 2012, 20:55
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Windows, Linux, Solaris
Re: GUID partition table supported with raw disk?
Neither of those. It is SATA.ChipMcK wrote:Is the disk connected via FireWire instead of USB?
-
nuttello
- Posts: 3
- Joined: 5. Feb 2010, 17:24
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 7
Re: GUID partition table supported with raw disk?
I'm also trying to get this to work on my end. Doing a list partitions on the rawdisk gives me this..
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x00 0 /0 /0 0 /0 /0 200 2048
2 0x00 0 /0 /0 0 /0 /0 128 411648
3 0x00 0 /0 /0 0 /0 /0 55000 673792
4 0x00 0 /0 /0 0 /0 /0 200 113313792
Which looks like the only info listpartitions managed to get is the size and starting sectors.
Anything else regarding the physical information (cylinder/heads/sectors/partition type) is not showing up at all.
Maybe we might need to wait for an update.
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x00 0 /0 /0 0 /0 /0 200 2048
2 0x00 0 /0 /0 0 /0 /0 128 411648
3 0x00 0 /0 /0 0 /0 /0 55000 673792
4 0x00 0 /0 /0 0 /0 /0 200 113313792
Which looks like the only info listpartitions managed to get is the size and starting sectors.
Anything else regarding the physical information (cylinder/heads/sectors/partition type) is not showing up at all.
Maybe we might need to wait for an update.
-
linus100
- Posts: 10
- Joined: 2. Aug 2012, 20:55
- Primary OS: Fedora other
- VBox Version: OSE Fedora
- Guest OSses: Windows, Linux, Solaris
Re: GUID partition table supported with raw disk?
Well... GPT doesn't use C/H/S addressing. If you look at what information is recorded in the partition record, it has starting sector and number of sectors, so this certainly looks more promising. The partition it used to show was the "Protective" partition, but now at least it appears to recognize it as a GPT label. At first glance, it appears to be showing accurate information on my disks. I'm using 4.2.6 r82870 now. Thanks for posting the update.