UEFI QEMU boot issue

299 views
Skip to first unread message

Graham Kitteridge

unread,
May 18, 2020, 4:04:52 AM5/18/20
to Android-x86
Hi

I'm hoping you can help.

I am using OVMF to boot Android x86_64 9.0 R2 in QEMU with UEFI. I am doing this because i require a UEFI boot and I believe this is the way to do this.

The command I use to run QEMU is:

qemu-system-x86_64 -bios OVMF.fd -m 2048 -boot menu=on -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -cdrom android-x86_64-9.0-r2.iso -soundhw es1370

This boots into the installer screen as shown below, but errors out immediately on pressing the install button.

The error is:

error: variable 'root' isnt set
error
: no such device: /kernel.

Am I doing something wrong, or is there another way of doing UEFI install/boot?

Pictures of process below:


TECHY Ronaq

unread,
May 18, 2020, 5:16:50 AM5/18/20
to andro...@googlegroups.com
I will feedback you in next 24 hrs!


--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/88316e42-0be2-441d-910b-86b6abe251f1%40googlegroups.com.

Chih-Wei Huang

unread,
May 19, 2020, 2:34:22 AM5/19/20
to Android-x86
Graham Kitteridge <gkitt...@gmail.com> 於 2020年5月18日 週一 下午4:05寫道:
I tested almost the same command:

qemu-system-x86_64 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd -m 2048
-boot menu=on -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555
-cdrom android-x86_64-9.0-r2.iso -soundhw es1370

It boots fine. No such a problem.
I'm using Fedora 30.

Which distro did you use?
Maybe your BIOS file is buggy?

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Graham Kitteridge

unread,
May 19, 2020, 2:53:07 AM5/19/20
to Android-x86
That is interesting!

I am usuing Ubuntu 18.04 with `sudo apt install ovmf"

I shall investigate different ovmf versions.

Thanks

Graham Kitteridge

unread,
May 19, 2020, 3:13:18 AM5/19/20
to Android-x86
Hi Both,

Thanks for your help, I can't believe it was that simple. I downloaded https://www.kraxel.org/repos/jenkins/edk2/edk2.git-ovmf-x64-0-20200515.1389.g7b6327ff03.noarch.rpm and used the OVMF-pure-efi.fd bios file and this worked fine.

I booted into a live stock image


Thanks for your help.
Reply all
Reply to author
Forward
0 new messages