Find the answer to your Linux question:
Results 1 to 6 of 6
Using Debian Squeeze I'm trying to adjust the font size on the terminal when I boot up and when I use a terminal such as ctrl + alt +F1. The ...
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    135

    How to adjust fonts on terminal?

    Using Debian Squeeze

    I'm trying to adjust the font size on the terminal when I boot up and when I use a terminal such as ctrl + alt +F1. The fonts now are too small.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    If you are talking about console fonts, you can set them to different sizes by editing your bootloader configuration file.

    Which bootloader and version are you using?
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Newbie
    Join Date
    Dec 2008
    Posts
    135
    Quote Originally Posted by ozar View Post
    If you are talking about console fonts, you can set them to different sizes by editing your bootloader configuration file.
    I'm referring to the non graphical terminals I get with ctrl + alt + (f1-f6). I'm not sure if these are consoles.

    Thanks

    Which bootloader and version are you using?
    root@Squeeze:~# grub-install -v
    grub-install (GRUB) 1.98+20100804-14

    This is grub2

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    GRUB2 offers more options than GRUB Legacy, so therefore is more complex with its configuration files, plus it is still experimental and things change quite often with new releases. I've not used GRUB2 for about the last year, and no run Debian so don't know how they are currently configuring their version of GRUB2. Hopefully someone that is will reply with more info for you.

    In the interim, you can check the following GRUB2 HowTo and forum post for some info that might get you get your fonts the way you want them. Look closely at the GFXMODE and GFXPAYLOAD options:

    https://help.ubuntu.com/community/Grub2

    Debian User Forums - Grub2 and framebuffer
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Just Joined!
    Join Date
    Jan 2009
    Posts
    47
    so that guide kind of worked for me. I got my grub edited and updated. during boot the resolution is sexxxxy. but after i boot, get logged in, and change to tty mode. The resolution is still the default size.
    here is my grub.cfg

    menuentry 'Debian GNU/Linux, with Linux 2.6.27.29-4-grsec' --class debian --class gnu-linux --class gnu --class os {
    insmod part_msdos
    insmod xfs
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set 7887566a-75a6-4c87-900a-32f7118c433f
    echo 'Loading Linux 2.6.27.29-4-grsec ...'
    linux /boot/vmlinuz-2.6.27.29-4-grsec root=UUID=7887566a-75a6-4c87-900a-32f7118c433f ro vga=0x0369 quiet splash nomodeset video=uvesafb:mode_option=1680x1050-24,mtrr=3,scroll=ywrap
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.27.29-4-grsec
    }

  6. #6
    Linux Guru
    Join Date
    May 2011
    Posts
    1,813
    I get the desired effect with the proper vga=xxx setting. Have you tried a simpler kernel args line? e.g.:
    Code:
    linux /boot/vmlinuz-2.6.27.29-4-grsec root=UUID=7887566a-75a6-4c87-900a-32f7118c433f ro vga=0x0369
    Your vga= value doesn't jive w/the kernel documentation. These are the kernel mode numbers, per Documentation/fb/vesafb.txt:
    Code:
        | 640x480  800x600  1024x768 1280x1024
    ----+-------------------------------------
    256 |  0x301    0x303    0x305    0x307
    32k |  0x310    0x313    0x316    0x319
    64k |  0x311    0x314    0x317    0x31A
    16M |  0x312    0x315    0x318    0x31B
    Maybe try one of them...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •