Opened 11 years ago
Closed 8 years ago
#12554 closed defect (obsolete)
Mounting a raw partition located on a USB drive crash VBox on first partition access
Reported by: | jehon | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.6 |
Keywords: | raw usb crash | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description
I have a USB disk with 3 partitions. The first partition is a bootable btrfs partition. The second is a Fat32 system, the third one is encrypted.
I created a virtual disk to map the first partition:
"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename rawusbdrive.vmdk -rawdisk
.\PhysicalDrive1 -partitions 1
I can added that physical drive to the VM. Like a charm.
When I start VB, it load Grub and fail (stop working with a message).
If I start VBox with a CDRom in it, it start correctly.
Other worth noting information: my whole configuration of the virtual machine is located on the same USB disk, on the second partition.
Attachments (1)
Change History (6)
by , 11 years ago
comment:1 by , 11 years ago
comment:2 by , 11 years ago
If I map the whole drive, it goes further.
"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename rawusbdrivew.vmdk -rawdisk
.\PhysicalDrive1
But that seems dangerous to me since the guest will then try to mount partitions 2 and 3, and fail (they are already mounted in windows) -> potential heavy problems.
What would be the correct option?
comment:4 by , 11 years ago
The problem of "extremely slow" has been solved by updating guest additions from 4.2.18 upto 4.3.6.
First good news
comment:5 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
New test: moving the vbox and vmdk files to the main drive did not change anything.
Thought it could help to mention it.