注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

Computer Science

I Pressed My Words Here. Will You Read ?

 
 
 

日志

 
 

关于Ubuntu启动时提示mountall: Plymouth command failed的解决经历  

2012-01-30 09:56:12|  分类: With Ubuntu |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
参考:

How To Fix "mountall: plymouth command failed" http://ubuntu.igameilive.com/2010/07/how-to-fix-plymouth-command-failed.html#comment-form

[SOLVED] Just ran into a Mountall/Plymouth problem  http://ubuntuforums.org/showthread.php?t=1357117&page=4

http://www.khattam.info/solved-error-mountall-could-not-connect-to-plymouth-mountall-main-process-x-terminated-with-status-1-2010-01-31.html

最近在系统启动时,速度很慢,即便在输入登录密码后,也需要等待很久。于是,在等待时,按Ctrl + Alt + F1进入第一个命令行终端,发现屏幕上写着:

mountall: Plymouth command failed

mountall: Disconnected from Plymouth

看不懂,于是立即在网上参了下,看了两篇文章。其中一篇是参考中第一文。
两篇文章的解决思路都是卸载掉nvidia的驱动。我看了看,好像我的这台及其不是nvidia驱动的。于是基本上参照参考中的第一文章来做。

will@computerscience.blog.163.com:~$ dpkg --get-selections | grep nvidia
nvidia-173-modaliases                install
nvidia-96-modaliases                install
nvidia-common                    install
nvidia-current                    install
nvidia-current-modaliases            install
nvidia-settings                    install

 可以发现我的系统中装的与Nvidia相关的包比参考文章中还多。关于Ubuntu启动时提示mountall: Plymouth command failed的解决经历 - WillMill - Computer Science
所以,就:

will@computerscience.blog.163.com:~$ sudo apt-get remove nvidia-96-modaliases
[sudo] password for will:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  nvidia-96-modaliases nvidia-common
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 258kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 279229 files and directories currently installed.)
Removing nvidia-common ...
Removing nvidia-96-modaliases ...
will@computerscience.blog.163.com:~$

本想先卸载掉看上去比较旧的96,看看只留173效果如何,结果顺带把nvidia-common也给卸载掉了。
再次执行查看命令:

will@computerscience.blog.163.com:~$ dpkg --get-selections | grep nvidia
nvidia-173-modaliases                install
nvidia-common                    deinstall
nvidia-current                    install
nvidia-current-modaliases            install
nvidia-settings                    install
will@computerscience.blog.163.com:~$

行,重启瞧瞧。
重启的速度倒是挺快的,不过到终端1中发现写着:

mountall: Disconnected from Plymouth

mountall: Plymouth command failed

mountall: Plymouth command failed

mountall: Plymouth command failed

mountall: Disconnected from Plymouth

……
是不是需要再将其他的也卸载呢哩?试试看吧:

will@computerscience.blog.163.com:~$ sudo apt-get remove nvidia-173-modaliases
[sudo] password for will:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  nvidia-173-modaliases
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 86.0kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 279204 files and directories currently installed.)
Removing nvidia-173-modaliases ...
will@computerscience.blog.163.com:~$

查看下:

will@computerscience.blog.163.com:~$ dpkg --get-selections | grep nvidia
nvidia-common                    deinstall
nvidia-current                    install
nvidia-current-modaliases            install
nvidia-settings                    install
will@computerscience.blog.163.com:~$

重启后:

mountall: Plymouth command failed
mountall: Disconnected from Plymouth

恩,要不我们再继续卸载?一次到底吧(除了nvidia-settings这个留到最后吧):

will@computerscience.blog.163.com:~$ sudo apt-get remove nvidia-common nvidia-current nvidia-current-modaliases
[sudo] password for will:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package nvidia-common is not installed, so not removed
The following packages will be REMOVED:
  nvidia-current nvidia-current-modaliases
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 78.3MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 279200 files and directories currently installed.)
Removing nvidia-current ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/mesa/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
Removing nvidia-current-modaliases ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for man-db ...
Processing triggers for python-support ...
will@computerscience.blog.163.com:~$

查看:

will@computerscience.blog.163.com:~$ dpkg --get-selections | grep nvidia
nvidia-common                    deinstall
nvidia-current                    deinstall
nvidia-settings                    install
will@computerscience.blog.163.com:~$

重启,说:

mountall: Disconnected from Plymouth

卸载settings并查看:

will@computerscience.blog.163.com:~$ sudo apt-get remove nvidia-settings
[sudo] password for will:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  nvidia-settings
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1,974kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 279054 files and directories currently installed.)
Removing nvidia-settings ...
Processing triggers for man-db ...
will@computerscience.blog.163.com:~$ dpkg --get-selections | grep nvidia
nvidia-common                    deinstall
nvidia-current                    deinstall
will@computerscience.blog.163.com:~$

重启。

Disconnected from Plymouth

又查了下,据http://forum.ubuntu.org.cn/viewtopic.php?f=77&t=298277说可以修复configure。不知对不对症:

will@computerscience.blog.163.com:~$ sudo dpkg --configure -a
[sudo] password for will:
will@computerscience.blog.163.com:~$

不起作用。
又在,http://ubuntuforums.org/showthread.php?t=1357117&page=4上看到sudo plymouth的命令。有待研究。
通过参考中第二文的sudo plymouth-set-default-theme --list:

will@computerscience.blog.163.com:~$ sudo plymouth --get-splash-plugin-path
/lib/plymouth/
will@computerscience.blog.163.com:~$ sudo plymouth-set-default-theme --list
sudo: plymouth-set-default-theme: command not found
will@computerscience.blog.163.com:~$



===============================
2012年2月6日 09时34分18秒 更新
===============================
参考:提前尝鲜Plymouth http://forum.ubuntu.org.cn/viewtopic.php?f=94&t=187699
文中介绍道:“Plymouth是新的图形化启动界面,使用了新的Kernel Mode-setting (KMS),能够提供绚丽平滑
无闪烁的启动界面。Plymouth由redhat开发,并最早在fedora上实现。现在ubuntu社区将它
移植到了 ubuntu上,并将集成到ubuntu 9.10版本,取代目前的usplash。”
"安装plymouth包。另外每次更新内核后,要执行dpkg --reconfigure libplymouth2来更新initrd。
如果没什么意外,用新的内核启动后应该就能出现plymouth动画效果了。"
故,尝试使用命令重新注册下:

will@computerscience.blog.163.com:~$ dpkg --reconfigure libplymouth2
dpkg: unknown option --reconfigure

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
will@computerscience.blog.163.com:~$ sudo dpkg --configure libplymouth2
[sudo] password for will:
dpkg: error processing libplymouth2 (--configure):
package libplymouth2 is already installed and configured
Errors were encountered while processing:
libplymouth2
will@computerscience.blog.163.com:~$

好像还是不行……待续……想找时间将Synaptic Package Manager中的libplymouth2重新装下,或者再将plymouth一起重新装下(估计在终端下做比较好。)

=============================================
2012年2月13日 09时59分36秒 更新
=============================================
后来想了想,好像不是libplymouth2的问题,至少那个是注册上了的。
于是今天上irssi #ubuntu-cn求助。(上星期前也问过一次,没人接招)。
今天运气不错,roylez向我介绍了个目录:/etc/cron.daily
他分析说是updatedb造成的,那个时候可能cpu不高,io高。
让我看/etc/cron.daily下是否有updatedb或mlocale。
于是,我发现 了mlocale。
他便建议将mlocale移动到/etc/cron.weekly下。
于是,我:
sudo mv /etc/cron.daily/mlocale /etc/cron.weekly/mlocale

顺便还发现了/etc下一系列叫cron.***的文件夹。恩,又涨知识了。
在此感谢roylez。
(PS:解决思路挺清晰的,效果待验证。)

=====================================
2012年2月14日09时12分50秒更新
=====================================
上次执行移动了mlocale后,一直没有重启系统。今天重启后发现system load average is 2.25。而且很快就降下来了。看来roylez讲的是正确的。(就在打这段字时,system load average值又逐渐升起来了。中文输入法没了响应。关掉firefox,等了几分钟才降下来。不过,不是启动后立即就这么高,前个问题应该是解决了的。)只是,mount all: Disconnected from Plymouth的问题还在。
  评论这张
 
阅读(4148)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017