VirtualBox

Opened 8 years ago

Closed 8 years ago

#15884 closed defect (worksforme)

Attaching a BIOS file to a VM does not work in VirtualBox 5.1.4

Reported by: bmn Owned by:
Component: other Version: VirtualBox 5.1.4
Keywords: Cc:
Guest type: other Host type: other

Description

In VirtualBox 5.0.x it is possible to use the command
VBoxManage.exe setextradata MyVM VBoxInternal/Devices/pcbios/0/Config/BiosRom C:\bios.bin
to attach a BIOS file to a VM.

This feature is broken in VirtualBox 5.1.4. When the command is applied, the VM hangs during startup and does not boot the guest OS. (The same VM does boot the guest OS when no BIOS file is attached to it.)

The problem seems to be independent from the BIOS file, since it occurs even if the file bios.bin is an unaltered copy of VirtualBox 5.1.4's own BIOS (as it can be extracted from VBoxDD2.dll).

Attachments (2)

VBox.log (78.5 KB ) - added by bmn 8 years ago.
bios.bin (64.0 KB ) - added by bmn 8 years ago.

Download all attachments as: .zip

Change History (5)

by bmn, 8 years ago

Attachment: VBox.log added

by bmn, 8 years ago

Attachment: bios.bin added

comment:1 by aeichner, 8 years ago

The BIOS file you extracted from VBoxDD2.dll and attached here seems to be for one of the old CPU profiles VBox starts to support with 5.1 (see here and search for --cpu-profile). Using the BIOS image for 386+ CPUs works correctly here even if using it as separate image file. Is it possible that the custom BIOS you are using works with one of the profiles for older architectures?

comment:2 by bmn, 8 years ago

Thank you very much for pointing me in the right direction. I extracted the BIOS file from VB 5.1 the same way that had worked with VB 5.0, but I did not consider that in 5.1 more than one image exists in the system. But now I managed to obtain the 386+ BIOS image and the function to attach a custom BIOS is shown to work correctly.

comment:3 by aeichner, 8 years ago

Resolution: worksforme
Status: newclosed

Thanks for the feedback!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use