You are not logged in.

#1 2023-09-28 21:52:21

Pickelgold
Member
Registered: 2023-09-28
Posts: 4

How to disable mdadm printing output on boot?

I'm trying to achieve silent boot without using a splash screen like Plymouth for a faster boot, and by following the Arch Wiki instructions I've managed to achieve it, except for one line that's printed every time:

myarray: clean, 908868/62234624 files, 148744957/248938496 blocks

I've looked into /etc/mdadm.conf, but didn't find anything about disabling output. I've also set

kernel.printk = 0 0 0 0

in sysctl.d, as well as setting the necessary kernel parameters:

root=/dev/md0 resume=/dev/md0 resume_offset=119576576 rw raid0.default_layout=2 quiet loglevel=0 udev.log_level=0 initrd=\intel-ucode.img initrd=\initramfs-linux-zen.img

but none of them have removed the RAID message. I've also looked for solutions that disable anything from being printed at all during boot, but haven't found any.

Offline

#2 2023-09-29 04:16:49

eznix
Member
Registered: 2020-06-29
Posts: 34

Re: How to disable mdadm printing output on boot?

Pickelgold wrote:

I'm trying to achieve silent boot without using a splash screen like Plymouth for a faster boot...

Pardon my ignorance, but how does silencing the boot messages speed up the boot process?

Edit: Never mind. I had a Roseanne Roseannadanna moment. Avoiding Plymouth will keep the boot process faster. Got it! :-P

Last edited by eznix (2023-09-29 04:20:14)

Offline

Board footer

Powered by FluxBB