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 Novice
Forum  Novice
Posts: 74
Joined: Sun Feb 04, 2018 10:26 am

[SOLVED] Silent boot with frugal system

#1 Post by thomasl » Tue Aug 07, 2018 1:54 pm

I've followed the hush method in this thread (https://forum.mxlinux.org/viewtopic.php ... 2&p=454597 ) to silence the boot process but it has absolutely no effect whatsoever. Even after doing a snapshot the boot messages continue to flicker happily across my screen :popcorn:

MX17.1/64, frugal + root persistence.
Last edited by thomasl on Wed Aug 08, 2018 12:06 pm, edited 2 times in total.
MX17.1/64 frugal plus root persistence, dual-boot w/ Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“What do you think of Western civilization?” “I think it would be a good idea.”

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22243
Joined: Wed Jul 19, 2006 6:13 am

Re: Silent boot

#2 Post by Jerry3904 » Tue Aug 07, 2018 2:17 pm

The new MX Boot options should help which will come through automatically I think with your next upgrade of MX Tools.. There's a whole testing thread on it if you want to see what it's about, and a Blog post going up tonight.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

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

Re: Silent boot

#3 Post by dolphin_oracle » Tue Aug 07, 2018 2:26 pm

the "hush" method will not work on a live system without some extra work. you'll need the line in /etc/default/rcS in the persistence setup, and the boot loader that actually starts the frugal install will need the "hush" boot code added to it.
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 Novice
Forum  Novice
Posts: 74
Joined: Sun Feb 04, 2018 10:26 am

Re: Silent boot

#4 Post by thomasl » Wed Aug 08, 2018 7:56 am

dolphin_oracle wrote:
Tue Aug 07, 2018 2:26 pm
the "hush" method will not work on a live system without some extra work.
Perhaps this should be put somewhere on the wiki page.

Secondly, what do you mean with the rather cryptic (well, to me at least) "you'll need the line in /etc/default/rcS in the persistence setup"? The "hush" verb goes into the grub menu file, that's done. But where does that famous line go if not into /etc/default/rcS?

@Jerry3904: Thank you, I will have a look.
MX17.1/64 frugal plus root persistence, dual-boot w/ Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“What do you think of Western civilization?” “I think it would be a good idea.”

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22243
Joined: Wed Jul 19, 2006 6:13 am

Re: Silent boot

#5 Post by Jerry3904 » Wed Aug 08, 2018 8:06 am

dolphin_oracle wrote: ↑
07 Aug 2018 13:26
the "hush" method will not work on a live system without some extra work.
Perhaps this should be put somewhere on the wiki page.
Done.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

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

Re: Silent boot

#6 Post by dolphin_oracle » Wed Aug 08, 2018 9:41 am

What I was trying to say, and I was doing it badly, is that the "hush" parameter that goes into /etc/default/grub will in fact not do anything on a live system, because that file isn't used for anything on the live system, including frugal with persistence systems. You will need to adjust the entry in whatever boot loader is launching your frugal system manually to add the kernel boot code.

I can possibly help with that if you tell me how you are launching the frugal system.
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 Novice
Forum  Novice
Posts: 74
Joined: Sun Feb 04, 2018 10:26 am

Re: Silent boot

#7 Post by thomasl » Wed Aug 08, 2018 10:35 am

dolphin_oracle wrote:
Wed Aug 08, 2018 9:41 am
What I was trying to say, and I was doing it badly, is that the "hush" parameter that goes into /etc/default/grub will in fact not do anything on a live system, because that file isn't used for anything on the live system, including frugal with persistence systems. You will need to adjust the entry in whatever boot loader is launching your frugal system manually to add the kernel boot code.

I can possibly help with that if you tell me how you are launching the frugal system.
OK, let's disentangle this. There are two places to change; one is where the string "hush" gets added to the kernel command line. I do this in my grub legacy menu.lst and the "hush" parameter arrives intact because upon booting there's a warning message that "hush" is an unknown option. So, that's done.

Second, we have that line* that goes into /etc/default/rcS and this is where I stumble. I have put it there but it does nothing. So...?

*

Code: Select all

[ "$init" ] && grep -qw hush /proc/cmdline && exec >> /run/rc.log 2>&1 || true
MX17.1/64 frugal plus root persistence, dual-boot w/ Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“What do you think of Western civilization?” “I think it would be a good idea.”

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

Re: Silent boot

#8 Post by dolphin_oracle » Wed Aug 08, 2018 10:40 am

Ok, sounds good.

so let's run this check on the running frugal system:

Code: Select all

 grep -qw hush /proc/cmdline
 
and let's see if it finds anything.
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 Novice
Forum  Novice
Posts: 74
Joined: Sun Feb 04, 2018 10:26 am

Re: Silent boot

#9 Post by thomasl » Wed Aug 08, 2018 10:55 am

@dolphin_oracle: No, it doesn't. /proc/cmdline is a zero-length file. Actually pretty much ALL the files in /proc are zero-length files with only three or four being symlinked to other files plus one giant file called kcore.
MX17.1/64 frugal plus root persistence, dual-boot w/ Windows 7 on Lenovo Edge72 i5-3470S/12GB and Tosh R950 i5-3340M/8GB
“What do you think of Western civilization?” “I think it would be a good idea.”

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

Re: Silent boot

#10 Post by dolphin_oracle » Wed Aug 08, 2018 10:58 am

thomasl wrote:
Wed Aug 08, 2018 10:55 am
@dolphin_oracle: No, it doesn't. /proc/cmdline is a zero-length file. Actually pretty much ALL the files in /proc are zero-length files with only three or four being symlinked to other files plus one giant file called kcore.

Ok there's the problem. Obviously the live system does thing a little differently than the live system.

So that's probably not going to work as described, but that doesn't mean it can't. I'll have to do a little searching. those codes are stored somewhere...we just need to grep that location instead of /proc/cmdline
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.

Post Reply

Return to “MX Help”