LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2008, 02:39 AM   #1
Raffles666
LQ Newbie
 
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18

Rep: Reputation: 0
Silent boot on Debian using LILO.


Hello .

I have done a quick search but can't see anything that describes the solution I'm after.

I am using Debian (etch) with LILO (GRUB won't work on my embedded solution) and everything works as it should.

The thing I am after is a 'silent boot'. That is - instead of all the start-up information being displayed on screen, all I want is something like 'Loading. Please wait...' or even nothing at all (goes direct to the 'login:' prompt).

Thanks in advance.

PS - sorry if this is in the wrong place - I'm a LQ newbie .
 
Old 10-25-2008, 05:39 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
It sounds like you want to change what happens after your boot loader has passed control to the kernel. If that's the case, here's one idea: set up a boot splash with basically a black image saying what you want it to say. I'm quite sure that's done outside of the boot loader [not all boot loaders understand files and file systems; ISTR the boot splash being independent of your boot loader].

Search the web for a good guide setting up boot splashes, or try http://www.bootsplash.org/Debian
 
Old 10-26-2008, 03:31 AM   #3
Raffles666
LQ Newbie
 
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for that. That is 'sort of' what I am after. My embedded solution has no graphical monitor though - it's all done through a serial console (hence the reason I used LILO).

What I am trying to end up with is a basic prompt (eg. 'login:') without any start up information (graphical or otherwise). The reasoning behind it is so that end users can't see the 'engine' (even if they do a power reset) - just the login request (a bit like a Cisco router - but even they give out too much information on a reboot).

Is it possible to 'turn off' the ttyS0 output at the start of boot - and then turn it back on somehow just before the login prompt appears?

Hope that makes sense.

Thanks again .
 
Old 10-26-2008, 04:13 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Well, all that information is meant to help you troubleshoot, but if you want to get rid of it:

1. look at disabling 'PRINTK' support in the kernel
2. edit your startup scripts to dump messages to /dev/null or else a log file in RAM rather than dumping to the default console
 
Old 10-26-2008, 05:41 AM   #5
Raffles666
LQ Newbie
 
Registered: Oct 2008
Location: Manchester - UK
Distribution: Debian (Lenny)
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pinniped View Post
Well, all that information is meant to help you troubleshoot, but if you want to get rid of it:

1. look at disabling 'PRINTK' support in the kernel
2. edit your startup scripts to dump messages to /dev/null or else a log file in RAM rather than dumping to the default console
Agreed, the information is there to help ME - hence the reason I don't want my end users to see it (I wonder if I can check it with dmesg?).

I'll have a look around at PRINTK (new to me) and also see if I can work out how to dump the start up scripts to /dev/null (something I'd thought of - but have no idea how to implement). Wouldn't that involve editing every different /etc/init.d script though?

Thanks

EDIT : I've managed to restrict the output using 'quiet' as a kernel command line option (in lilo.conf) but I am still getting INIT output. I just need to stop that now (I can live with the odd kernel message for now).

Last edited by Raffles666; 10-26-2008 at 06:12 AM.
 
  


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
silent debian blackzed Debian 2 07-11-2007 03:03 PM
Hello everyone ... boot problem with lilo, Debian etch, and 2.6.18 kernel waellison LinuxQuestions.org Member Intro 1 01-09-2007 04:07 PM
Primary Drive (XP +lilo) died, now debian wo't boot derick00 Linux - Newbie 3 06-10-2006 03:12 PM
lilo windows xp debian dual boot chris3435 Linux - Newbie 1 03-18-2004 01:06 AM
Lilo: Dual boot Debian & Win 2000 mudelf Linux - General 3 11-12-2003 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 AM.

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