个人工具

UbuntuHelp:LaptopSmallConsole

来自Ubuntu中文

Wikibot讨论 | 贡献2007年11月30日 (五) 20:02的版本

跳转至: 导航, 搜索

Toshiba Tecra 8000 (and, probably, other models, too) can not display other video mode than 1024x786. Both Warty and Hoary uses 640x480 framebuffer for console stuff. This looks very bad on my laptop, because I'm getting small, black square in the middle and the rest of the screen sits unused. But we're in luck, because fixing this issue is very easy. Use a text editor to load /boot/grub/menu.lst

gksudo gedit /boot/grub/menu.lst

Look for a similar entry:

title         Ubuntu, kernel 2.6.15-27-386
root          (hd0,0)
kernel        /boot/vmlinuz-2.6.15-27-386 root=/dev/hda1 ro quiet splash
initrd        /boot/initrd.img-2.6.15-27-386
savedefault
boot

Add the following to the end of the kernel entry

vga=791

The new entry should now be:

kernel        /boot/vmlinuz-2.6.15-27-386 root=/dev/hda1 ro quiet splash vga=791

Save it Next time you'll boot your laptop, you'll have 1024x768x16. Enjoy your console. :-)