Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[SOLVED] Silent boot with frugal system

Help for Current Versions of MX
Message
Author
User avatar
thomasl
Forum Regular
Forum Regular
Posts: 107
Joined: Sun Feb 04, 2018 10:26 am

Re: Silent boot

#11 Post by thomasl » Wed Aug 08, 2018 11:04 am

Code: Select all

dmesg | grep "Command line:"
does the job. Will put this into /etc/default/rcS and check.
Dual-boot MX17.1/64 frugal root persistence + Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“In foreign countries they fear baldness. They are so rich in foreign countries, they can afford to fear all kinds of silly things.”

User avatar
thomasl
Forum Regular
Forum Regular
Posts: 107
Joined: Sun Feb 04, 2018 10:26 am

Re: Silent boot

#12 Post by thomasl » Wed Aug 08, 2018 11:49 am

Still doesn't work, so I've put this line

Code: Select all

echo "INIT: --- $init ---" > /run/rc_init.log
before the offending line and checked rc_init.log. Guess what? $init appears to be empty! So that grep check is never run. Tested this by

Code: Select all

dmesg | grep "Command line:" | grep -qw hush && exec >> /run/rc.log 2>&1 || true
instead of

Code: Select all

[ "$init" ] && dmesg | grep "Command line:" | grep -qw hush && exec >> /run/rc.log 2>&1 || true
and this indeed disables the boot messages.

However... I don't know whether this is a dangerous thing to do...!?!

Obviously there are quite some subtle (and probably a few not so subtle) differences between an installed system and a live system...
Dual-boot MX17.1/64 frugal root persistence + Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“In foreign countries they fear baldness. They are so rich in foreign countries, they can afford to fear all kinds of silly things.”

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 10125
Joined: Sun Dec 16, 2007 1:17 pm

Re: Silent boot

#13 Post by dolphin_oracle » Wed Aug 08, 2018 11:51 am

I don't think its dangerous, you're just hiding the messages instead of checking with the true/false init check.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
thomasl
Forum Regular
Forum Regular
Posts: 107
Joined: Sun Feb 04, 2018 10:26 am

Re: Silent boot

#14 Post by thomasl » Wed Aug 08, 2018 12:05 pm

@dolphin_oracle: I take your word for it ;)

I'll mark this as solved and perhaps a hint in the Wiki might help others who want a silent live system.
Dual-boot MX17.1/64 frugal root persistence + Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“In foreign countries they fear baldness. They are so rich in foreign countries, they can afford to fear all kinds of silly things.”

Post Reply

Return to “MX Help”