LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-04-2013, 08:24 PM   #1
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Rep: Reputation: 8
complete silent boot on slackware?


Hi,

Is there a way to switch off all boot messages after I have configured slackware the way I want it to be?

I have appended quiet when kernel boots as well as disable the echoes in rc.S and rc.M. I am looking for a way to remove the very first boot message after bios load. i.e. "Loading Linux.... blah blah blah, Bios check successful...

Is that even possible?
 
Old 10-04-2013, 08:36 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,110

Rep: Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940Reputation: 9940
I think your best bet is to look into one of the kernel patches other distributions use to produce a splash screen, and then display a black splash screen until boot is complete. Though, to be honest, I don't know if those suppress the earliest kernel messages or not.
 
Old 10-05-2013, 02:20 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
Loading linux... comes from the bootloader. BIOS check successful... comes from the BIOS.
 
Old 10-05-2013, 05:13 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157Reputation: 2157
Quote:
Originally Posted by Ongbuntu View Post
Hi,

Is there a way to switch off all boot messages after I have configured slackware the way I want it to be?

I have appended quiet when kernel boots as well as disable the echoes in rc.S and rc.M. I am looking for a way to remove the very first boot message after bios load. i.e. "Loading Linux.... blah blah blah, Bios check successful...

Is that even possible?
Funny question. I remember having used Ubuntu 10.04 on a server for a brief period of time. I had some trouble debugging the centralized authentication setup, because all the boot messages were missing, and there seemed to be no way to turn them back on. I complained about this and filed a bug report, but was told by the developers that this was a feature, not a bug, since "nowadays nobody uses boot messages anymore". Well, I haven't used Ubuntu anymore since that day. Call me old-fashioned, but I like my boot messages and find them quite useful.

Cheers,

Niki
 
3 members found this post helpful.
Old 10-05-2013, 05:37 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,147

Rep: Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303Reputation: 5303
I'm with you on this Niki: boot messages are essential diagnostics when things go wrong, and reassurance that the boot is still progressing when things are going right. I really don't get the "OMG! Must hide messages" mentality.
 
1 members found this post helpful.
Old 10-05-2013, 07:27 AM   #6
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
it's just to make my system look the way i want it to i guess taking away the prints does not take away the logging? i can always refer to dmesg should there be a need to troubleshoot something. and i'm not running a server, so in a way, it's less critical for me if something goes wrong.

i have tried ubuntu and i do not like the way it's customized (too windows-like if i can put it that way). Slackware is much more open and stable from what i've experienced.

Last edited by Ongbuntu; 10-05-2013 at 07:51 AM.
 
Old 10-05-2013, 09:59 AM   #7
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
+1 on keeping boot messages, but I get wanting to customize your rig, and yes, it's not such an issue if you're not running a server. I'm sure there's a way to do it, but I don't know what it is.
 
Old 10-05-2013, 10:27 AM   #8
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
After looking through lilo manual, it seems like there's no quick way to suppress the messages w/o some kinda internal hack to lilo.

Quoted from man lilo
Quote:
nobd Suppresses the BIOS data check. This option is reserved for use with non-IBM-compliant BIOS's which hang with the lines:

Loading...............
BIOS data check
 
Old 10-05-2013, 10:51 AM   #9
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Have you considered using grub instead of lilo? Probably easier to do with grub.
 
Old 10-05-2013, 11:21 AM   #10
Ongbuntu
Member
 
Registered: Aug 2013
Distribution: slackware
Posts: 79

Original Poster
Rep: Reputation: 8
I did some investigation on lilo source and found these in the second stage boot loader code (in nasm unfortunately.. something i'm not familiar with )

Quote:
! Some messages

msg_p: .ascii "boot: "
.byte 0

msg_l: .ascii "Loading "
.byte 0

msg_bc: .ascii "BIOS data check "
.byte 0

msg_s: .ascii "successful\n"
.byte 0

msg_by: .ascii "bypassed\n"
.byte 0
I suppose by changing the above strings to null and recompiling lilo will hide most of the messages, except for "............" but not a very clean approach i feel.

I did gave Grub a thought, but I think I still prefer the simplicity of lilo :-p thanks for the suggestion though.

Seems like a lot of hard work for very marginal returns....
 
Old 10-05-2013, 11:25 AM   #11
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
I'm with you on this Niki: boot messages are essential diagnostics when things go wrong, and reassurance that the boot is still progressing when things are going right. I really don't get the "OMG! Must hide messages" mentality.
I agree wholeheartedly. On multiple occasions I managed to diagnose hardware problems relatively fast because I could see (and take a photo of) the boot screen. And while the aesthetics of bootstrapping are subjective, I also think the way it looks is far superior to nothing, or any kind of progress bar. Just as in pretty much every other respect, Slackware defaults to the most simple, fail-safe, informative, and educational way to do the task at hand.
 
Old 10-05-2013, 03:54 PM   #12
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
It's possible. How much are you willing to modify? You would need to modify the lilo ("Loading xyz Bios check successful"), kernel ("early console, decompressing elf") and sysvinit ("INIT: version 2.88 booting") sources slightly. To me, the changes are trivial but of course these are all important parts of the system. Other options may be more appropriate.

I think it's fine if you want a silent boot. You can always just have a second non-silent boot option if you do need to see kernel messages.
 
Old 10-05-2013, 03:56 PM   #13
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by Ongbuntu View Post
Seems like a lot of hard work for very marginal returns....
Yes, bottom line.
 
Old 10-05-2013, 04:21 PM   #14
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368Reputation: 2368
Quote:
Originally Posted by Ongbuntu View Post
I suppose by changing the above strings to null and recompiling lilo will hide most of the messages, except for "............" but not a very clean approach i feel.
Add the "compact" option to /etc/lilo.conf and that will fly by...

As for the splash screens - no idea.
 
Old 10-05-2013, 07:38 PM   #15
jtsn
Member
 
Registered: Sep 2011
Posts: 925

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by Ongbuntu View Post
I have appended quiet when kernel boots as well as disable the echoes in rc.S and rc.M.
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.

Quote:
I am looking for a way to remove the very first boot message after bios load. i.e. "Loading Linux.... blah blah blah, Bios check successful...

Is that even possible?
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
 
2 members found this post helpful.
  


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 02:06 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