You are not logged in.

#1 2022-09-28 00:20:17

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 116
Website

[SOLVED] How to get rid of initial ramdisk message?

[SOLVED]

When my computer startup/shutdown, it will have a message:

Booting "Arch Linux"

Loading Linux linux
Loading initial ramdisk ...
-

my `/etc/default/grub` is:

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="nowatchdog console=tty2 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

I added `systemd.show_status=auto rd.udev.log_level=3` but it seems to be not working

I ran `sudo mkinitcpio -P` and `sudo grub-mkconfig -o /boot/grub/grub.cfg`

Last edited by Firestar (2022-09-28 14:14:23)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#2 2022-09-28 00:23:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] How to get rid of initial ramdisk message?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-09-28 00:32:16

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 116
Website

Re: [SOLVED] How to get rid of initial ramdisk message?

I know, you can see that I followed https://wiki.archlinux.org/title/Silent … parameters

So what is the type of this message


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#4 2022-09-28 07:11:29

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED] How to get rid of initial ramdisk message?

"Loading Linux linux" and "Loading initial ramdisk ..." are echo'd by grub, just remove them from the grub.cfg or replace them w/ something else.
iirc the "booting something" message is hardcoded and you'd have to https://wiki.archlinux.org/title/Silent … _from_BIOS

PSA: what you're doing is an idiotic exercise.
The startup and shutdown sequence is typically extremely short and not relevant to the use of the system. So you don't really care what it looks like … unless the boot fails.
In that case: what do you think is a more desirable display? Some fancy logo or a boot message that gives you a hint why stuff doesn't work?

Offline

#5 2022-09-28 08:12:31

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 116
Website

Re: [SOLVED] How to get rid of initial ramdisk message?

I find them here

https://superuser.com/questions/1093157 … ng-message

it was in `/boot/grub/grub.cfg` and it is hardcoded in `/etc/grub.d/10_linux`, delete the 2 lines will fix

Last edited by Firestar (2022-09-28 14:12:24)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

Board footer

Powered by FluxBB