VirtualBox doesn't see raw partitions

Posted by smbear on Super User See other posts from Super User or by smbear
Published on 2012-06-06T16:00:56Z Indexed on 2012/06/06 16:43 UTC
Read the original article Hit count: 224

Filed under:
|

What I want to achieve is to set up virtual machine with VirtualBox. Host OS is Windows 7 Home Premium, guest will be (k)Ubuntu 12.04 on a raw partition.

The first problem is that when I issue following command:

VBoxManage.exe internalcommands listpartitions -rawdisk \\.\PhysicalDrive0

I get following result:

Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)
1       0xee  0   /0  /1   1023/254/63        715404            1

I'm guessing that VirtualBox is unable to see my partitions.

If I use diskpart tool, then all partitions are listed correctly (note Polish language version of Windows):

DISKPART> select disk 0

Obecnie wybranym dyskiem jest dysk 0.

DISKPART> list partition

  Partycja ###   Typ               Rozmiar  Przesuniecie
  -------------  ----------------  -------  ------------
  Partycja 1    System             200 MB  1024 KB
  Partycja 2    Zarezerwowany      128 MB   201 MB
  Partycja 3    Podstawowy         139 GB   329 MB
  Partycja 5    Nieznany          4883 KB   140 GB
  Partycja 6    Podstawowy          50 GB   140 GB
  Partycja 7    Podstawowy         484 GB   190 GB
  Partycja 4    Odzyskiwanie        24 GB   674 GB

Additional note: my PC is using EFI to boot OS.

Basing on the results listed above, I believe that:

  • I messed up with my partition table.
  • Something is wrong with VirtualBox.

Can anyone help with this issue?

© Super User or respective owner

Related posts about windows-7

Related posts about virtualbox