Make the boot realy quiet.

Kernels & Hardware, configuring network, installing services

Make the boot realy quiet.

Postby pparent » 2011-07-06 15:26

Hi,
I'm trying to make a quiet boot from grub to X, on squeeze. A really quiet one (not a word).

But right now , despite the quiet option given to the kernel, it writes a lot of things. If I install a spashscreen, it still writes a few things before displaying the splash.

Would you have any idea how to sort this out?
thanx in advance! :wink:
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby Bulkley » 2011-07-06 16:06

You mean you don't read those things?
Bulkley
 
Posts: 5969
Joined: 2006-02-11 18:35

Re: Make the boot realy quiet.

Postby pparent » 2011-07-06 16:10

No I mean that right now , i have to setup a debian for a device wich is gonna be sold.
So I really need to have a smooth boot without the customer noticing that its a poorly configured Gnu/linux system, or grub or anything...
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby secipolla » 2011-07-06 16:13

There are some posts on getting plymouth to work on Debian (se the 'docs, How-To's...' page). I never tried it, though and don't know how well it hides the boot messages.

Also, I don't think that a text boot looks like something 'poorly configured'.
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20

Re: Make the boot realy quiet.

Postby pparent » 2011-07-06 16:21

Well anyway it looks like not configured as it should be.
But actually i'm runnig plymouth on squeeze, and it works pretty well, except that before it starts I get "Please wait..." message, and then a few kernel messages for a few secs...
For someone who doesen't even know what linux is, it might look not so reassuring... :wink:
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby pparent » 2011-07-06 16:53

Would you know what program prints "Loading, please wait..." at the begin?
I dont think it might be init, cos
Code: Select all
grep -r "Loading" .
in sysvinit code gives me nothing...
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby dasein » 2011-07-06 17:48

I could be totally wrong, but I don't think you're going to reach your goal, and here's why: Until X starts, the console display is the only way to display error messages, etc. So it's probably not going to "go away" merely because it offends your sense of aesthetics.

Again, I might be totally wrong. I'm merely suggesting that you could end up spending a lot of time and effort trying to attain the unattainable.

That said, if there is a way to do it, I daresay that that way is already documented and available on the Web, so you might want to look look here
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Make the boot realy quiet.

Postby pparent » 2011-07-06 17:57

Well I know ubuntu to do that almost perfectly.
In fact the only thing they're not doing is making the "Welcome to grub" go away. (But I hope Lilo will enable me to do that)

On top of that I've just found an intersing kernel argument : "loglevel=0" , it just makes go away all the messages of the kernel, and only the "Loading, please wait" remains before plymouth...

ps: I've spent about my day looking for a clue on the internet without much success...
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby Bulkley » 2011-07-06 18:20

pparent wrote:ps: I've spent about my day looking for a clue on the internet without much success...


Is this what you are looking for? Splashimages for GRUB2 He has instructions.
Bulkley
 
Posts: 5969
Joined: 2006-02-11 18:35

Re: Make the boot realy quiet.

Postby pparent » 2011-07-06 18:27

I've already seen that page , though I think it does not really apply to my case. Don't the spash image apply to the menu background? I've already hidden the menu. But the text "Welcome to grub" still apears...

thanks anyway :wink: .

ps:concerning grub I think that there is absolutely no hope without recompiling to make it quiet: this there is a printf("Welcome to GRUB!") directly in the middle of the main without if...
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby oOarthurOo » 2011-07-06 19:08

Yes, you've got to remove that print statement from the source code and recompile.
oOarthurOo
 
Posts: 545
Joined: 2008-10-25 12:00
Location: Canada

Re: Make the boot realy quiet.

Postby dbbolton » 2011-07-06 21:44

Did you set GRUB_TIMEOUT=0 in /etc/default/grub ?
GitHub | zsh docs in Letter PDF

Telemachus wrote:Put down the CGI.
User avatar
dbbolton
 
Posts: 2133
Joined: 2007-06-20 08:17
Location: Iapetus

Re: Make the boot realy quiet.

Postby pparent » 2011-07-07 05:56

of course!
I'm gonna install uboot and that should make it!
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Re: Make the boot realy quiet.

Postby Mr James » 2011-07-07 06:25

Actually, you need

Code: Select all
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_MENU=true


in /etc/default/grub followed by an update-grub command.
asus S551L laptop :: debian stable :: dwm
User avatar
Mr James
 
Posts: 1255
Joined: 2010-09-10 13:02

Re: Make the boot realy quiet.

Postby pparent » 2011-07-07 07:22

No it doesn't work, actually as as said before it couldn't possibly work as the printf("Welcome to grub" ) is in te midle off grub code without if.
But as I said before uboot should solve this, what I am really looking for is to hide "Loading, please wait.." message wich seems to come out of nowhere.
pparent
 
Posts: 14
Joined: 2011-04-29 11:37

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable