好的,这正是我昨天所做的,以及到目前为止我试图解决的问题。发行版是Ubuntu Server 12.04。
/etc/init
这就是浩劫开始的地方。我尝试通过 ssh 连接到机器,结果却收到有关无法连接的错误消息。所以我继续使用服务器本身,我看到引导过程挂在switching to clocksource tsc
. 我听到机器在工作,但没有任何反应,即使我让服务器坐了几分钟也没有反应。我似乎唯一能做的就是启动恢复模式。
我已经用谷歌搜索了一段时间,但似乎没有什么能解决这个问题。此外,在许多讨论中,我读到用户无法解决这个问题,所以我开始失去希望。
到目前为止我尝试过的:
sudo apt-get update && apt-get upgrade
,只是为了确保没有任何损坏的包或缺少依赖项sudo apt-get dist-upgrade
,只是为了确保它不是内核问题/boot/grub/grub.cfg
添加clocksource=hpet
到 Ubuntu 菜单项/sys/devices/system/clocksource/clocksource0/current_clocksource' from
tsc to
hpet`sudo apt-get purge nvidia*
这些都没有奏效。该系统现在表面上处于与引入 Upstart 脚本之前相同的状态(说实话,这可能根本不是问题)。
我发现启动到恢复模式并选择“恢复启动”是有效的(即我能够登录机器),但是当我重新启动以启动正常启动时,关机也会挂起。
另外,这是/var/log/boot.log
:
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
fsck from util-linux 2.20.1
/dev/sda1: clean, 414994/15138816 files, 43972717/60527360 blocks
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
* Starting modem connection manager^[[74G[ OK ]
* Starting mDNS/DNS-SD daemon^[[74G[ OK ]
* Starting bluetooth daemon^[[74G[ OK ]
* Starting NetBIOS name server^[[74G[ OK ]
* Starting network connection manager^[[74G[ OK ]
* Starting AppArmor profiles ^[[80G
^[[74G[ OK ]
* Stopping System V initialisation compatibility^[[74G[ OK ]
* Starting System V runlevel compatibility^[[74G[ OK ]
* Starting ACPI daemon^[[74G[ OK ]
* Starting anac(h)ronistic cron^[[74G[ OK ]
* Starting save kernel messages^[[74G[ OK ]
* Starting regular background program processing daemon^[[74G[ OK ]
* Starting deferred execution scheduler^[[74G[ OK ]
* Stopping save kernel messages^[[74G[ OK ]
* Starting LightDM Display Manager^[[74G[ OK ]
* Starting CPU interrupts balancing daemon^[[74G[ OK ]
* Stopping Send an event to indicate plymouth is up^[[74G[ OK ]
Run Code Online (Sandbox Code Playgroud)
所以这里没有错。
这是/var/log/syslog
:http : //pastebin.com/aDNbvTyp
现在,在我彻底放弃希望并恢复/重新安装之前,你们中有人遇到过这种情况吗?关于如何解决这个问题的任何其他建议?