Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-04-2013, 08:24 PM
|
#1
|
Member
Registered: Aug 2013
Distribution: slackware
Posts: 79
Rep:
|
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?
|
|
|
10-04-2013, 08:36 PM
|
#2
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,110
|
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.
|
|
|
10-05-2013, 02:20 AM
|
#3
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
Loading linux... comes from the bootloader. BIOS check successful... comes from the BIOS.
|
|
|
10-05-2013, 05:13 AM
|
#4
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Quote:
Originally Posted by Ongbuntu
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.
|
10-05-2013, 05:37 AM
|
#5
|
LQ Veteran
Registered: May 2008
Posts: 7,147
|
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.
|
10-05-2013, 07:27 AM
|
#6
|
Member
Registered: Aug 2013
Distribution: slackware
Posts: 79
Original Poster
Rep:
|
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.
|
|
|
10-05-2013, 09:59 AM
|
#7
|
Senior Member
Registered: Jun 2009
Posts: 1,444
|
+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.
|
|
|
10-05-2013, 10:27 AM
|
#8
|
Member
Registered: Aug 2013
Distribution: slackware
Posts: 79
Original Poster
Rep:
|
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
|
|
|
|
10-05-2013, 10:51 AM
|
#9
|
Senior Member
Registered: Jun 2009
Posts: 1,444
|
Have you considered using grub instead of lilo? Probably easier to do with grub.
|
|
|
10-05-2013, 11:21 AM
|
#10
|
Member
Registered: Aug 2013
Distribution: slackware
Posts: 79
Original Poster
Rep:
|
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....
|
|
|
10-05-2013, 11:25 AM
|
#11
|
Member
Registered: May 2010
Posts: 621
Rep: 
|
Quote:
Originally Posted by GazL
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.
|
|
|
10-05-2013, 03:54 PM
|
#12
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep: 
|
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.
|
|
|
10-05-2013, 03:56 PM
|
#13
|
Senior Member
Registered: Jun 2009
Posts: 1,444
|
Quote:
Originally Posted by Ongbuntu
Seems like a lot of hard work for very marginal returns....
|
Yes, bottom line. 
|
|
|
10-05-2013, 04:21 PM
|
#14
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
Quote:
Originally Posted by Ongbuntu
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.
|
|
|
10-05-2013, 07:38 PM
|
#15
|
Member
Registered: Sep 2011
Posts: 925
|
Quote:
Originally Posted by Ongbuntu
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.
|
All times are GMT -5. The time now is 02:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|