VMWARE里安装时出现'SMBus Host Controller not enabled'

在虚拟机上运行Linux内核版本为4.7或以上的系统都在安装过程当中或在启动时会由于加载intel_powerclamp驱动而致使崩溃。
解决办法:
1.在启动Ubuntu的时候按住左Shift键;
2.Ubuntu开机时将显示GRUB启动选项;
3.接下来选择Ubuntu的高级选项(Advanced options for Ubuntu);
4.而后进入Ubuntu的恢复模式(Ubuntu, with Linux 4.7.x.x-generic (recovery mode));
5.在Recovery Menu中选择root进入root shell;
6.输入以下命令:php

代码:shell

mount -o remount,rw /ubuntu

7.打开blacklist.conf.net

代码:blog

vi /etc/modprobe.d/blacklist.confip


8.在文件最后添加一行rem

代码:虚拟机

blacklist intel_powerclampit

9.重启io

代码:

reboot

参考:http://forum.ubuntu.org.cn/viewtopic.php?t=481315

单用户模式下mount -o remount,rw / 有大用途

 咱们的Linux系统在没法启动时候,一般须要进入单用户模式下进行修改一些配置文件,或调整一些参数方可。可是在进入单用户模式后,咱们的/文件系统是只读模式,没法进行修改,那么这个时候咱们就须要用到一条命令:mount –o remount,rw / 这个命令来让咱们的/路径文件系统为可读模式,这样就能够实现自由修改了。

例如:

增长了/etc/mtab

/dev/sdb1 /install ext3 rw 0 0

/etc/fstab

LABEL=/install /install ext3 defaults 1 2

而后系统重起:就起不来了,提示

give root password for maintenance
(or type control-d to continue:)

输入root 密码后,进入系统了,想把增长的内容去掉.但提示是只读.不让修改

采用下面方法

mount -o remount, rw /

because root directory / is mounted inread only mode. type follwing command, then you should be able to editrc.sysint script.

如今再去修改MTAB/FSTAB文件就能够了.最后reboot ,系统启动成功

参考:http://blog.csdn.net/wuweilong/article/details/40796015

相关文章
相关标签/搜索