我正在尝试在 Fedora 37 的 KVM 中安装 Windows 11 来宾。我已经使用sudo dnf install --refresh @virtualization
.
我已从以下位置下载了 Windows 11 ISO:微软官方网站。我也下载了virtio驱动程序。
我使用以下步骤创建了一个虚拟机:
- 启动虚拟机管理器应用程序
- 单击左上角的“新建虚拟机”按钮
- 选择“Local Install Media”并输入上面下载的Windows 11 ISO的路径
- 选择“Forward”,使用默认的CPU和RAM设置(4核,8192 MB RAM)
- 选择“前进”,使用默认硬盘设置(128 GiB)
- 选择“前进”,选中“安装前自定义配置”选项,然后点击“完成”
- 在“概述”下,将固件设置为
UEFI x86_64: /usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
- 点击“添加硬件”
- 选择“存储”
- 将设备类型设置为 CDROM
- 添加上面下载的virtio ISO的路径
- 点击“完成”
- 在“启动选项”下
- 选中 SATA CDROM 1 复选框以启用它
- 将 SATA CDROM 1 移至启动顺序的顶部
- 在TPM下
- 展开“高级选项”
- 将“版本”设置为“2.0”
- 点击左上角的“开始安装”
然后,访客窗口将打开,并显示“按任意键从 CD/DVD 启动”。但是,当我按下某个键后,它会挂在这个屏幕上
我真的没有看到dmesg
或中有任何错误journalctl
。journalctl
日志如下:
Mar 26 13:03:30 fedora systemd-machined[904]: New machine qemu-15-win11.
Mar 26 13:03:30 fedora systemd[1]: Started machine-qemu\x2d15\x2dwin11.scope - Virtual Machine qemu-15-win11.
Mar 26 13:03:30 fedora systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
Mar 26 13:03:30 fedora systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
Mar 26 13:03:30 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora NetworkManager[996]: <info> [1679853810.5014] device (vnet14): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Mar 26 13:03:30 fedora NetworkManager[996]: <info> [1679853810.5018] device (vnet14): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Mar 26 13:03:30 fedora NetworkManager[996]: <info> [1679853810.5026] device (vnet14): Activation: successful, device activated.
Mar 26 13:03:30 fedora audit: BPF prog-id=125 op=LOAD
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=deny vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=all exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/null" rdev=01:03 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/full" rdev=01:07 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/zero" rdev=01:05 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/random" rdev=01:08 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/urandom" rdev=01:09 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/ptmx" rdev=05:02 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=path path="/dev/kvm" rdev=0A:E8 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=cgroup reason=allow vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 cgroup="/sys/fs/cgroup/machine.slice/machine-qemu\x2d15\x2dwin11.scope/" class=major category=pty maj=88 acl=rw exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:30 fedora systemd[1]: iscsi.service: Unit cannot be reloaded because it is inactive.
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-disk="?" new-disk="/var/lib/libvirt/images/win11-1.qcow2" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-disk="?" new-disk="/home/quanticle/Downloads/Win11_22H2_English_x64v1.iso" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=disk reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-disk="?" new-disk="/home/quanticle/Downloads/virtio-win-0.1.229.iso" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-net="?" new-net="52:54:00:96:29:9d" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 bus=usb device=555342207265646972646576 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=dev reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 bus=usb device=555342207265646972646576 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=chardev reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-chardev="?" new-chardev="/dev/pts/3" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=tpm-emulator reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 device="/run/libvirt/qemu/swtpm/15-win11-swtpm.sock" exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=mem reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-mem=0 new-mem=8388608 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_RESOURCE pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=vcpu reason=start vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 old-vcpu=0 new-vcpu=4 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:31 fedora audit[5448]: VIRT_CONTROL pid=5448 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start reason=booted vm="win11" uuid=3778adb0-2df3-4234-b548-4b4efbd04fd2 vm-pid=29758 exe="/usr/sbin/virtqemud" hostname=? addr=? terminal=? res=success'
Mar 26 13:03:32 fedora avahi-daemon[885]: Joining mDNS multicast group on interface vnet14.IPv6 with address fe80::fc54:ff:fe96:299d.
Mar 26 13:03:32 fedora avahi-daemon[885]: New relevant interface vnet14.IPv6 for mDNS.
Mar 26 13:03:32 fedora avahi-daemon[885]: Registering new address record for fe80::fc54:ff:fe96:299d on vnet14.*.
Mar 26 13:03:32 fedora kernel: virbr0: port 1(vnet14) entered learning state
Mar 26 13:03:34 fedora kernel: virbr0: port 1(vnet14) entered forwarding state
Mar 26 13:03:34 fedora kernel: virbr0: topology change detected, propagating
Mar 26 13:03:34 fedora NetworkManager[996]: <info> [1679853814.4977] device (virbr0): carrier: link connected
Mar 26 13:03:40 fedora systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mar 26 13:03:40 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:04:02 fedora systemd[1719]: Starting tracker-extract-3.service - Tracker metadata extractor...
Mar 26 13:04:02 fedora systemd[1719]: Started tracker-extract-3.service - Tracker metadata extractor.
Mar 26 13:04:43 fedora audit: BPF prog-id=126 op=LOAD
Mar 26 13:04:43 fedora audit: BPF prog-id=127 op=LOAD
Mar 26 13:04:43 fedora audit: BPF prog-id=128 op=LOAD
Mar 26 13:04:43 fedora systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
Mar 26 13:04:43 fedora systemd[1]: Started systemd-hostnamed.service - Hostname Service.
Mar 26 13:04:43 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:05:13 fedora systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Mar 26 13:05:13 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:05:13 fedora audit: BPF prog-id=128 op=UNLOAD
Mar 26 13:05:13 fedora audit: BPF prog-id=127 op=UNLOAD
Mar 26 13:05:13 fedora audit: BPF prog-id=126 op=UNLOAD
Mar 26 13:07:16 fedora audit: BPF prog-id=129 op=LOAD
Mar 26 13:07:16 fedora systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
Mar 26 13:07:16 fedora systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
Mar 26 13:07:16 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:07:19 fedora audit[31273]: USER_AUTH pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_usertype,pam_localuser,pam_unix acct="quanticle" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:19 fedora audit[31273]: USER_ACCT pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="quanticle" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:19 fedora audit[31273]: USER_CMD pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/quanticle/Downloads" cmd="journalctl" exe="/usr/bin/sudo" terminal=pts/0 res=success'
Mar 26 13:07:19 fedora sudo[31273]: quanticle : TTY=pts/0 ; PWD=/home/quanticle/Downloads ; USER=root ; COMMAND=/usr/bin/journalctl
Mar 26 13:07:19 fedora audit[31273]: CRED_REFR pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:19 fedora sudo[31273]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 26 13:07:19 fedora audit[31273]: USER_START pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:07:46 fedora systemd[1]: fprintd.service: Deactivated successfully.
Mar 26 13:07:46 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 26 13:07:46 fedora audit: BPF prog-id=129 op=UNLOAD
Mar 26 13:08:49 fedora sudo[31273]: pam_unix(sudo:session): session closed for user root
Mar 26 13:08:49 fedora audit[31273]: USER_END pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:08:49 fedora audit[31273]: CRED_DISP pid=31273 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora audit[31344]: USER_ACCT pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="quanticle" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora audit[31344]: USER_CMD pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/quanticle" cmd="journalctl" exe="/usr/bin/sudo" terminal=pts/0 res=success'
Mar 26 13:09:04 fedora audit[31344]: CRED_REFR pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora sudo[31344]: quanticle : TTY=pts/0 ; PWD=/home/quanticle ; USER=root ; COMMAND=/usr/bin/journalctl
Mar 26 13:09:04 fedora audit[31344]: USER_START pid=31344 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
Mar 26 13:09:04 fedora sudo[31344]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
我不太确定从这里该去哪里。没有任何明显的错误,但 Windows 无法启动。
答案1
经过几个小时的测试多种解决方案后,我找到了一个适合我的解决方案,我想分享一下:
多人在 GitHub 上举报这里,在 Fedora 37 下,未使用正确的安全启动文件。有一个不同的目录/usr/share/edk2/ovmf-4m/
包含 4m 版本。
一步步:
- 打开您的 XML
virsh edit your-name-of-the-vm
- 编辑路径
<loader readonly='yes' secure='yes' type='pflash'>/usr/share/edk2/ovmf-4m/OVMF_CODE.secboot.fd</loader>
行ovmf-4m
- 复制 4M 文件的 UEFI 变量
等式 XML:
<nvram>/home/myuser/.config/libvirt/qemu/nvram/win11_VARS.fd</nvram>
复制文件:
cp /usr/share/edk2/ovmf-4m/OVMF_VARS.secboot.fd /home/myuser/.config/libvirt/qemu/nvram/win11_VARS.fd
- 启动你的虚拟机
如果这仍然不起作用(就像对我来说),我已经下载了最新的 debian 软件包,提取文件OVMF_CODE_4M.secboot.fd
,将其保存到我的主目录中,并使用此 UEFI 文件编辑 XML。然后,我将其复制OVMF_VARS_4M.fd
到该<nvram>
位置(步骤 3)。
希望这对那里的人有帮助。
答案2
降级 ovmf 对我来说很有效,方法是:
sudo dnf downgrade edk2-ovmf
答案3
没有足够的声誉来发表评论:CPU 拓扑是什么?这个错误的设置给我带来了很多麻烦,表现非常糟糕。所以我强烈建议手动设置:
分配 = 总线程数
插槽 = CPU 插槽(如果这对您来说没有任何意义),请将其设置为 1 大多数主板只有一个。只有某些服务器或工作站主板有多个。
核心 = 核心,线程不重要
线程 = 线程每核心,所以又是典型的消费类 CPU 1 或 2。最安全的选择是 1,但如果您的 CPU 支持超线程或类似技术,您将把性能留在桌面上