Bug 9178 - [Anolis 23.1][GA] image installation failed by QEMU with OVMF.fd
Summary: [Anolis 23.1][GA] image installation failed by QEMU with OVMF.fd
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-27 09:15 UTC by AubreyLi
Modified: 2024-05-27 09:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AubreyLi intel_group 2024-05-27 09:15:33 UTC
Here is the explanation of OVMF.fd: https://wiki.ubuntu.com/UEFI/OVMF

When install anolis23.1 GA image by Qemu with OVMF.fd, installation failed with the following error:

error: ../../grub-core/script/function.c:119:can't find command 'linuxefi'
error: ../../grub-core/script/function.c:119:can't find command 'initrdefi'

Press any key to continue ......

Installation script below, "-bios OVMF.fd" is the trouble.

$QEMU_IMAGE \
        -cpu host \
        -m 48G \
        -cdrom ${ISO_IMAGE} \
        -bios OVMF.fd \
        -accel kvm \
        -smp 24 \
        -drive file=${GUEST_IMAGE},if=virtio,format=qcow2

Anolis 23.0 did not have this issue.