Ventoy Forums

Full Version: iventoy 在LXC debian中启动失败
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
你好,

非常感谢提供ventoy和iventoy这两个非常好用的工具!
但是在使用iventoy的过程中遇到了一点小疑惑,希望能够在这边找到解决的办法。

尝试在LXC的debian中启动iventoy,但是不管使用iventoy start 或者iventoy -A start, 总是显示"iventoy start SUCCESS PID=0"。
---------------------------------------------------------------------------------------------------------------------------------------------------------
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
iventoy start SUCCESS PID=0

Please open your browser and visit http://127.0.0.1:26000 or http://x.x.x.x:26000 (x.x.x.x is any valid IP address)


--------------------------------------------------------------------------------------------------------------------------------------------------------
尝试直接在VM中尝试,能够正常启动。

尝试过的版本是iventoy-1.0.07和1.0.06。

再次,非常感谢!
(07-05-2023, 05:43 AM)longpanda Wrote: [ -> ]For referrence:
https://forums.ventoy.net/showthread.php?tid=2491
错误好像和这个帖子的不太一样,检查了下logfile:

2023/07/05 09:15:43.942 [PXE]  ==========================================================
2023/07/05 09:15:43.942 [PXE]  ##########################################################
2023/07/05 09:15:43.942 [PXE]  ##################### IVENTOY RUN ########################
2023/07/05 09:15:43.942 [PXE]  ##########################################################
2023/07/05 09:15:43.942 [PXE]  ==========================================================
2023/07/05 09:15:43.942 [UTIL] mount directory failed, errno:13
2023/07/05 09:15:43.942 [PXE]  ### iVentoy start failed. ###
lxc 内必须有权限能够执行 mount -t sysfs 动作。
(07-05-2023, 03:26 PM)longpanda Wrote: [ -> ]lxc 内必须有权限能够执行  mount -t sysfs  动作。
非常感谢!
在LXC的配置文件加入了:
lxc.apparmor.profile: unconfined
能够正常启动了。
-----------------------------------------------------------------------------------------------------------------
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
iventoy start SUCCESS PID=279

Please open your browser and visit http://127.0.0.1:26000 or http://x.x.x.x:26000 (x.x.x.x is any valid IP address)
----------------------------------------------------------------------------------------------------------