为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
- cocd
- 帖子: 126
- 注册时间: 2012-11-18 10:47
- 系统: ubuntu 12.04
为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
刚装了ubuntu18.04,在里面安装了GNOME Boxes,但发现它创建任何虚拟系统都失败。此前在ubuntu16.04里gnome boxes是可以正常创建虚拟系统的,这是为什么?
完美的定义不是增加很多东西,而是每一件东西都不可或缺。
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
1. 參閱
1-1. https://www.lifewire.com/guide-to-gnome-boxes-2202073
A Beginner's Guide To GNOME Boxes
1-2. https://www.omgubuntu.co.uk/2017/12/gno ... s-directly
GNOME Boxes Makes It Easier to Test Drive Linux Distros
1-1. https://www.lifewire.com/guide-to-gnome-boxes-2202073
A Beginner's Guide To GNOME Boxes
1-2. https://www.omgubuntu.co.uk/2017/12/gno ... s-directly
GNOME Boxes Makes It Easier to Test Drive Linux Distros
2. 請提供詳細的錯誤訊息但发现它创建任何虚拟系统都失败。
- cocd
- 帖子: 126
- 注册时间: 2012-11-18 10:47
- 系统: ubuntu 12.04
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
创建XP虚拟机的时候就报错。就是刚确定内存和磁盘空间大小,点击“下一步”就报错,应该是根本就没进入正式安装的步骤。poloshiao 写了: 2. 請提供詳細的錯誤訊息
系统日志里有:
gvfsd: mkdir failed on directory /var/cache/samba: 权限不够
gnome-boxes: wizard-source.vala:444: Failed to find OS with ID 'http://fedoraproject.org/fedora/27': Unknown OS ID 'http://fedoraproject.org/fedora/27'
是不是和权限有关?看了/var/cache/samba,确实不存在这个目录。
上次由 cocd 在 2018-05-11 14:21,总共编辑 1 次。
完美的定义不是增加很多东西,而是每一件东西都不可或缺。
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
创建XP虚拟机的时候就报错。
看看 這一篇能否幫你系统日志里有:
gvfsd: mkdir failed on directory /var/cache/samba: 权限不够
gnome-boxes: wizard-source.vala:444: Failed to find OS with ID 'http://fedoraproject.org/fedora/27': Unknown OS ID 'http://fedoraproject.org/fedora/27'
https://bugzilla.redhat.com/show_bug.cgi?id=1016620
Samba shared point cannot be accessed from a Windows XP machine running in the gnome-boxes
https://bugzilla.redhat.com/show_bug.cgi?id=1016620#c5
we are sorry it could not be fixed.
- cocd
- 帖子: 126
- 注册时间: 2012-11-18 10:47
- 系统: ubuntu 12.04
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
我是ISO文件就根本没运行。奇怪的是就在18.04发布前,我的系统是16.04,用boxes安装XP是没有问题的,重新安装了18.04(不是升级,是清了~/.local下的各种配置文件后的全新安装)后,boxes就不好使了。感觉好像18.04启用了什么新的安全系统,导致一些权限问题。mysql 的安装在18.04里也是各种怪异。poloshiao 写了: 看看 這一篇能否幫你
https://bugzilla.redhat.com/show_bug.cgi?id=1016620
Samba shared point cannot be accessed from a Windows XP machine running in the gnome-boxes
https://bugzilla.redhat.com/show_bug.cgi?id=1016620#c5
we are sorry it could not be fixed.
问题复杂化了,不研究了。感谢解答和提示。
完美的定义不是增加很多东西,而是每一件东西都不可或缺。
- cocd
- 帖子: 126
- 注册时间: 2012-11-18 10:47
- 系统: ubuntu 12.04
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
Failed to start Microsoft Windows XP: Unable to start domain: unsupported configuration: CPU mode 'custom' for x86_64 kvm domain on x86_64 host is not supported by hypervisor
系统日志里提示这个信息,是什么意思?主机X86 64位,安装 X86 32位的XP,不支持么?
系统日志里提示这个信息,是什么意思?主机X86 64位,安装 X86 32位的XP,不支持么?
完美的定义不是增加很多东西,而是每一件东西都不可或缺。
- cocd
- 帖子: 126
- 注册时间: 2012-11-18 10:47
- 系统: ubuntu 12.04
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
哈哈哈,解决了。
可参考
http://debian.2.n7.nabble.com/Bug-88999 ... l#a4274176
是用户组的问题,只要执行:
sudo adduser <youruser> kvm
newgrp kvm
把自己加入到 kvm 组里即可。
可参考
http://debian.2.n7.nabble.com/Bug-88999 ... l#a4274176
是用户组的问题,只要执行:
sudo adduser <youruser> kvm
newgrp kvm
把自己加入到 kvm 组里即可。
完美的定义不是增加很多东西,而是每一件东西都不可或缺。
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
謝謝分享把自己加入到 kvm 组里即可
-
- 帖子: 29
- 注册时间: 2018-10-25 14:22
- 系统: Linux Mint
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
也麻烦大家帮忙我看看,也是不能创建,log如下:poloshiao 写了: ↑2018-05-11 10:07 1. 參閱
1-1. https://www.lifewire.com/guide-to-gnome-boxes-2202073
A Beginner's Guide To GNOME Boxes
1-2. https://www.omgubuntu.co.uk/2017/12/gno ... s-directly
GNOME Boxes Makes It Easier to Test Drive Linux Distros2. 請提供詳細的錯誤訊息但发现它创建任何虚拟系统都失败。
Nov 11 11:13:31 Linda dbus-daemon[737]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.116' (uid=1000 pid=5604 comm="gnome-boxes " label="unconfined")
Nov 11 11:13:31 Linda systemd[1]: Starting Hostname Service...
Nov 11 11:13:31 Linda dbus-daemon[737]: [system] Successfully activated service 'org.freedesktop.hostname1'
Nov 11 11:13:31 Linda systemd[1]: Started Hostname Service.
Nov 11 11:13:34 Linda dbus-daemon[737]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.116' (uid=1000 pid=5604 comm="gnome-boxes " label="unconfined")
Nov 11 11:13:34 Linda systemd[1]: Starting Time & Date Service...
Nov 11 11:13:34 Linda dbus-daemon[737]: [system] Successfully activated service 'org.freedesktop.timedate1'
Nov 11 11:13:34 Linda systemd[1]: Started Time & Date Service.
Nov 11 11:13:36 Linda gnome-keyring-d[1810]: asked to register item /org/freedesktop/secrets/collection/_e9_bb_98_e8_ae_a4_e5_af_86_e9_92_a5_e7_8e_af/98, but it's already registered
Nov 11 11:13:37 Linda gnome-keyring-d[1810]: asked to register item /org/freedesktop/secrets/collection/_e9_bb_98_e8_ae_a4_e5_af_86_e9_92_a5_e7_8e_af/98, but it's already registered
Nov 11 11:13:38 Linda gnome-keyring-d[1810]: asked to register item /org/freedesktop/secrets/collection/_e9_bb_98_e8_ae_a4_e5_af_86_e9_92_a5_e7_8e_af/98, but it's already registered
Nov 11 11:13:39 Linda gnome-keyring-d[1810]: asked to register item /org/freedesktop/secrets/collection/_e9_bb_98_e8_ae_a4_e5_af_86_e9_92_a5_e7_8e_af/98, but it's already registered
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 为什么ubuntu18.04里的GNOME Boxes创建任何虚拟机都失败?
https://bugzilla.redhat.com/show_bug.cgi?id=1456134Nov 11 11:13:36 Linda gnome-keyring-d[1810]: asked to register item /org/freedesktop/secrets/collection/_e9_bb_98_e8_ae_a4_e5_af_86_e9_92_a5_e7_8e_af/98, but it's already registered
Bug 1456134 - org.freedesktop.secrets fails to start
https://bugzilla.redhat.com/show_bug.cgi?id=1456134#c11
we are sorry it could not be fixed.