安装在gnome-boxes里的虚拟机,屏幕分辨率只有常用的几种。如果你的屏幕分辨率是1366x768,恐怕是不能支持的。要解决这个问题,当然是参考官方帮助:
https://fedoraproject.org/wiki/Windows_Virtio_Drivers
第一步,下载并安装virtio-win仓库:
[root@] # wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo -O /etc/yum.repos.d/virtio-win.repo
第二步,安装virtio-win:
[root@] # dnf install virtio-win
安装完成之后,在/usr/share/virtio-win目录下就会有需要的镜像。
第三步,在虚拟机里使用cd设备加载virtio-win镜像。
第四步,进入虚拟机的cd设备目录,目录下包含了如下内容:
NetKVM/: Virtio Network driver
viostor/: Virtio Block driver
vioscsi/: Virtio SCSI driver
viorng/: Virtio RNG driver
vioser/: Virtio serial driver
Balloon/: Virtio Memory Balloon driver
qxl/: QXL graphics driver for Windows 7 and earlier. (build virtio-win-0.1.103-1 and later)
qxldod/: QXL graphics driver for Windows 8 and later. (build virtio-win-0.1.103-2 and later)
pvpanic/: QEMU pvpanic device driver (build virtio-win-0.1.103-2 and later)
guest-agent/: QEMU Guest Agent 32bit and 64bit MSI installers
qemupciserial/: QEMU PCI serial device driver
*.vfd: VFD floppy images for using during install of Windows XP
所以,如果虚拟机是win7系统,就在设备管理器的“显示适配器”里,将驱动程序更新成qxl。
最后重新启动虚拟机,修改屏幕分辨率。
文章评论(0条评论)
登录后参与讨论