个人工具

“UbuntuHelp:LaptopSmallConsole”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/LaptopSmallConsole}}
 
{{From|https://help.ubuntu.com/community/LaptopSmallConsole}}
 
{{Languages|UbuntuHelp:LaptopSmallConsole}}
 
{{Languages|UbuntuHelp:LaptopSmallConsole}}
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.
+
Toshiba Tecra 8000 cannot display video modes other than 1024x786. Both Warty and Hoary use a 640x480 framebuffet. This causes only the center of the monitor to be used. However, this issue is easily fixed.
Use a text editor to load ''/boot/grub/menu.lst''  
+
1. Load ''/boot/grub/menu.lst''.
 +
 
 
<pre><nowiki>
 
<pre><nowiki>
 
gksudo gedit /boot/grub/menu.lst
 
gksudo gedit /boot/grub/menu.lst
 
</nowiki></pre>
 
</nowiki></pre>
Look for a similar entry:
+
2. Look for the following entry:
 +
 
 
<pre><nowiki>
 
<pre><nowiki>
 
title        Ubuntu, kernel 2.6.15-27-386
 
title        Ubuntu, kernel 2.6.15-27-386
第15行: 第17行:
 
boot
 
boot
 
</nowiki></pre>
 
</nowiki></pre>
Add the following to the end of the kernel entry
+
3. Add the following to the end of the third line:
 +
 
 
<pre><nowiki>
 
<pre><nowiki>
 
vga=791
 
vga=791
第23行: 第26行:
 
kernel        /boot/vmlinuz-2.6.15-27-386 root=/dev/hda1 ro quiet splash vga=791
 
kernel        /boot/vmlinuz-2.6.15-27-386 root=/dev/hda1 ro quiet splash vga=791
 
</nowiki></pre>  
 
</nowiki></pre>  
Save it
+
4. Save the file and reboot.
Next time you'll boot your laptop, you'll have 1024x768x16. Enjoy your console. :-)
+
 
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年4月23日 (三) 11:32的版本

Toshiba Tecra 8000 cannot display video modes other than 1024x786. Both Warty and Hoary use a 640x480 framebuffet. This causes only the center of the monitor to be used. However, this issue is easily fixed. 1. Load /boot/grub/menu.lst.

gksudo gedit /boot/grub/menu.lst

2. Look for the following 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

3. Add the following to the end of the third line:

vga=791

The new entry should now be:

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

4. Save the file and reboot.