ubuntu 10.11 启动frambuffer

一:增加 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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值