VirtualBox

Opened 15 years ago

Closed 14 years ago

#4175 closed defect (invalid)

createrawvmdk with Vista x64 --> vmdk size calculation is wrong

Reported by: sven.gamasin Owned by:
Component: virtual disk Version: VirtualBox 2.2.4
Keywords: createrawvmdk, Vista, x64 Cc:
Guest type: Linux Host type: Windows

Description

Hi, the following scenario:

1. list partitions C:\Program Files\Sun\xVM VirtualBox>VBoxManage.exe internalcommands listpartitio ns -rawdisk \.\PhysicalDrive0 VirtualBox Command Line Management Interface Version 2.2.4 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved.

Number Type StartCHS EndCHS Size (MiB) Start (Sect) 1 0x07 0 /32 /33 1023/239/63 65536 2048 2 0x07 1023/254/63 1023/254/63 150107 134223075 3 0x0c 1023/239/63 1023/239/63 22827 441643008

2. create raw partition access with "createrwavmdk" C:\Program Files\Sun\xVM VirtualBox>VBoxManage.exe internalcommands createrawvmd k -filename r:\virtuals\extldata.vmdk -rawdisk \.\PhysicalDrive1 -partitions 3 -register VirtualBox Command Line Management Interface Version 2.2.4 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved.

RAW host disk access VMDK file r:\virtuals\extldata.vmdk created successfully.

Bug: The vmdk disk is now registered in the VirtualBox volume manager, but there is a wrong size. The size should be 22 GB, but it's only 1.9 GB in VirtualBox. I can access the disk from a Guest Linux OS.

Change History (3)

comment:1 by sven.gamasin, 15 years ago

In Linux Guest OS I can access the disk with parted and create an ext3 filesystem, but I cannot mount because filesystem is not valid and mount gives errors.

comment:2 by Frank Mehnert, 15 years ago

Component: othervirtual disk

comment:3 by Klaus Espenlaub, 14 years ago

Resolution: invalid
Status: newclosed

Please reopen if this still happens with VirtualBox 3.0.x or later.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use