关闭

ubuntu 10.11 启动frambuffer

160人阅读 评论(0) 收藏 举报
分类:
一:增加 16 17 两行
root@ubuntu10:/etc# cat    /etc/initramfs-tools/modules -n
     1 # List of modules that you want to include in your initramfs.
     2 #
     3 # Syntax:  module_name [args ...]
     4 #
     5 # You must run update-initramfs(8) to effect this change.
     6 #
     7 # Examples:
     8 #
     9 # raid1
    10 # sd_mod
    11 # Beginning of the block added by the VMware software
    12 INITRD_MODULES="vmxnet3
    13 vmw_pvscsi
    14 "
    15 # End of the block added by the VMware software
    16 fbcon
    17 vesafb

二。修改27行,禁用vesafb
root@ubuntu10:/etc# cat modprobe.d/blacklist-framebuffer.conf  -n
     1 # Framebuffer drivers are generally buggy and poorly-supported, and cause
     2 # suspend failures, kernel panics and general mayhem.  For this reason we
     3 # never load them automatically.
     4 blacklist aty128fb
     5 blacklist atyfb
     6 blacklist radeonfb
    20 blacklist rivafb
    21 blacklist s1d13xxxfb
    22 blacklist savagefb
    23 blacklist sisfb
    24 blacklist sstfb
    25 blacklist tdfxfb
    26 blacklist tridentfb
    27 #blacklist vesafb
    28 blacklist vfb
    29 blacklist viafb
    30 blacklist vt8623fb



三.修改75 行 加 vga=0x317 设置分辩率:
    68 ### BEGIN /etc/grub.d/10_linux ###
    69 menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    70 recordfail
    71 insmod part_msdos
    72 insmod ext2
    73 set root='(hd0,msdos1)'
    74 search --no-floppy --fs-uuid --set 1325507f-ff43-4fc4-b71d-9273f64fa6d4
    75 linux /boot/vmlinuz-2.6.35-27-generic root=UUID=1325507f-ff43-4fc4-b71d-9273f64fa6d4 ro  quiet splash vga=0x317
    76 initrd /boot/initrd.img-2.6.35-27-generic
    77 }
    78 menuentry 'Ubuntu, with Linux 2.6.35-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
四。执行命令:update-initramfs -u 生成新的镜像文件。重启
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(344) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:33171次
    • 积分:404
    • 等级:
    • 排名:千里之外
    • 原创:90篇
    • 转载:10篇
    • 译文:0篇
    • 评论:0条
    文章分类