Raw partion reporting wrong size
Posted: 2. Oct 2008, 06:22
This is my setup:
I have a 160GB system drive that is split into three partitions:
75 GB : Windows Vista 64
75 GB : Ubuntu 7.04 64
10 GB : swap for Ubuntu
I'm in the process of trying to configure Vista as my host OS while virtualizing the Ubuntu installed on the second partition. I have followed the direction in the User Manual using the following commands:
This part seems to work just fine.
I then open the VirtualBox GUI and access the Virtual Disk Manager. I use 'Add' to add my newly created .vmdk file. I choose the file and an entry appears in the HardDisk listbox.
Name: Bagheera.vmdk
Virtual Size: 152.74
Actual Size: 703B
Should not the virtual size equal the size of the partition? I am hesitant to try to start this VM because I am worried it may write on my other partitions.
I have a 160GB system drive that is split into three partitions:
75 GB : Windows Vista 64
75 GB : Ubuntu 7.04 64
10 GB : swap for Ubuntu
I'm in the process of trying to configure Vista as my host OS while virtualizing the Ubuntu installed on the second partition. I have followed the direction in the User Manual using the following commands:
Code: Select all
C:\Users\nbales\.VirtualBox\Machines\Bagheera>"C:\Program Files\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 /32 /33 1023/254/63 77824 2048
2 0x83 1023/254/63 1023/254/63 73233 159396930
3 0x82 1023/254/63 1023/254/63 6000 309379770
C:\Users\nbales\.VirtualBox\Machines\Bagheera>"C:\Program Files\Sun\xVM VirtualBox\VBoxManage" internalcommands createrawvmdk -filename Bagheera.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 2,3
VirtualBox Command Line Management Interface Version 2.0.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
RAW host disk access VMDK file Bagheera.vmdk created successfully.I then open the VirtualBox GUI and access the Virtual Disk Manager. I use 'Add' to add my newly created .vmdk file. I choose the file and an entry appears in the HardDisk listbox.
Name: Bagheera.vmdk
Virtual Size: 152.74
Actual Size: 703B
Should not the virtual size equal the size of the partition? I am hesitant to try to start this VM because I am worried it may write on my other partitions.