在虛擬機上運行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