Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 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

Really quiet boot

Help for Current Versions of MX
mrx
Forum Novice
Forum  Novice
Posts: 15
Joined: Wed May 15, 2019 4:20 am

Really quiet boot

#1

Post by mrx » Wed May 15, 2019 4:25 am

I set the grub parameters to "quiet loglevel=3 splash" but when the MX Linux boots at the very beginning I see some 3-4 text lines before MX-Linux starts like " VMlinuz 4.19 is being loaded... " or so.
How can I get the real quiet boot without any messages?

User avatar
srq2625
Forum Regular
Forum Regular
Posts: 128
Joined: Mon Jan 21, 2019 10:40 am

Re: Really quiet boot

#2

Post by srq2625 » Wed May 15, 2019 9:19 am

And from the "Different People Do It Different Ways" column ....

I modify /etc/default/grub to:
  • GRUB_TIMEOUT = -1
  • GRUB_TIMEOUT_STYLE="menu"
  • GRUB_CMDLINE_LINUX=""
Because I LIKE to see all the messages on the screen - this can give me an early heads up when something is not quite right.

I also turn off the BIOS splash screen and set a 5 second timer so I can see the POST results.
AsusTek PRIME B450-Plus
AMD Ryzen 7 2700 (8-Core, 16 threads)
GeForce GTS 450/PCIe/SSE2 v: 4.6.0 NVIDIA 390.116
Realtek RTL8111/8168/8411 - driver: r8169
Samsung SSD 860 EVO 500GB
DDR4 3200MHz CL16 2x8GB

mrx
Forum Novice
Forum  Novice
Posts: 15
Joined: Wed May 15, 2019 4:20 am

Re: Really quiet boot

#3

Post by mrx » Wed May 15, 2019 9:26 am

Ok, it is your way. For me this is good for debugging at the beginning. But when my system is ready I would like to have no cryptic messages and instead fast clean polished boot.
I love good design and don't allow any internal system messages to ruin the boot look. ;-).

Any ideas?

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4605
Joined: Wed Apr 11, 2018 5:09 pm

Re: Really quiet boot

#4

Post by fehlix » Wed May 15, 2019 9:35 am

mrx wrote:
Wed May 15, 2019 9:26 am
But when my system is ready I would like to have no cryptic messages and instead fast clean polished boot.
I love good design and don't allow any internal system messages to ruin the boot look. ;-).
There are two "echo"-lines within /boot/grub/grub.cfg, which are generated when running update-grub.
They look like:

Code: Select all

       echo    'Linux 4.19.0-5-amd64 beeing loaded …'
        linux   /boot/vmlinuz-4.19.0-5-amd64 root=UUID=e7fc7c6c-bb78-43e5-aafd-6c72641933bc ro  quiet splash
        echo    'Initiale Ramdisk beeing loaded …'
        initrd  /boot/initrd.img-4.19.0-5-amd64
So you either remove those lines manually from the generated /boot/grub/grub.cfg
or adjust the generator grub-script itself:

Code: Select all

/etc/grub.d/10_linux
Good luck.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
srq2625
Forum Regular
Forum Regular
Posts: 128
Joined: Mon Jan 21, 2019 10:40 am

Re: Really quiet boot

#5

Post by srq2625 » Wed May 15, 2019 9:37 am

I failed to say that I fully understand and appreciate your position and I most certainly was not trying to say that you should change.

As for ideas - If the above idea doesn't work for you, I MIGHT be able to come up with something when I get home this evening. I'll post something, regardless of whether I'm successful or not, around 2030 GMT.
AsusTek PRIME B450-Plus
AMD Ryzen 7 2700 (8-Core, 16 threads)
GeForce GTS 450/PCIe/SSE2 v: 4.6.0 NVIDIA 390.116
Realtek RTL8111/8168/8411 - driver: r8169
Samsung SSD 860 EVO 500GB
DDR4 3200MHz CL16 2x8GB

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 488
Joined: Sun Mar 17, 2019 3:37 pm

Re: Really quiet boot

#6

Post by Head_on_a_Stick » Wed May 15, 2019 12:11 pm

Try

Code: Select all

sudo sed -e '/Loading/s/^/#/' -i /etc/grub.d/10_linux
sudo update-grub
You will need to repeat this if the grub-common package is updated.
"The state, therefore, is the most flagrant, the most cynical, and the most complete negation of humanity." — Mikhail Bakunin

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 4605
Joined: Wed Apr 11, 2018 5:09 pm

Re: Really quiet boot

#7

Post by fehlix » Wed May 15, 2019 12:54 pm

Head_on_a_Stick wrote:
Wed May 15, 2019 12:11 pm
Try

Code: Select all

sudo sed -e '/Loading/s/^/#/' -i /etc/grub.d/10_linux
sudo update-grub
You will need to repeat this if the grub-common package is updated.
Nice.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

mrx
Forum Novice
Forum  Novice
Posts: 15
Joined: Wed May 15, 2019 4:20 am

Re: Really quiet boot

#8

Post by mrx » Wed May 15, 2019 6:36 pm

Head_on_a_Stick wrote:
Wed May 15, 2019 12:11 pm
Try

Code: Select all

sudo sed -e '/Loading/s/^/#/' -i /etc/grub.d/10_linux
sudo update-grub
You will need to repeat this if the grub-common package is updated.
Great this worked, but did it make my boot a bit slower? How can I go revert it back? But maybe it is only a feeling.
Last edited by mrx on Thu May 16, 2019 2:18 am, edited 1 time in total.

mrx
Forum Novice
Forum  Novice
Posts: 15
Joined: Wed May 15, 2019 4:20 am

Re: Really quiet boot

#9

Post by mrx » Wed May 15, 2019 6:40 pm

Next question, guys: when I shut down the system, it shows first some text rows like " The system is now going to run level.." or similar.
How to get this silent? I do not want to see any console messages ;-)

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1803
Joined: Tue Jan 08, 2019 4:47 am

Re: Really quiet boot

#10

Post by JayM » Wed May 15, 2019 9:10 pm

Run Catfish File Search, change the directory it will search from your home directory to the file system. Click the gear icon and select "Search file contents". Search for the string of text that you see on shutdown. If it finds it, Catfish will tell you what file(s) contain(s) that text.
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

Post Reply

Return to “MX Help”