LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14 Boot CD Question (http://www.linuxquestions.org/questions/slackware-14/slackware-14-boot-cd-question-4175439794/)

Alkerak 12-03-2012 06:56 AM

Slackware 14 Boot CD Question
 
Hello

Weird Question. When I boot up from the CD, what is the default console font?

Thanks.

business_kid 12-03-2012 07:35 AM

Have you checked the kernel config to see what's compiled in? Otherwise, the symlink 'default' usually exists somewhere like usr/share/kbd/consolefonts/i386/qwerty and that symlink will point to the font.

Alkerak 12-03-2012 07:37 AM

Quote:

Originally Posted by business_kid (Post 4841696)
Have you checked the kernel config to see what's compiled in? Otherwise, the symlink 'default' usually exists somewhere like usr/share/kbd/consolefonts/i386/qwerty and that symlink will point to the font.

How do I check the kernel config? I am a noob on slackware.

Also, on the default live cd there is no usr/share/kbd/consolefonts ... path.

onebuck 12-03-2012 08:01 AM

Member Response
 
Hi,

Welcome to LQ & Slackware!

If you look at;
Quote:

ls /boot
README.initrd@ System.map-generic-3.2.29 boot.0800 config@ config-huge-3.2.29 map slack.bmp vmlinuz@ vmlinuz-huge-3.2.29
System.map@ System.map-huge-3.2.29 boot_message.txt config-generic-3.2.29 inside.bmp onlyblue.bmp tuxlogo.bmp vmlinuz-generic-3.2.29
Please look at 'man ls' to understand the option;

Quote:

buck1:~# ls -al /boot
total 14492
drwxr-xr-x 2 root root 4096 Sep 27 09:13 ./
drwxr-xr-x 22 root root 4096 Nov 23 07:34 ../
lrwxrwxrwx 1 root root 37 Sep 24 13:42 README.initrd -> /usr/doc/mkinitrd-1.4.7/README.initrd
lrwxrwxrwx 1 root root 22 Sep 24 13:42 System.map -> System.map-huge-3.2.29
-rw-r--r-- 1 root root 1956485 Sep 17 13:38 System.map-generic-3.2.29
-rw-r--r-- 1 root root 3148682 Sep 17 14:19 System.map-huge-3.2.29
-rw-r--r-- 1 root root 512 Sep 24 13:55 boot.0800
-rw-r--r-- 1 root root 209 Sep 24 13:55 boot_message.txt
lrwxrwxrwx 1 root root 18 Sep 24 13:42 config -> config-huge-3.2.29
-rw-r--r-- 1 root root 121350 Sep 17 13:38 config-generic-3.2.29
-rw-r--r-- 1 root root 121324 Sep 17 14:19 config-huge-3.2.29
-rw-r--r-- 1 root root 22578 Aug 17 18:37 inside.bmp
-rw------- 1 root root 35328 Sep 27 09:13 map
-rw-r--r-- 1 root root 6878 Aug 17 18:37 onlyblue.bmp
-rw-r--r-- 1 root root 15634 Mar 27 2011 slack.bmp
-rw-r--r-- 1 root root 33192 Aug 17 18:37 tuxlogo.bmp
lrwxrwxrwx 1 root root 19 Sep 24 13:42 vmlinuz -> vmlinuz-huge-3.2.29
-rw-r--r-- 1 root root 3153504 Sep 17 13:38 vmlinuz-generic-3.2.29
-rw-r--r-- 1 root root 6192448 Sep 17 14:19 vmlinuz-huge-3.2.29
'/boot' shows the 'config' linked to 'config-huge-3.2.29' so you can then look at the config contents of the kernel in use by;
Quote:

~# most /boot/config-huge-3.2.29

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.2.29 Kernel Configuration
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
...
Of course you can use '/boot/config' but being new you should learn to look behind the curtain. :)

Or however or by whatever function you desire to view the 'config' for the kernel.

Quote:

Two good references SlackwareŽ Essentials & SlackwareŽ Basics.

Another useful resource would be 'Slackware-Links'. More than just SlackwareŽ links!

You will find the following tutorial useful;
Quote:

excerpt from sticky 'So you want to be a Slacker! What do I do next?';

'New tutorials for installing and configuring Slack ' is a thread for a great tutorial: http://genek.net/LinuxAdventures/ins...allation1.html by 2handband. I recommend that all should look at this new tutorial for Slackware. Great for everyone!
http://genek.net/LinuxAdventures/sysadmin/index.html << new temp link

Newbies will learn a lot by following the sections within. As for the experienced users, it's a good place for us to recommend corrections or suggest areas that concern you. I for one participate with 2handband on subjects that I'm interested in: Slackware! Several other members have participated.
If you want to go multilib then Multilib Slackware for x86_64.

Few more Alien_Bob's links that you will find VERY useful;
This post may seem as a potpourri but just culls from the Sticky, Threads & 'Slackware-Links'.

Happy Slacking!

HTH!

EDIT: My bad! You were referencing the InstallDVD.You should be able to use the information business_kid' provided. Hope the other information I provided is useful. :)

Didier Spaier 12-03-2012 11:52 AM

The VGA 8x8 font which comes with Linux as if you would run "setfont" with no argument, see "man setfont". Provided that CONFIG_VGA_CONSOLE be set to Yes, which hopefully is the case in all Slackware kernels' configurations ;)

As a side note, be it during configuration post packages' installation of afterwards the /usr/bin/setconsolefont Slackware script is used to change the EGA/VGA console screen font if you wish.

Alkerak 12-03-2012 12:03 PM

Quote:

Originally Posted by Didier Spaier (Post 4841832)
The VGA 8x8 font which comes with Linux as if you would run "setfont" with no argument, see "man setfont". Provided that CONFIG_VGA_CONSOLE be set to Yes, which hopefully is the case in all Slackware kernels' configurations ;)

As a side note, be it during configuration post packages' installation of afterwards the /usr/bin/setconsolefont Slackware script is used to change the EGA/VGA console screen font if you wish.

Actually I was needing the font because I wanted to disable KMS in Archlinux (but of course it does not work) and trying to revert to the old VGA mode. Seems to me Slackware is more "centered" configuration scripts wise.

Didier Spaier 12-03-2012 01:02 PM

Quote:

Originally Posted by Alkerak (Post 4841838)
Actually I was needing the font because I wanted to disable KMS in Archlinux (but of course it does not work) and trying to revert to the old VGA mode.

I never used Arch but I guess that your problem is not caused by a missing font.

I assume that Arch can start in text mode. If that is true, some font is used before KMS hand over of the console occurs. The same font should be usable if KMS is disabled.

Alkerak 12-03-2012 02:34 PM

Quote:

Originally Posted by Didier Spaier (Post 4841878)
I never used Arch but I guess that your problem is not caused by a missing font.

I assume that Arch can start in text mode. If that is true, some font is used before KMS hand over of the console occurs. The same font should be usable if KMS is disabled.

Yeah, the same font is the same as the slackware's font before the KMS hands over the console. I dont know how to change it sadly.

Didier Spaier 12-03-2012 03:02 PM

Not sure I really understand what your problem is.

You said:
Quote:

I wanted to disable KMS in Archlinux (but of course it does not work) and trying to revert to the old VGA mode
(1) What did you exactly do to disable KMS?
(2) What didn't work?
(3) Why do you need to change the default font, i.e. the one used before KMS hand over the console?

A bit of information about your GPU brand and model could help as well.

business_kid 12-03-2012 03:17 PM

Quote:

Originally Posted by Alkerak (Post 4841923)
Yeah, the same font is the same as the slackware's font before the KMS hands over the console. I dont know how to change it sadly.

That's easy. I, like you, didn't like the timy kms font, so I installed the terminus fonts which go up to 32 point. The 32 point has issues, but you can go up to 28 point just fine. I added the fonts to /usr/share/kbd/consolefonts. I added the line
/usr/bin/setfont ter-928n
to /etc/rc.d/rc.local

the big font comes in just before the end of bootup in runlevel 3 so you log in with it.


All times are GMT -5. The time now is 06:48 AM.