VirtualBox

Ticket #4175 (closed defect: invalid)

Opened 5 years ago

Last modified 4 years ago

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

Reported by: sven.gamasin Owned by:
Priority: major 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

comment:1 Changed 5 years ago by sven.gamasin

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 Changed 5 years ago by frank

  • Component changed from other to virtual disk

comment:3 Changed 4 years ago by klaus

  • Status changed from new to closed
  • Resolution set to invalid

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

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use