VirtualBox

Ticket #6572 (new defect)

Opened 4 years ago

Last modified 4 years ago

Able to add two identical DVD images, resulting in inaccessible VM with no error message

Reported by: Jamie Jackson Owned by:
Priority: major Component: DVD
Version: VirtualBox 3.1.6 Keywords: Inaccessible Blank Error
Cc: Guest type: Windows
Host type: Linux

Description

Somehow, I was able to get into a situation where I had two identical attached CD images. This resulted in an "inaccessible" VM, with *no* error message to guide me to the problem/fix.

I was managing the VM via the GUI.

Here is the offending config snippet:

      <StorageController name="IDE Controller" type="PIIX4" PortCount="2">
        <AttachedDevice passthrough="false" type="DVD" port="0" device="0">
          <Image uuid="{aa281874-fdb0-421e-2194-7d0a4816598f}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="false" type="DVD" port="0" device="1">
          <Image uuid="{aa281874-fdb0-421e-2194-7d0a4816598f}"/>
        </AttachedDevice>
      </StorageController>

This corresponds to the vbox guest additions DVD image:

  <Image uuid="{aa281874-fdb0-421e-2194-7d0a4816598f}" location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>

I'm not completely sure what I did to get in this situation, and don't have time to reproduce it, but here's what I think was the sequence.

  1. Removed IDE and floppy controller, and started XP VM (with just the sata controller/vdi).
  2. Shut down VM.
  3. Added IDE controller, with the "Host Drive" first, and the vbox guest additions image second. Also added floppy controller with a floppy image.
  4. Started VM and clicked "install guest additions" via the menu.
  5. Shut down VM.
  6. Shut down/restarted GUI?
  7. GUI showed the inaccessible VM, with no error in the error box.

Removing both duplicate attached devices from the XML config yielded an accessible VM, and I was back in business.

Attachments

VirtualBox.bak.xml Download (6.7 KB) - added by Jamie Jackson 4 years ago.
VM Config with Duplicate Attached DVD Images

Change History

Changed 4 years ago by Jamie Jackson

VM Config with Duplicate Attached DVD Images

comment:1 Changed 4 years ago by Technologov

Confirmed. Bug still exists in 3.2.0

Just create a VM with 2 CD-ROMs, and insert GuestAdditions.iso into both.

-Technologov

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use