Ubuntu开机黑屏或花屏解决办法:
开机进入安全模式或叫恢复模式(双系统开机进入第2项(单系统开机时按shift键)-选择root或drop to root shell promot-点击ok)
# mount -o remount / (以读写的权限重新挂载系统)
# vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" (原为"quiet splash")
:wq
# update-grub
注:需先解决vi编辑器的问题
# vi /etc/vim/vimrc.tiny
:set nocompatible
:set backspace=2
按a或i进入编辑模式
set nocompatible (原为set compatible)
set backspace=2
:wq (保存并退出)
转载于:https://blog.51cto.com/yangzhiming/1142697