VirtualBox

Opened 15 years ago

Closed 15 years ago

#2778 closed defect (fixed)

Regression: raw disks/partitions on SATA no longer recognized -> fixed in SVN

Reported by: Holger Hoffstätte Owned by:
Component: other Version: VirtualBox 2.1.0
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

I was very happy that vBox 2.0.x managed to boot a Linux guest (on a Windows XP host) off of a raw partition mapped to a .vmdk attached to a native Windows SATA controller (I run my SATA drive in native mode with the Intel drivers, not IDE emulation). I mapped the entire disk of my dual-boot laptop (as described in the "advanced" section of the docs), registered the disk image and could boot into grub and subsequently Linux - no problems. This does not work in vBox 2.1 any longer; the guest VM dies even before the "BIOS" screen is shown. It does not crash when SATA is enabled but no disks are attached, probably because the controller is simply not used. Switching the attached disk to use an IDE adapter lets 2.1 boot into grub & the guest kernel (so things basically work!), but mounting / subsequently fails because fstab wants to access /dev/sdX. I also tried to recreate the virtual raw disk with 2.1 (hoping it was just a format incompatibility), but the same symptom occurs.

Attachments (2)

hho-linux-2008-12-17-21-49-02.log (32.1 KB ) - added by Holger Hoffstätte 15 years ago.
vBox log of crash with raw disk on SATA
hho-linux.vmdk (638 bytes ) - added by Holger Hoffstätte 15 years ago.
VMDK that maps the full physical disk and worked with vBox 2.0.x

Download all attachments as: .zip

Change History (8)

by Holger Hoffstätte, 15 years ago

vBox log of crash with raw disk on SATA

comment:1 by aeichner, 15 years ago

Can you attach the raw vmdk please?

by Holger Hoffstätte, 15 years ago

Attachment: hho-linux.vmdk added

VMDK that maps the full physical disk and worked with vBox 2.0.x

comment:2 by Holger Hoffstätte, 15 years ago

VMDK attached; thanks for looking into this.

comment:3 by aeichner, 15 years ago

Fixed in the next release. As a workaround you can do the following:

VBoxManage.exe setextradata "Your VM" "VBoxInternal/Devices/ahci/0/Config/UseAsyncInterfaceIfAvailable" 0

This should make raw VMDK's work with 2.1.0 Thanks for the report and sorry for the inconveniences.

comment:4 by Holger Hoffstätte, 15 years ago

Thanks you for the suggestion - unfortunately it does not work. I tried both the VM name and "global" as values but neither did the trick. The error seems to be the same.

comment:5 by Sander van Leeuwen, 15 years ago

Summary: Regression: raw disks/partitions on SATA no longer recognizedRegression: raw disks/partitions on SATA no longer recognized -> fixed in SVN

comment:6 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use