安装更新后Ubuntu 12.04未加载 – initctl:事件失败

更新我的Ubuntu安装后,我尝试加载它时会出现一个空白屏幕。 我有Windows双启动工作正常。

进入recovery mode – > resume normal boot会给我以下错误:

 swapon: /dev/disk/by-uuid/18ed9859-1325-4121-96c8-2e696055454e: swapon failed: Device or resource busy mountall: swapon /dev/disk/by-uuid/18ed9859-1325-4121-96c8-2e696055454e [3542] terminated with status 255 mountall: Problem activating swap: /dev/disk/by-uuid/18ed9859-1325-4121-96c8-2e696055454e modem-manager[3694]:  ModemManager (version 0.5.2.0) starting... modem-manager[3694]:  Loaded plugin X22X Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox Skipping profile in /etc/apparmor.d/disable: user.sbin.rsyslogd * Starting AppArmor profiles [OK] initctl: Event failed 

不确定其他信息是否有用,但这些是我的一些规格:

 Intel Core i5-4430 3.00GHz NVIDIA GeForce GTX 660 Ti Linux 3.5.0-45-generic Ubuntu 12.04 

我试过的事情( 来自这个问题 ):

 # went in to CLI with CTRL+ALT+F1: sudo apt-get purge nvidia-current sudo apt-get install nvidia-current sudo reboot # made sure all dependencies are ok: sudo apt-get -f install 

完成上述操作后,我没有得到swapon通知,但仍然是AppArmor问题。

我不知道还有什么要检查(或如何检查)以调试此问题,非常感谢任何帮助。

您必须通过在虚拟控制台上运行以下命令( Ctrl + Alt + F1 )来删除与nvidia相关的所有软件包,

 sudo apt-get purge nvidia* 

然后通过运行这个重启你的电脑,

 sudo shutdown -r now 

我希望它会奏效。