Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Did Debian's text console font change recently? How to get the old one back?

324 views
Skip to first unread message

Ant

unread,
Oct 1, 2009, 3:42:13 PM10/1/09
to
Hello.

On 9/24/2009 night, I had to reboot (shutdown -r now) my old Debian box
after over 150 days of uptime due to a hard X crash (found out it was
from Compiz crashing in KDE v3.5.10; see
http://forum.compiz-fusion.org/showthread.php?t=11946 for details [still
unresolved as I type this]).

When I booted up, I noticed the text console font looked different as
thin, slightly bigger, etc. They reminded me of Windows XP's ugly text
fonts when running chkdsk. I do not use GUI/X and go directly to text
mode login when booting up Debian/Linux. I prefer the old font
(http://androidzaurus.up.seesaa.net/image/console.png and
http://noisybox.net/computers/nzbperl/images/nzbperl_0.5_textconsole.gif
as examples; yes, I am old school). Is there a way to get that look
back? CMOS and BIOS show the good font I like, but not Debian's boot up.

Thank you in advance. :)
--
"I'm not afraid of insects taking over the world, and you know why? It
would take about a million ants just to aim a gun at me, let alone fire
it. And you know what I'm doing while they're aiming it at me? I just
sort of slip off to the side, and then suddenly run up and kick the gun
out of their hands." --Jack Handy from Saturday Night Live
/\___/\
/ /\ /\ \ Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Please nuke ANT if replying by e-mail.
( )

The Natural Philosopher

unread,
Oct 1, 2009, 3:47:05 PM10/1/09
to
Ant wrote:
> Hello.
>
> On 9/24/2009 night, I had to reboot (shutdown -r now) my old Debian box
> after over 150 days of uptime due to a hard X crash (found out it was
> from Compiz crashing in KDE v3.5.10; see
> http://forum.compiz-fusion.org/showthread.php?t=11946 for details [still
> unresolved as I type this]).
>
> When I booted up, I noticed the text console font looked different as
> thin, slightly bigger, etc. They reminded me of Windows XP's ugly text
> fonts when running chkdsk. I do not use GUI/X and go directly to text
> mode login when booting up Debian/Linux. I prefer the old font
> (http://androidzaurus.up.seesaa.net/image/console.png and
> http://noisybox.net/computers/nzbperl/images/nzbperl_0.5_textconsole.gif
> as examples; yes, I am old school). Is there a way to get that look
> back? CMOS and BIOS show the good font I like, but not Debian's boot up.
>
> Thank you in advance. :)
Er..yes. I managed to reconfigure mine as well. I forget what I did.

Followed some script I found by googling I think.

The good news is you can make it whatever you like.


The bad news is, I forget how..

ah..

"To reset the console font back to what it was before, you just run
dpkg-reconfigure console-setup and then choose "VGA" as your console font."

Wanna-Be Sys Admin

unread,
Oct 1, 2009, 4:30:51 PM10/1/09
to
Ant wrote:

> I do not use GUI/X and go directly to text
> mode login when booting up Debian/Linux.

Just curious why don't you just not boot into X/GDE then? That itself
may solve the problem, and you'll usea lot less resources in the
process.
--
Not really a wanna-be, but I don't know everything.

J G Miller

unread,
Oct 1, 2009, 5:32:30 PM10/1/09
to
On Thu, 01 Oct 2009 20:47:05 +0100, The Natural Philosopher wrote:

> "To reset the console font back to what it was before, you just run
> dpkg-reconfigure console-setup and then choose "VGA" as your console
> font."

This changes the entry for FONTFACE in /etc/default/console-setup.

Take a look at that file should you wish to make the change directly,
and to see what else can be configured for console-setup.

Ant

unread,
Oct 1, 2009, 7:06:29 PM10/1/09
to

Thanks, but what was it before the change? I have no idea. :( IIRC, it
was 80x24 characters?

J G Miller

unread,
Oct 1, 2009, 7:17:11 PM10/1/09
to
On Thu, 01 Oct 2009 18:06:29 -0500, Ant wrote:

> Thanks, but what was it before the change? I have no idea.

Presumably

FONTFACE="VGA"
FONTSIZE="16"

> IIRC, it was 80x24 characters?

That is determined by the mode into which you boot.

If you want a higher resolution screen you would append eg vga=791 to
the kernel line in the /boot/grub/menu.lst file and you will get
something like 132x42.

Ant

unread,
Oct 1, 2009, 8:50:05 PM10/1/09
to
In alt.os.debian J G Miller <mil...@yoyo.org> wrote:
> On Thu, 01 Oct 2009 18:06:29 -0500, Ant wrote:

> > Thanks, but what was it before the change? I have no idea.

> Presumably

> FONTFACE="VGA"
> FONTSIZE="16"

Thanks. Before I changed it, it was:
FONTFACE="Fixed"
FONTSIZE="16"

I haven't rebooted it yet to check the settings out. I will later. If
still unresolved, then I will follow-up.


> > IIRC, it was 80x24 characters?

> That is determined by the mode into which you boot.

> If you want a higher resolution screen you would append eg vga=791 to
> the kernel line in the /boot/grub/menu.lst file and you will get
> something like 132x42.

Grub doesn't bug me since I only see it for two seconds or whatever the
default value is. ;)

J G Miller

unread,
Oct 2, 2009, 6:25:08 AM10/2/09
to
On Thu, 01 Oct 2009 19:50:05 -0500, Ant wrote:

> I haven't rebooted it yet to check the settings out. I will later.

You should not need to reboot to reset the console fonts or properties.

Just try running "/etc/init.d/console-setup start"

> Grub doesn't bug me since I only see it for two seconds or whatever the
> default value is. ;)

Grub may not bug you :) but you need the vga=791 parameter on the kernel
parameter line in order to set the resolution of the console terminals
by default.

After booting, you can run fbset with the appropriate parameters,
but sometimes (not always) this can cause corruption of the X display
appearance on vt07.

Ant

unread,
Oct 3, 2009, 5:03:17 PM10/3/09
to
On 10/2/2009 3:25 AM PT, J G Miller typed:

>> I haven't rebooted it yet to check the settings out. I will later.
>
> You should not need to reboot to reset the console fonts or properties.
>
> Just try running "/etc/init.d/console-setup start"

Even better (no reboot). Heh, I had to run command this outside of X and
not via ssh (thought it would take changes right away when I checked on
my local console). ;) Now, it looks better. I did see the font
differences since it was changed in real-time on screen. It is basically
the same for widths and heights. Font was just different for being thin
vs. bolded. I like bold (old school). ;)


>> Grub doesn't bug me since I only see it for two seconds or whatever the
>> default value is. ;)
>
> Grub may not bug you :) but you need the vga=791 parameter on the kernel
> parameter line in order to set the resolution of the console terminals
> by default.

Oh are you saying even if I changed the setting, I need to change's grub
side too? Wow. I forgot to mention that both legacy Grub and Grub v2
showed the weird console text problems in the past.

Now that you tell me I need to set this in Grub, where is that set? I
looked at /boot/grub/grub.cfg and saw this section:

# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set 8d0bf8c2-1358-4b2f-aa9a-d13ea676c647
if loadfont /share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set timeout=5
### END /etc/grub.d/00_header ###
...

A bit scared to edit since it has that do not edit warning. :(
--
"Is this stuff any good for ants?" "No, it kills them." --unknown
/\___/\
/ /\ /\ \ Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)


| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net

\ _ / Nuke ANT from e-mail address: phi...@earthlink.netANT
( ) or ANT...@zimage.com
Ant is currently not listening to any songs on his home computer.

Marcel Bruinsma

unread,
Oct 3, 2009, 11:49:30 PM10/3/09
to
Am Samstag, 3. Oktober 2009 23:03, Ant a écrit :

[ vga=791 ]


>
> Now that you tell me I need to set this in Grub, where is that set?

/etc/default/grub

GRUB_CMDLINE_LINUX="vga=791"

--
printf -v email $(echo \ 155 141 162 143 145 154 142 162 165 151 \
156 163 155 141 100 171 141 150 157 157 056 143 157 155|tr \ \\\\)
# Live every life as if it were your last! #

Nico Kadel-Garcia

unread,
Oct 4, 2009, 9:53:59 AM10/4/09
to
On Oct 3, 11:49 pm, Marcel Bruinsma <m...@nomail.afraid.org> wrote:
> Am Samstag, 3. Oktober 2009 23:03, Ant a écrit :
>
> [ vga=791 ]
>
>
>
> > Now that you tell me I need to set this in Grub, where is that set?
>
> /etc/default/grub
>
> GRUB_CMDLINE_LINUX="vga=791"

Is this sort of thing built into recent versions of grub
automatically, or is it Debian specific? I just had the fun of getting
Fedora 11 running under Microsoft VIrtual PC, and would welcome a
place like that to set the console text formats.

Marcel Bruinsma

unread,
Oct 4, 2009, 1:04:55 PM10/4/09
to
Am Sonntag, 4. Oktober 2009 15:53, Nico Kadel-Garcia a écrit :

> On Oct 3, 11:49 pm, Marcel Bruinsma <m...@nomail.afraid.org> wrote:
>
>> /etc/default/grub
>>
>> GRUB_CMDLINE_LINUX="vga=791"
>
> Is this sort of thing built into recent versions of grub
> automatically,

Yes, this is grub2, which no longer uses the menu.lst file
used by legacy grub. The new configuration file is named
grub.cfg (in /boot/grub), which is build by update-grub2.
The input files for update-grub2 are in /etc/grub.d, and
start with a two digit number (like the udev rules).
-


> or is it Debian specific?

The path /etc/default/grub is Debian specific, but an
equivalent file with the grub2 default settings should
be available under other distributions too.

> I just had the fun of getting Fedora 11 running under
> Microsoft VIrtual PC, and would welcome a place like
> that to set the console text formats.

Legacy grub : edit /boot/grub/menu.lst
Add "vga=791" (without the quotes, and replace 791
by the appropriate mode) to the kernel options.

Grub2 : do *not* edit /boot/grub/grub.cfg. Try,
find /etc -type f -exec fgrep -l GRUB_DEFAULT {} +
to locate the grub2 defaults file, edit, then run
update-grub2 to create a new grub.cfg (you might
want to make a backup first :) ).

Ant

unread,
Oct 4, 2009, 1:16:52 PM10/4/09
to
On 10/3/2009 8:49 PM PT, Marcel Bruinsma typed:

> Am Samstag, 3. Oktober 2009 23:03, Ant a écrit :
>
> [ vga=791 ]
>> Now that you tell me I need to set this in Grub, where is that set?
>
> /etc/default/grub
>
> GRUB_CMDLINE_LINUX="vga=791"

Thanks. I will try that later. ;)
--
"Trivial hurts, tiny human accidents," said Firenze, as his hooves
thudded over the mossy floor. "These are of no more significance than
the scurryings of ants to the wide universe, and are unaffected by
planetary movements." --Harry Potter book


/\___/\
/ /\ /\ \ Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Nuke ANT from e-mail address: phi...@earthlink.netANT
( ) or ANT...@zimage.com

Ant is/was listening to a song on his home computer: PeckaPrime -
Synaptic drift [P'] (ID: 275306)

Nico Kadel-Garcia

unread,
Oct 5, 2009, 12:26:27 AM10/5/09
to
On Oct 4, 1:04 pm, Marcel Bruinsma <m...@nomail.afraid.org> wrote:

> Grub2 : do *not* edit /boot/grub/grub.cfg.  Try,
>   find /etc -type f -exec fgrep -l GRUB_DEFAULT {} +
> to locate the grub2 defaults file, edit, then run
> update-grub2 to create a new grub.cfg (you might
> want to make a backup first  :) ).

Oh, for cripe's sake:

grep -irl GRUP_DEFAULT /etc

is much, much simpler to write. It will descend symbolic links, but
that's probably not a problem.

Marcel Bruinsma

unread,
Oct 5, 2009, 2:44:54 AM10/5/09
to
Am Montag, 5. Oktober 2009 06:26, Nico Kadel-Garcia a écrit :

> On Oct 4, 1:04 pm, Marcel Bruinsma <m...@nomail.afraid.org> wrote:
>
>> find /etc -type f -exec fgrep -l GRUB_DEFAULT {} +
>

> Oh, for cripe's sake:
>
> grep -irl GRUP_DEFAULT /etc
>
> is much, much simpler to write. It will descend symbolic links, but
> that's probably not a problem.

1) I cannot decide whether following symlinks may or may not
cause problems on an unknown (to me) system.
2) Grep defaults to --devices=read.

Using find with the '-type f' operand is safe, 'grep -r' is not.

Ant

unread,
Jun 4, 2010, 10:26:38 AM6/4/10
to
On 10/3/2009 2:03 PM PT, Ant typed:

>>> I haven't rebooted it yet to check the settings out. I will later.
>>
>> You should not need to reboot to reset the console fonts or properties.
>>
>> Just try running "/etc/init.d/console-setup start"
>

> Even better (no reboot). Heh, I had to run command this outside of X and
> not via ssh (thought it would take changes right away when I checked on
> my local console). ;) Now, it looks better. I did see the font
> differences since it was changed in real-time on screen. It is basically
> the same for widths and heights. Font was just different for being thin
> vs. bolded. I like bold (old school). ;)

Weird, I rebooted today and saw my tiny fonts and more characters on
screen. Also, this trick doesn't work anymore. :(
--
..."Like me with the anthill in my backyard. I spent days watching the
ants, trying to figure out which ones were good, and which ones were
bad, but they all just looked like ants, so I started smiting all of
them." "Well that's not --" "I was smiting them with the garden hose,
and with lighter fluid, and with the lawnmower, and to be perfectly
honest, I think I went a little crazy with the shovel. Those ants could
have been praying to me all day, I wouldn't have heard them." "There was
nothing they could do about it." "But, I don't think --" "Really, it's
the same with us. There's nothing we can do about anything either, so
why worry about it? Hey, this is making me feel better." "Well, that's
good, but --" "I guess all we can do is live our lives with as much
kindness and decency as possible, and try not to dwell on God standing
over us with a giant shovel."...--Dewey and Teacher in Day Care episode
from Malcolm in the Middle
/\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / If crediting, then use Ant nickname and AQFL URL/link.
( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.

Message has been deleted

Ant

unread,
Jun 5, 2010, 10:03:10 AM6/5/10
to
On 6/4/2010 7:32 AM PT, Ant typed:

> In alt.os.debian J G Miller <mil...@yoyo.org> wrote:

> > On Thu, 01 Oct 2009 20:47:05 +0100, The Natural Philosopher wrote:
> >
> > > "To reset the console font back to what it was before, you just run
> > > dpkg-reconfigure console-setup and then choose "VGA" as your console
> > > font."
>
> > This changes the entry for FONTFACE in /etc/default/console-setup.
>
> > Take a look at that file should you wish to make the change directly,
> > and to see what else can be configured for console-setup.
>

> I rebooted today after almost a month of uptime to upgrade my old
> Debian's Kernel v2.6.32-4-686 to v2.6.32-5-686. Now, I see my fonts are
> tiny with more areas to show.
>
> I tried the above suggestions, but they did not work. Am I missing
> something?

OK, I think I got it working. According to NVIDIA's Danix forum thread
(http://www.nvnews.net/vbulletin/showthread.php?p=2263528) replies,
Debian's Kernel 2.6.32-5 has Nouveau. It is conflicting NVIDIA driver
compilations and setting my text console changes. Hence, why others and
I could not change anything and compile any NVIDIA drivers.

How annoying. Is there a reason why Debian enabled Nouveau?
--
"The greatest enemies of ants are other ants, just as the greatest
enemies of men are other men." --Auguste Forel

Message has been deleted
0 new messages