LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2013, 08:00 PM   #16
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8

Quote:
Originally Posted by jtsn View Post
Fiddling with the scripts diagnostic output is not the correct way. Redirect it to the serial port instead using console= on the kernel command line, so your VGA console stays quiet.


Of course, don't use LILO, but a different boot loader.

With the right configuration (including KMS) you can have a seamless transition from the boot loader splash screen to the X login. See https://wiki.gentoo.org/wiki/Fbsplash
thanks! that sounds like a plan

I can live with boot messages. I just want to know that I have the option to do w/o if I so choose to. For e.g. if I want to get my wife to try my slackware machine, I quiet boot would be less intimidating
 
Old 10-06-2013, 12:33 AM   #17
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Anybody who can read those log messages going by at breakneck speed on console - you're a genius.

https://www.kernel.org/doc/Documenta...parameters.txt
Code:
	loglevel=	All Kernel Messages with a loglevel smaller than the
			console loglevel will be printed to the console. It can
			also be changed with klogd or other programs. The
			loglevels are defined as follows:

			0 (KERN_EMERG)		system is unusable
			1 (KERN_ALERT)		action must be taken immediately
			2 (KERN_CRIT)		critical conditions
			3 (KERN_ERR)		error conditions
			4 (KERN_WARNING)	warning conditions
			5 (KERN_NOTICE)		normal but significant condition
			6 (KERN_INFO)		informational
			7 (KERN_DEBUG)		debug-level messages
For me, with my old eyes, I just found out that appending "quiet loglevel=4" makes it much more pleasant. And setting the loglevel to four means that if anything should go wrong, I won't miss it. And - the kernel ring buffer still contains all kernel log messages ("dmesg"). So no information is lost.

In "/etc/lilo.conf":
Code:
append="quiet loglevel=4"
"loglevel=5" may be better. And reminder to myself - don't forget the "Scroll Lock" key on your keyboard.

But - whichever it's gonna be - four or five - setting the loglevel to five or lower does make for a more pleasant boot experience.

Last edited by MadMaverick9; 10-06-2013 at 02:00 AM. Reason: loglevel=5
 
Old 10-06-2013, 07:51 AM   #18
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
To be honest, I did use a camera in multiple shots mode to capture some of the early boot messages to help troubleshoot one of my kernel compilation
 
Old 10-06-2013, 10:16 AM   #19
dr.s
Member
 
Registered: Feb 2010
Location: Canada
Distribution: Slackware64-current
Posts: 361

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by Ongbuntu View Post
...Seems like a lot of hard work for very marginal returns....
+1
Zero returns really. Sometimes you have to pick your battles, especially when working with Linux and dealing with MS-centric vendors or lack of hardware support etc.
 
Old 10-06-2013, 12:03 PM   #20
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by MadMaverick9 View Post
Anybody who can read those log messages going by at breakneck speed on console - you're a genius.
In the past these messages were meant to be backscrolled with Shift+PgUp after pressing Scroll Lock. Since major distributions started hiding the kernel messages by default, they got way too verbose. Now it's not one line per detected device, but dozens instead. The dmesg for my main machine has about 1000 lines, with complete EFI and ACPI register dumps. 350 lines have hex values in it ("0x") which are only useful for debugging purposes and contain no useful info for the end user.
 
Old 10-06-2013, 12:13 PM   #21
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by Ongbuntu View Post
I can live with boot messages. I just want to know that I have the option to do w/o if I so choose to. For e.g. if I want to get my wife to try my slackware machine, I quiet boot would be less intimidating
Let me add something to my recommendation: If you don't have a serial port available, you can also redirect the boot messages to a different VT:

Code:
quiet loglevel=3 console=tty9
redirects the boot messages to VT9, so you can view them by pressing Alt+F9. VT1 stays completely quiet until init executes getty and "Welcome to Linux" is displayed.

The only thing that is still on screen is the "Loading Linux" from LILO which is fine, because it actually contains useful information about what is currently happening.

Note: You may have to customize /etc/rc.d/rc.font to set the font on all VTs, otherwise it will only affect VT9.

Last edited by jtsn; 10-06-2013 at 12:27 PM.
 
2 members found this post helpful.
Old 10-07-2013, 03:08 AM   #22
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by jtsn View Post
Let me add something to my recommendation: If you don't have a serial port available, you can also redirect the boot messages to a different VT:

Code:
quiet loglevel=3 console=tty9
redirects the boot messages to VT9, so you can view them by pressing Alt+F9. VT1 stays completely quiet until init executes getty and "Welcome to Linux" is displayed.

The only thing that is still on screen is the "Loading Linux" from LILO which is fine, because it actually contains useful information about what is currently happening.

Note: You may have to customize /etc/rc.d/rc.font to set the font on all VTs, otherwise it will only affect VT9.
pardon me if this is a noob question. shouldn't there be only six virtual terminals (tty1 - tty6) for linux/slackware? do i have to manually setup tty9?
 
Old 10-07-2013, 03:11 AM   #23
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by dr.s View Post
+1
Zero returns really. Sometimes you have to pick your battles, especially when working with Linux and dealing with MS-centric vendors or lack of hardware support etc.
yes. I have decided not to fix that which ain't broken
 
Old 10-07-2013, 03:58 AM   #24
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,179

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
Actually by default there are 63 of them, but as there aren't enough function keys to get to those above 12 most people aren't even aware of them. You only need to setup a getty process on them if you want a login prompt on them. You can start programs on them directly using openvt (but you have to be root)

Last edited by GazL; 10-07-2013 at 04:09 AM.
 
1 members found this post helpful.
Old 10-07-2013, 04:45 AM   #25
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by GazL View Post
Actually by default there are 63 of them, but as there aren't enough function keys to get to those above 12 most people aren't even aware of them. You only need to setup a getty process on them if you want a login prompt on them. You can start programs on them directly using openvt (but you have to be root)
Thanks for sharing.

Sometimes, I wonder how you guys know so much. I tried to learn by gathering bits and pieces of information from google and various linux forum. but is there a more structured/efficient way to learn slackware (i've read the slackbook as well as some getting started guide but it gets me nowhere close to power user level)?

Last edited by Ongbuntu; 10-07-2013 at 05:17 AM.
 
Old 10-07-2013, 06:07 AM   #26
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,179

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
Mostly it's just experience. Some of us have been at this a very long time.
Even 19 years in I'm still learning new stuff and there's still plenty of topics I'm clueless about.

Short answer, "We learn by doing." Read man-pages and documentation then play with the commands you just read about. It'll come.
 
Old 10-07-2013, 07:25 AM   #27
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by GazL View Post
Mostly it's just experience. Some of us have been at this a very long time.
Even 19 years in I'm still learning new stuff and there's still plenty of topics I'm clueless about.

Short answer, "We learn by doing." Read man-pages and documentation then play with the commands you just read about. It'll come.
Thanks! It's comforting to hear this from a guru I have to admit that i really enjoy what Linux has to offer, especially slackware. And I'm beginning to understand y it remains as the longest surviving distro after all these years. Great philosophy supported by great community
 
Old 10-07-2013, 09:36 AM   #28
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by Ongbuntu View Post
Sometimes, I wonder how you guys know so much. I tried to learn by gathering bits and pieces of information from google and various linux forum.
Virtual Terminal (VT) is a very old Linux technology, dating back to the early 90s. The cloud*) doesn't know much about this, because it didn't exist before about 2000 (± 3 years). So if you're looking for useful info about old IT tech, you find it in so-called printed books.

*) Wikipedia, Google, YouTube, forums, Facebook et al.
 
  


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-current] Phonon applications silent/muted bonaire Slackware 1 01-02-2010 05:00 PM
Silent boot on Debian using LILO. Raffles666 Linux - Software 4 10-26-2008 05:41 AM
Problem on Changing boot screen (verbose to silent) Berdi Linux - Newbie 2 01-12-2008 05:03 PM
Is my USB Linux Boot Disk complete? (Slackware verbose) ShellyCat Linux - Laptop and Netbook 8 07-18-2007 10:18 PM
Silent Boot Splash wont work on LCD ... miamitj SUSE / openSUSE 1 08-25-2005 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration