Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openrc boot silent
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat Jan 23, 2016 1:32 am    Post subject: openrc boot silent Reply with quote

i don't really need to see all those boot messages, particularly those [ ok ] statuses from openrc. all that text flies past so quickly that i'm not really able to read it. and pretty quickly it clears the screen at the end of boot. and i'm looking at a blank screen with a console login prompt.

how can i have a silent boot? i don't need to see every message. i only want to see any errors or warnings.

i couldn't find out how to tell openrc to boot silent.


Last edited by josephg on Wed Jan 04, 2017 11:53 am; edited 2 times in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Sat Jan 23, 2016 6:19 pm    Post subject: Reply with quote

Some advice is given here. Googling for "gentoo quiet boot" also yields additional info. :)
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat Jan 23, 2016 6:38 pm    Post subject: Reply with quote

thank you. i do use the kernel bootoption quiet. i still get more than a screenful of boot messages. and i'm not referring to the initramfs messages.

as the first post says,
Quote:
i don't really need to see all those boot messages, particularly those [ ok ] statuses from openrc. all that text flies past so quickly that i'm not really able to read it.


i don't boot splash images. i don't gdm or any dm. i login to console, and startx.

i did google, but couldn't find out how to hide openrc info messages.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Jan 23, 2016 9:21 pm    Post subject: Reply with quote

josephg wrote:
i did google, but couldn't find out how to hide openrc info messages.

josephg ... remember that stdout is directed to the tty, and your getty is then using stdout to prompt you for login, so should openrc provide you with output on stdout or not, should it know that 'starting x,y,z' should go to /dev/null but getty should not. This information isn't particularly verbose, and its presented on stdout as that is what every sane linux user *should* want ;)

Incidentally, I just attemped to boot an Ubuntu install disk on a friends OQO (they want to replace the default WinNT with linux), due to bootsplash there are no boot messages ... until that is it hangs at "snd_hd_intel blah-de-blah" on stderr, so, no idea of where in the boot process this is occuring ... not so great imo.

Anyhow, I know of no way to get openrc to do what you want ... however, from your first post I'd suggest the following:

/etc/inittab:
tty1::respawn:/sbin/mingetty --noclear --noissue tty1

This way the tty isn't cleared, and you can get some idea of what happened during init ... enjoy it, it should remind you that information is good, you never know you may need it some day :)

best ... khay
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Jan 23, 2016 9:42 pm    Post subject: Reply with quote

khayyam,

Look on another VT ... maybe VT12. Boot messages are usually redirected to another VT when bootsplash is in use.
It need not be a VT that can have a login prompt.

josephg,

Bootsplash does what you want but I don't know how. It often presents boot progress an a series of icons.
I did try it out in 2009 but I had to do some of my own graphics as 1024x600 was new.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Sat Jan 23, 2016 10:11 pm    Post subject: Reply with quote

khayyam wrote:
that is what every sane linux user *should* want ;)

well perhaps i'm not sane ;) guess you guys already know that by now

NeddySeagoon, i like to keep things minimal. if the messages scroll so fast that i can't read, then it is just noise. unless we are debugging.
you showed me how to --quiet emerge/make.. perhaps something similar.

a graphical bootsplash is just eye-candy using resources diverted from the boot processes. if you want to know more, have a look at plymouth.

NeddySeagoon wrote:
It need not be a VT that can have a login prompt.

i used to comment out the tty1 line in inittab, to preserve the boot screen messages, and not accidentally login there.

khayyam, you don't need mingetty, just for this purpose. gentoo built-in agetty has now got --noclear capability too. i'm using that now.


Last edited by josephg on Sat Jan 23, 2016 10:27 pm; edited 3 times in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Jan 23, 2016 10:21 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Look on another VT ... maybe VT12. Boot messages are usually redirected to another VT when bootsplash is in use. It need not be a VT that can have a login prompt.

Neddy ... thanks, I got past that hurdle only to encounter a dozen more. I left them with the promise that I'd figure something out, so if on the next visit sysresccd boots I'll build them a OQO gentoo.

best ... khay
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Sat Jan 23, 2016 10:32 pm    Post subject: Reply with quote

josephg,

Maybe it not quite what you want but bootsplash manages to not destroy the framebuffer image, which is only drawn once, with the messages you are trying to avoid.

That tells that the boot messages need not appear on VT1. However bootsplash does this would work for you too.
You do not have to have the eye candy too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum