通过U盘已经可以正常引导BT5,但是执行startx启动桌面环境时发生黑屏死机的错误。我的电脑是Ideapad y460a,显卡是Intel的集成显卡,启动X环境导致黑屏死机的原因不明,强行关机后查看/var/log/Xorg.0.log得到的只有空文件。
经过反复试验,得出了如下解决方法:
首先,执行下面的命令,可以得到xorg.conf.new
Xorg -configure
将xorg.conf.new转移到/etc/X11目录下
mv xorg.conf.new /etc/X11
修改/etc/X11/xorg.conf,查找类似于下面的这一段,实际上就是配置显卡的一段
Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "SWcursor" # [<bool>] #Option "ColorKey" # <i> #Option "CacheLines" # <i> #Option "Dac6Bit" # [<bool>] #Option "DRI" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ShowCache" # [<bool>] #Option "XvMCSurfaces" # <i> #Option "PageFlip" # [<bool>] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Core Processor Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection
注意 Driver 部分,这个是采用的驱动,修改为vesa(即公版驱动),即改为下面这样
Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "SWcursor" # [<bool>] #Option "ColorKey" # <i> #Option "CacheLines" # <i> #Option "Dac6Bit" # [<bool>] #Option "DRI" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ShowCache" # [<bool>] #Option "XvMCSurfaces" # <i> #Option "PageFlip" # [<bool>] Identifier "Card0" Driver "vesa" VendorName "Intel Corporation" BoardName "Core Processor Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection
保存退出,执行startx,即可正常启动图形界面。
Free Software Foundation, Inc. Device syntax - GNU GRUB Manual 1.99. http://www.gnu.org/software/grub/manual/html_node/Device-syntax.html#Device-syntax