您好,登录后才能下订单哦!
环境:rhel7.5
一.配置firmware源
wget http://www.kraxel.org/repos/firmware.repo -O /etc/yum.repos.d/firmware.repo
二.安装ovmf
yum install edk2.git-ovmf-x64
yum install OVMF #uefi的virt-manger图形组件
三.配置 libvirtd以启用UEFI
Configure libvirtd to advertise UEFI support
Libvirt needs to know about UEFI->NVRAM config file mapping, so it can advertise it to tools like virt-manager/virt-install.
As root, edit /etc/libvirt/qemu.conf, and add this section at the top of the file:
nvram = [
"/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd:/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd",
]
四.重启libvirtd
systemctl restart libvirtd
五.创建虚拟机
virt-manager
这样就可以选择的固件是uefi
注意,如果视频模式为vmvga或QXL会导致启动时黑屏,换成vga模式就可以了
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。