我的博客:www.while0.com

我的博客:www.shishangguan.net

实在受不了屁大点的界面,果断百度,来源http://blog.csdn.net/yutao52shi/article/details/6223340

有时候不喜欢在图形界面下工作。喜欢在字符界面下更高效的学习,但是我的Ubuntu字符界面的分辨率很小(640*480)所以就去网上搜了一下,如何更改Ubuntu 的字符界面分辨率,后来找到了如下方法,在本机上更改成功,而且图形界面也一样能进去。

step1:

  1. vim /boot/grub/grub.cfg  

 这个文件是系统启动时候的GRUB 选项,我们要编辑这个文件里面的启动信息。

step2:找到我们平时使用的启动Ubuntu的那一块信息(我的是

  1. menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {  
  2.     recordfail  
  3.     insmod part_msdos  
  4.     insmod ext2  
  5.     set root='(hd0,msdos6)'  
  6.     search --no-floppy --fs-uuid --set 30b3c856-a931-44cf-bb03-99fa91fcc597  
  7.     linux   /boot/vmlinuz-2.6.35-22-generic root=UUID=30b3c856-a931-44cf-bb03-99fa91fcc597 ro   quiet splash vga=792  
  8.     initrd  /boot/initrd.img-2.6.35-22-generic  
  9. }  

 然后我们在linux/boot/vmlinuz-2.6.35-22-generic root=UUID=30b3c856-a931-44cf-bb03-99fa91fcc597 ro   quiet splash 后面加上这样一行信息就可以了!vga=792也就是现在我的启动信息为

  1. menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {  
  2.     recordfail  
  3.     insmod part_msdos  
  4.     insmod ext2  
  5.     set root='(hd0,msdos6)'  
  6.     search --no-floppy --fs-uuid --set 30b3c856-a931-44cf-bb03-99fa91fcc597  
  7.     linux   /boot/vmlinuz-2.6.35-22-generic root=UUID=30b3c856-a931-44cf-bb03-99fa91fcc597 ro   quiet splash vga=792  
  8.     initrd  /boot/initrd.img-2.6.35-22-generic  
  9. }  

 

这里说明下,VGA就是接口的意思,792的含义要理解请对照下表:

  1. depth-----640x480----800x600----1024x768-----1280x1024   
  2. 8bit---------769--------771--------773----------775   
  3. 15bit--------784--------787--------790----------793   
  4. 16bit--------785--------788--------791----------794   
  5. 24bit--------786--------789--------792----------795  

 

Over!!!

posted on 2012-11-20 10:26  money@money  阅读(488)  评论(0编辑  收藏  举报