Content added Content deleted
imported>Phrack (New page: '''How to change the default Linux console screen resolution to 1024x768 (non-X)''' *open ''/boot/grub/menu.lst'' with your favorite text editor. *move down to the lines starting with "...) |
imported>mutante mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=== How to change the default Linux console screen resolution to 1024x768 (non-X)=== |
|||
*open |
*open <tt>/boot/grub/menu.lst</tt> with your favorite text editor. |
||
*move down to the lines starting with "kernel" like: |
*move down to the lines starting with "kernel" like: |
||
⚫ | |||
<pre> |
|||
⚫ | |||
</pre> |
|||
*according to your original line, just append |
*according to your original line, just append <tt>vga=791</tt> without quotes |
||
⚫ | |||
*example: |
|||
<pre> |
|||
⚫ | |||
</pre> |
|||
*save the file and quit your editor. reboot. |
*save the file and quit your editor. reboot. |
||
'''this is tested on various flavors of [[Debian]]. unfortunately it doesn't work on [[CentOS]]/[[RHEL]].''' |
|||
[[Category:Linux]] |
|||
[[Category:GNU]] |
|||
[[Category:Debian]] |
Latest revision as of 15:28, 26 February 2008
How to change the default Linux console screen resolution to 1024x768 (non-X)[edit]
- open /boot/grub/menu.lst with your favorite text editor.
- move down to the lines starting with "kernel" like:
kernel /vmlinuz-2.6.22-3-amd64 root=/dev/md1 ro single
- according to your original line, just append vga=791 without quotes
- example: kernel /vmlinuz-2.6.22-3-amd64 root=/dev/md1 ro single vga=791
- save the file and quit your editor. reboot.
this is tested on various flavors of Debian. unfortunately it doesn't work on CentOS/RHEL.