3

How can I enter BIOS in a virtualized RedHat Enterprise Linux 5.6 running in KVM ?

I can send Ctrl+Alt+Delete, but GRUB boot loader loads up so fast I cannot press F2 / Delete.

3 Answers 3

5

The BIOS used by KVM does not have a setup interface accessible from the VM console. All options which need to be configured through the BIOS setup in a physical computer (e.g., boot device list) are set through kvm command line options, which in RHEL5 are usually controlled through libvirt and its management tools.

Note that you need to turn off the VM and start it again for the new options to take effect (just rebooting the VM from inside it, e.g. by Ctrl+Alt+Delete, is not enough — it does not restart the kvm process).

2
  • wrong. found it by mistake trying to boot OSX. hit f8 too early but I cant trip it again. its there but its super tiny like an award bios.
    – user356643
    May 27, 2016 at 2:04
  • Correction: You can now enter EFI via ESC key.
    – lzap
    Aug 8, 2019 at 14:55
2

When booting a VM in BIOS mode there is no such thing.

When booting a VM in EFI mode use ESC key to enter EFI (make sure to click on the pane to get focus).

2
  • You can also choose System Setup from the GRUB menu to enter the EFI BIOS. Aug 8, 2019 at 17:44
  • Well, yeah. That is something an OS adds but works fine.
    – lzap
    Aug 9, 2019 at 18:50
0

To enter into vm's BIOS you need to first turn it off

virsh shutdown <domain-name>

Now, we need to start the VM in console mode to quickly access before os loads

virsh start <domain-name> --console

Immediately! Keep pressing and lifting F2 key until you see BIOS menu

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .