![最近的 12.04 更新导致启动失败](https://linux22.com/image/836973/%E6%9C%80%E8%BF%91%E7%9A%84%2012.04%20%E6%9B%B4%E6%96%B0%E5%AF%BC%E8%87%B4%E5%90%AF%E5%8A%A8%E5%A4%B1%E8%B4%A5.png)
2013 年 6 月 3 日对系统进行的例行更新似乎导致我的 Ubuntu 12.04 无法启动。我尝试安装二进制 Nvidia 驱动程序,因为这之前曾给我带来过问题,但问题似乎出在别处。
这是来自 /var/log 的 boot.log。该过程实际上挂起了,我被迫重新启动。我猜它在 VMware 东西失败后某个地方挂起了。我不知道为什么它需要在启动期间启动 VMware。
fsck from util-linux 2.20.1
/dev/sda3: clean, 996914/5373952 files, 9550102/21484929 blocks
modem-manager[953]: <info> ModemManager (version 0.5.2.0) starting...
modem-manager[953]: <info> Loaded plugin Gobi
modem-manager[953]: <info> Loaded plugin Nokia
modem-manager[953]: <info> Loaded plugin Wavecom
modem-manager[953]: <info> Loaded plugin Option
modem-manager[953]: <info> Loaded plugin AnyData
modem-manager[953]: <info> Loaded plugin Generic
modem-manager[953]: <info> Loaded plugin MotoC
modem-manager[953]: <info> Loaded plugin ZTE
modem-manager[953]: <info> Loaded plugin Sierra
modem-manager[953]: <info> Loaded plugin Option High-Speed
modem-manager[953]: <info> Loaded plugin X22X
modem-manager[953]: <info> Loaded plugin Samsung
modem-manager[953]: <info> Loaded plugin Huawei
modem-manager[953]: <info> Loaded plugin Linktop
modem-manager[953]: <info> Loaded plugin Longcheer
modem-manager[953]: <info> Loaded plugin SimTech
modem-manager[953]: <info> Loaded plugin Novatel
modem-manager[953]: <info> Loaded plugin Ericsson MBM
* Starting mDNS/DNS-SD daemon[74G[ OK ]
* Stopping Userspace bootsplash[74G[ OK ]
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
* Starting AppArmor profiles [128G
[122G[ OK ]
* Stopping System V initialisation compatibility[74G[ OK ]
* Starting System V runlevel compatibility[74G[ OK ]
* Starting GNOME Display Manager[74G[ OK ]
* Starting save kernel messages[74G[ OK ]
* Starting anac(h)ronistic cron[74G[ OK ]
* Starting ACPI daemon[74G[ OK ]
* Starting CPU interrupts balancing daemon[74G[ OK ]
* Stopping GNOME Display Manager[74G[ OK ]
* Starting crash report submission daemon[74G[ OK ]
* Starting automatic crash report generation[74G[ OK ]
* Starting regular background program processing daemon[74G[ OK ]
* Starting deferred execution scheduler[74G[ OK ]
* Stopping anac(h)ronistic cron[74G[ OK ]
* Stopping save kernel messages[74G[ OK ]
Starting VMware services:
Virtual machine monitor[71Gfailed
Virtual machine communication interface[71Gfailed
VM communication interface socket family[71Gfailed
Blocking file system[71G done
Virtual ethernet[71Gfailed
VMware Authentication Daemon[71G done
speech-dispatcher disabled; edit /etc/default/speech-dispatcher
Raising maximum number of filedescriptors (ulimit -n) to 32768.
Starting tor daemon: tor...
Jun 03 20:14:33.272 [notice] Tor v0.2.2.35 (git-73ff13ab3cc9570d). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)
Jun 03 20:14:33.272 [notice] Initialized libevent version 2.0.16-stable using method epoll. Good.
Jun 03 20:14:33.272 [notice] Opening Socks listener on 127.0.0.1:9050
Jun 03 20:14:33.273 [notice] Opening Control listener on /var/run/tor/control
done.
* Starting the Winbind daemon winbind [128G
[122G[ OK ]
saned disabled; edit /etc/default/saned
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
* Starting web server apache2 [128G
[122G[ OK ]
* Starting anac(h)ronistic cron[74G[ OK ]
* Stopping anac(h)ronistic cron[74G[ OK ]
* Checking battery state... [128G
[122G[ OK ]
* Stopping System V runlevel compatibility[74G[ OK ]
* Starting CUPS printing spooler/server[74G[ OK ]
* Starting NetBIOS name server[74G[ OK ]
* Starting Mount network filesystems[74G[ OK ]
* Stopping Mount network filesystems[74G[ OK ]
* Starting emergency keypress handling[74G[ OK ]
acpid: exiting
* Stopping Bridge socket events into upstart[74G[ OK ]
* Stopping SMB/CIFS File Server[74G[ OK ]
* Stopping OpenSSH server[74G[ OK ]
* Stopping system logging daemon[74G[ OK ]
* Stopping ACPI daemon[74G[ OK ]
* Stopping CPU interrupts balancing daemon[74G[ OK ]
* Stopping regular background program processing daemon[74G[ OK ]
* Stopping deferred execution scheduler[74G[ OK ]
* Stopping NetBIOS name server[74G[ OK ]
* Stopping automatic crash report generation[74G[ OK ]
* Stopping Initialize or finalize resolvconf[74G[ OK ]
* Stopping emergency keypress handling[74G[ OK ]
* Starting System V runlevel compatibility[74G[ OK ]
* Starting save system clock to hardware clock[74G[ OK ]
* Starting save sound card(s') mixer state(s)[74G[ OK ]
* Stopping save sound card(s') mixer state(s)[74G[ OK ]
* Stopping save system clock to hardware clock[74G[ OK ]
Stopping VMware services:
VMware Authentication Daemon[71G done
VM communication interface socket family * Stopping device node and kernel event manager[74G[ OK ]
* Stopping Bridge udev events into upstart[74G[ OK ]
* Stopping crash report submission daemon[74G[ OK ]
[71G done
Virtual machine communication interface[71G done
Virtual machine monitor[71G done
Blocking file system * Starting emergency keypress handling[74G[ OK ]
* Stopping emergency keypress handling[74G[ OK ]
* Starting save system clock to hardware clock[74G[ OK ]
* Starting store software rfkill state[74G[ OK ]
* Starting save sound card(s') mixer state(s)[74G[ OK ]
* Stopping store software rfkill state[74G[ OK ]
* Stopping save sound card(s') mixer state(s)[74G[ OK ]
* Starting emergency keypress handling[74G[ OK ]
* Stopping emergency keypress handling[74G[ OK ]
* Starting store software rfkill state[74G[ OK ]
* Starting save sound card(s') mixer state(s)[74G[ OK ]
* Stopping store software rfkill state[74G[ OK ]
* Starting emergency keypress handling[74G[ OK ]
* Stopping emergency keypress handling[74G[ OK ]
* Starting store software rfkill state[74G[ OK ]
* Stopping store software rfkill state[74G[ OK ]
[71G done
* Starting emergency keypress handling[74G[ OK ]
* Stopping emergency keypress handling[74G[ OK ]
* Starting store software rfkill state[74G[ OK ]
* Stopping store software rfkill state[74G[ OK ]
* Stopping save sound card(s') mixer state(s)[74G[ OK ]
* Starting emergency keypress handling[74G[ OK ]
* Stopping emergency keypress handling[74G[ OK ]
* Starting store software rfkill state[74G[ OK ]
* Starting save sound card(s') mixer state(s)[74G[ OK ]
* Stopping store software rfkill state[74G[ OK ]
* Stopping save sound card(s') mixer state(s)[74G[ OK ]
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
* Stopping CUPS printing spooler/server[74G[ OK ]
... waiting * Stopping save system clock to hardware clock[74G[ OK ]
. * Stopping web server apache2 [128G
[122G[ OK ]
speech-dispatcher disabled; edit /etc/default/speech-dispatcher
Stopping tor daemon: tor.
* Stopping the Winbind daemon winbind [128G
[122G[ OK ]
[33m*[39;49m No VPN is running.
Checking for running unattended-upgrades:
* Asking all remaining processes to terminate... [128G
[122G[ OK ]
* All processes ended within 2 seconds.... [128G
[122G[ OK ]
* Stopping bluetooth daemon[74G[ OK ]
* Stopping mDNS/DNS-SD daemon[74G[ OK ]
* Stopping network connection manager[74G[ OK ]
nm-dispatcher.action: Caught signal 15, shutting down...
modem-manager[953]: <info> Caught signal 15, shutting down...
* Deconfiguring network interfaces... [128G
[122G[ OK ]
* Deactivating swap... [128G
[122G[ OK ]
mount: / is busy
* Will now restart
答案1
我遇到了类似的问题...我被告知检查位于 /home/your_username 中的名为 .Xauthority 的隐藏文件的权限。
如果权限由 root 拥有,您将无法登录系统,并且会卡在启动会话中。
使用 chown 命令更改权限以成为 Xauthority 的所有者,然后您就应该能够登录。