Dej*_*vić 6 boot android lxc 14.04
我想通过 USB 玩我的 android 手机,所以我apt-get install android*在我的笔记本电脑上做了一个。这打破了我的靴子。我无法正常启动它,但是如果我进入恢复状态然后恢复,它可以正常启动(尽管图形运行速度较慢)。
然后我用 删除了 android 包apt-get remove android*,但这并没有解决它。靴子如下图所示挂起。

启动日志无处可寻。但我在 /var/log/dmesg 中找到了这个
[ 21.073633] init: Failed to spawn lxc-android-config main process: unable to execute: No such file or directory
[ 21.081249] init: adbd-emergency-shell pre-start process (894) terminated with status 2
[ 21.785001] init: udev-fallback-graphics main process (917) terminated with status 1
[ 23.425461] init: ureadahead-touch main process (664) terminated with status 1
[ 23.456583] init: lxc-android-boot main process (1012) terminated with status 127
[ 23.546875] init: friendly-recovery post-stop process (658) terminated with status 1
[ 23.547479] init: failsafe main process (1010) killed by TERM signal
[ 24.375532] init: set.pretty-hostname main process (1157) terminated with status 127
Run Code Online (Sandbox Code Playgroud)
我做了什么以及如何解决这个问题。有什么建议?
我最近在玩 Ubuntu Touch 和 Android linux 容器 (lxc) 时遇到了这种情况。症状是我的系统会挂在启动画面上(在输入我的 LUKS 密码后)。
我通过进入恢复模式并删除 /etc/ureadahead-touch.conf 并在 android-tools-adb、android-tools-fastboot lxc-android-config 和 ubuntu-device-flash 的 Synaptic 中完全删除来解决此问题。
从命令行以下应该工作:
sudo rm /etc/ureadahead-touch.conf
sudo apt-get purge android-tools-adb android-tools-fastboot lxc-android-config ubuntu-device-flash
Run Code Online (Sandbox Code Playgroud)
我不确定其中哪些是导致问题的原因,但它们都将可能导致问题的东西放入 /etc 中。在此之后,我的系统正常启动。很可能是 lxc-android-config 导致问题的东西。
希望这将在未来避免其他人遇到同样的问题。通过禁用 plymouth 来禁用 Ubuntu 启动画面也很有帮助。
| 归档时间: |
|
| 查看次数: |
1308 次 |
| 最近记录: |