解决安装Ubuntu后,启动出现屏幕空白(全黑,无内容)
洒家闲来无事,想起原来曾经遇到过在笔记本上直接安装ubuntu出现过启动屏幕空白,无法继续安装的问题,因此这次打算来进行解决。
首先查了一下网上的资料,找到两帖。
第一帖:http://epheien.blogbus.com/logs/87731527.html
一、显卡(NVIDIA GeForce 310M)
启动时,在 grub 里加上 nomodeset 参数禁用 kms,不然会黑屏
安装驱动 NVIDIA-Linux-x86-256.53.run
修改 /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ConnectedMonitor" "DFP-0"
Option "CustomEDID" "DFP-0:/proc/acpi/video/IGPU/LCD0/EDID"
EndSection
加载 uvesafb 模块以修复启动 X 后切换控制台黑屏死机的问题
二、屏幕亮度
安装 hal 即可调整屏幕亮度,直接在 gnome 的电源管理里调节
sudo apt-get install hal
安装 acpid 和 acpi-support 可使调节屏幕亮度的快捷键工作,但是要自己写几个脚本。
三、声卡
安装软件库的内核声音模块
sudo apt-get install linux-backports-modules-alsa-lucid-generic-pae
或者手动安装 alsa 最新版本
四、触摸板
修改 /etc/default/grub,添加命令 i8042.nopnp,如下形式
GRUB_CMDLINE_LINUX="i8042.nopnp"
然后 sudo update-grub 更新
安装 gpointing-device-settings 进行管理
第二贴:http://www.ubuntugeek.com/how-to-fix-ubuntu-10-04-lts-lucid-blank-screen-at-startup.html
This seems to be happening with nVidia graphic cards to fix this problem try to use the following solution i hope this would help
Solution1
I have a HP Pavilion SLimline s7727c
with lspci giving me
VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2)
I was getting a blank screen (out of sync) on booting from the live cd.
I worked around the problem as follows:
* At install screen press F6 and select nomodeset and install Ubuntu as usual.
* On first boot after install, press e on getting the GRUB bootloader.
* Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
* Press Ctrl and X to boot
* You should now be able to login to your Ubuntu as usual
For those of you who do not know what to do next, in the taskbar click on System->Administration->Hardware drivers, and select and activate the nvidia current driver if you have an nvidia card like I do. The driver will be downloaded and activated automatically, and you will be prompted for a reboot.
Solution 2
Yes, I think you may be right about it being a graphics card problem. I think you may have the same problem that I did on my beat-up old Toshiba Satellite A10.
So, here is what should work:
At the very first screen, the one with just the rectangle (it’s meant to be a keyboard) and a human figure, press any key - spacebar will do.
Then choose your language.
Then make sure you have “Try Ubuntu without any changes” selected, and then press F6
Add this to the end of the command line:
i915.modeset=0 xforcevesa
Then press enter and it should boot successfully.
Solution 3
1. Boot from the Ubuntu 9.10 CD
2. Mount the internal HD and look for /etc/X11/xorg.conf - its missing!
3. Copy a new “known good” xorg.conf file to the HD (I had to use sudo cp … otherwise I got permission problems)
4. System boots fine.
我按照上面红色标注的内容进行操作,解决了这个问题。
但是发现每次重启都需要这样走一遍,因此需要将grub的配置文件修改掉:
sudo gedit /boot/grub/grub.cfg
在相应的quiet splash的地方改成nomodeset,保存退出即可!