[problem help] 虚拟系统管理器添win虚拟机,卡在进EFI界面
Tofloor
poster avatar
gunix
deepin
2024-02-06 21:18
Author

已安装好win11虚拟机qcow2文件 ,用脚本启动正常,用远程查看程序连 spice://192.168.5.248:8891/是OK的

qemu-system-x86_64 -name win11 -hda /media/shelly/win11/vmwin/win11.qcow2 -enable-kvm -smp 8 -m 8G -machine usb=on -device usb-tablet -display default -vga virtio -device e1000,netdev=net0 -netdev user,id=net0,net=192.168.5.0/24,dhcpstart=192.168.5.30 -spice port=8891,addr=192.168.5.248,disable-ticketing=on

现在想用虚拟系统管理器,安装如下

sudo virt-install --connect qemu:///system --name win11 --vcpus 8 --memory 8096 --disk path=/media/shelly/win11/vmwin/win11.qcow2 --import --autostart --osinfo win11 --graphics spice --virt-type kvm

启动后总是进efi设置,查看devices health,没有硬盘,何解?

Reply Favorite View the author
All Replies
gunix
deepin
2024-02-07 11:34
#1

sudo qemu-nbd -c /dev/nbdwin11 /media/shelly/win11/vmwin/win11.qcow2
报错 qemu-nbd: Failed to set NBD socket

Reply View the author