LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-03-2012, 05:56 AM   #1
Alkerak
LQ Newbie
 
Registered: Nov 2012
Distribution: Ubuntu
Posts: 6

Rep: Reputation: Disabled
Slackware 14 Boot CD Question


Hello

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

Thanks.
 
Old 12-03-2012, 06:35 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,298

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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.
 
Old 12-03-2012, 06:37 AM   #3
Alkerak
LQ Newbie
 
Registered: Nov 2012
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
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.

Last edited by Alkerak; 12-03-2012 at 06:42 AM.
 
Old 12-03-2012, 07:01 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,146
Blog Entries: 3

Rep: Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406
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.

Last edited by onebuck; 12-03-2012 at 07:05 AM. Reason: Too early in the mourning and one cup barely finished. :)
 
Old 12-03-2012, 10:52 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
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.
 
Old 12-03-2012, 11:03 AM   #6
Alkerak
LQ Newbie
 
Registered: Nov 2012
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 12-03-2012, 12:02 PM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
Quote:
Originally Posted by Alkerak View Post
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.
 
Old 12-03-2012, 01:34 PM   #8
Alkerak
LQ Newbie
 
Registered: Nov 2012
Distribution: Ubuntu
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 12-03-2012, 02:02 PM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021Reputation: 1021
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.
 
Old 12-03-2012, 02:17 PM   #10
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,298

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by Alkerak View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware Dual Boot Question Samcro Slackware 2 09-04-2010 10:10 PM
Dual boot - Windows Vista & Slackware Question janap-146 Linux - Newbie 3 06-29-2009 07:03 AM
slackware boot up question Murkhadh Slackware 6 02-17-2007 01:59 PM
Laptop Network boot and Slackware question wakeboarder3780 Slackware 3 10-04-2006 04:12 PM
New Slackware 9.1 Install & Boot Question acjt Slackware 8 10-30-2003 09:13 AM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration