tag 标签: gnome-boxes

相关博文
  • 热度 15
    2017-9-18 10:14
    3407 次阅读|
    0 个评论
    安装在gnome-boxes里的虚拟机,屏幕分辨率只有常用的几种。如果你的屏幕分辨率是1366x768,恐怕是不能支持的。要解决这个问题,当然是参考官方帮助: https://fedoraproject.org/wiki/Windows_Virtio_Drivers 第一步,下载并安装virtio-win仓库: # wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo -O /etc/yum.repos.d/virtio-win.repo 第二步,安装virtio-win: # 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。 最后重新启动虚拟机,修改屏幕分辨率。 ​
  • 热度 2
    2017-9-18 09:30
    1635 次阅读|
    1 个评论
    使用gnome-boxes虚拟机,如果出现了如下错误:$ gnome-boxes (gnome-boxes:5357): Libvirt.GObject-CRITICAL **: gvir_storage_vol_get_info: assertion 'GVIR_IS_STORAGE_VOL(vol)' failed Segmentation fault (core dumped)   需要删除用户目录下的config文件: $ rm -rfv ~/.config/libvirt 然后重新启动Fedora系统,libvirt服务会重新在用户目录下新建config文件。 此时gnome-boxes也能够重新启动啦。 ​ ​