VirtualBox

Ticket #9723 (new defect)

Opened 3 years ago

same disk boots with fullDevice, but not with partitionedDevice

Reported by: attila.lendvai Owned by:
Priority: major Component: virtual disk
Version: VirtualBox 4.1.2 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

i've recently started to use vbox with debian stable, don't remember which version, and then switched to debian unstabe because of unsupported hw. with that vbox got upgraded to 4.1.2_Debian r38459

what i'm doing and what used to work before this:

  • i boot/attach the physical disk to the guest
  • to avoid screwing up the boot fs, i replace its FLAT entry to ZERO in the vmdk file

after the upgrade it stopped working: grub hangs before it could bring up the menu. so, while searching for a workaround, i switched to using the whole disk, and then everything works fine. but just now i f*d up my hypervisor, because vbox opened a warning window and grabbed my keyboard and i couldn't get to grub within the default 5 secs, and it booted the already booted linux... ARGH!

the command i use to create the virtual disk: VBoxManage internalcommands createrawvmdk -filename /opt/virtualbox-images/sda.vmdk -rawdisk /dev/disk/by-id/ata-KINGSTON_SNVP325S2256GB_30LS10FHT74Z -partitions 1,2,3,5,6,7

i'm attaching my current, edited version of the vmdk, but the same happens with the original, unedited one.

one unusual thing is that my partitions in the partition table are not in disk layout order.

Attachments

sda.vmdk Download (1.3 KB) - added by attila.lendvai 3 years ago.
my edited vmdk

Change History

Changed 3 years ago by attila.lendvai

my edited vmdk

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use