VirtualBox启动不了

虚拟机讨论区

版主: TerraSupportTMsupportTMjack

头像
jswh1969
帖子: 145
注册时间: 2021年 9月 20日 星期一 11:34 pm
China

VirtualBox启动不了

帖子 jswh1969 »

应用中心提示VirtualBox有更新,更新到99%系统突然死机,页面空白,重启机器后,VirtualBox显示未启用,点启用启动不了,如果卸载重装是不是我虚拟机原来的设置都没有了??
头像
jswh1969
帖子: 145
注册时间: 2021年 9月 20日 星期一 11:34 pm
China

Re: VirtualBox启动不了

帖子 jswh1969 »

如果不卸载重装,还有补救办法吗?
头像
jswh1969
帖子: 145
注册时间: 2021年 9月 20日 星期一 11:34 pm
China

Re: VirtualBox启动不了

帖子 jswh1969 »

忍不住还是卸载重装了,卸载时选择保留配置文件,启动后左侧安装的homeassistant都在,但点击镜像启动时弹出提示The virtual machine 'home-assistant2' has terminated unexpectedly during startup with exit code 1 (0x1)

明细显示:
Exception Object
(
[message:protected] => The virtual machine 'home-assistant2' has terminated unexpectedly during startup with exit code 1 (0x1)
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /Volume1/@apps/virtualbox/webui/endpoints/lib/vboxconnector.php
[line:protected] => 2443
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /Volume1/@apps/virtualbox/webui/endpoints/lib/vboxconnector.php
[line] => 951
[function] => remote_progressGet
[class] => vboxconnector
[type] => ->
[args] => Array
(
[0] => Array
(
[progress] => cd058a4db9caee40-0000000000000004
)

)

)

[1] => Array
(
[file] => /Volume1/@apps/virtualbox/webui/endpoints/api.php
[line] => 316
[function] => __call
[class] => vboxconnector
[type] => ->
[args] => Array
(
[0] => progressGet
[1] => Array
(
[0] => Array
(
[progress] => cd058a4db9caee40-0000000000000004
)

[1] => Array
(
[0] => Array
(
[data] => Array
(
[responseData] => Array
(
[progress] => cd058a4db9caee40-0000000000000004
[info] => Array
(
[completed] => 1
[canceled] =>
[description] => Starting VM
[operationDescription] => Creating process for virtual machine "home-assistant2" (headless)
[timeRemaining] => Array
(
)

[timeElapsed] => Array
(
[days] => 19608
[hours] => 14
[minutes] => 21
[seconds] => 18
)

[percent] => 0
)

)

[success] => 1
[key] => 53474945cfd7ac0bf8114767c209c2a6
)

[errors] => Array
(
)

[persist] => Array
(
)

[messages] => Array
(
)

)

)

)

)

)

)

[previous:Exception:private] =>
)
头像
jswh1969
帖子: 145
注册时间: 2021年 9月 20日 星期一 11:34 pm
China

Re: VirtualBox启动不了

帖子 jswh1969 »

升级5.1.67,再次重新安装VirtualBox,启动虚拟机又有新的错误提示:UUID {00000000-0000-0000-0000-000000000000} of the medium '/Volume1/ha/haos_ova-10.3.vmdk' does not match the value {0e34e503-3cc8-46b3-ba92-07e44016409b} stored in the media registry ('/home/xxx/.config/VirtualBox/VirtualBox.xml')

明细如下:
Exception Object
(
[message:protected] => UUID {00000000-0000-0000-0000-000000000000} of the medium '/Volume1/ha/haos_ova-10.3.vmdk' does not match the value {0e34e503-3cc8-46b3-ba92-07e44016409b} stored in the media registry ('/home/xxx/.config/VirtualBox/VirtualBox.xml')
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /Volume1/@apps/virtualbox/webui/endpoints/lib/vboxconnector.php
[line:protected] => 2443
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /Volume1/@apps/virtualbox/webui/endpoints/lib/vboxconnector.php
[line] => 951
[function] => remote_progressGet
[class] => vboxconnector
[type] => ->
[args] => Array
(
[0] => Array
(
[progress] => e64d22d9f59bfb5e-0000000000000004
头像
jswh1969
帖子: 145
注册时间: 2021年 9月 20日 星期一 11:34 pm
China

Re: VirtualBox启动不了

帖子 jswh1969 »

这又不知道是什么情况
Jietu20230909-013057.jpg
头像
TMlinda
技术支持
帖子: 161
注册时间: 2022年 6月 13日 星期一 4:50 pm

Re: VirtualBox启动不了

帖子 TMlinda »

{L_BUTTON_AT}jswh1969

可以试试重启下应用,在应用中心先把VirtualBox停用再启用。
头像
lauchinghz
帖子: 70
注册时间: 2020年 12月 1日 星期二 12:45 pm
China

Re: VirtualBox启动不了

帖子 lauchinghz »

{L_BUTTON_AT}jswh1969
TMwuu 写了: 2023年 9月 9日 星期六 11:08 am 可以试试重启下应用,在应用中心先把VirtualBox停用再启用。
都试过了 没用
头像
RyanYang
技术支持
帖子: 552
注册时间: 2020年 12月 1日 星期二 11:46 am

Re: VirtualBox启动不了

帖子 RyanYang »

更新前是否关闭了虚拟机中的系统呢?是否方便让我们为您远程检查。
您可以使用 lsmod 命令查看 vboxnetflt、vboxnetadp、vboxdrv 驱动是否已经加载,
然后切换目录

代码: 全选

cd /Volume1/@apps/virtualbox/kernel
使用

代码: 全选

modinfo vboxdrv.ko
查看驱动是否更新成功。
头像
lauchinghz
帖子: 70
注册时间: 2020年 12月 1日 星期二 12:45 pm
China

Re: VirtualBox启动不了

帖子 lauchinghz »

TMRyan 写了: 2023年 9月 9日 星期六 11:41 am 更新前是否关闭了虚拟机中的系统呢?是否方便让我们为您远程检查。
您可以使用 lsmod 命令查看 vboxnetflt、vboxnetadp、vboxdrv 驱动是否已经加载,
然后切换目录

代码: 全选

cd /Volume1/@apps/virtualbox/kernel
使用

代码: 全选

modinfo vboxdrv.ko
查看驱动是否更新成功。
头像
RyanYang
技术支持
帖子: 552
注册时间: 2020年 12月 1日 星期二 11:46 am

Re: VirtualBox启动不了

帖子 RyanYang »

{L_BUTTON_AT}lauchinghz
你可以尝试重启 TNAS 后重启应用,如果还是不行,可以尝试卸载重新安装,卸载的时候不需要勾选删除配置,看起来没有加载新的驱动。
你的TOS是什么版本?更新的时候是否有将VirtualBox中的系统停止?
回复

回到 “虚拟机”