首页 > 代码库 > Debian 7.6 新编译内核 3.15.6 开机加载黑屏

Debian 7.6 新编译内核 3.15.6 开机加载黑屏

需要手动加载 fbcon 这个模块,或者编译内核的时候,Framebuffer Console support 编译进内核(后者没测试过)。加在模块只要修改/etc/default/grub文件或者/boot/grub/grub.cfg文件,添加”vga=0x0314 fb:on“。修改/etc/default/grub文件需再运行grub-mkconfig.

jian@OS:~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 7.6 (wheezy)
Release:    7.6
Codename:    wheezy
jian@OS:~$ uname -a
Linux OS 3.15.6 #1 SMP Mon Jul 28 07:31:48 EDT 2014 x86_64 GNU/Linux
jian@OS:~$ cat /etc/default/grub | grep "vga=0x0314 fb:on"
GRUB_CMDLINE_LINUX_DEFAULT="vga=0x0314 fb:on quiet"
jian@OS:~$ cat /boot/grub/grub.cfg | grep "vga=0x0314 fb:on"
    linux    /boot/vmlinuz-3.15.6 root=UUID=cf00e300-589a-473d-86fc-992efeb01ea5 ro  vga=0x0314 fb:on quiet
    linux    /boot/vmlinuz-3.2.0-4-amd64 root=UUID=cf00e300-589a-473d-86fc-992efeb01ea5 ro  vga=0x0314 fb:on quiet

参考:http://www.cnblogs.com/MysticBoy/archive/2013/06/14/3135683.html

          http://www.linuxsir.org/bbs/thread374344.html