Hide fsck messages

Hello how can I hide fsck messages from boot up ?
it really annoys me.

Welcome to the forum! :wave:

I only see fsck messages if fsck actually ran and did something. If it’s doing that often enough to annoy you, then something could be wrong.

Please post the output of the following with proper formatting:

cat /etc/mkinitcpio.conf | grep 'HOOKS="'
cat /etc/default/grub | grep GRUB_CMDLINE_LINUX
sudo journalctl -b | grep fsck

:person_shrugging:

Hello my friend

cat /etc/mkinitcpio.conf | grep 'HOOKS="'                                                      ✔ 
HOOKS="base udev autodetect modconf block keyboard keymap consolefont resume filesystems fsck"
cat /etc/default/grub | grep GRUB_CMDLINE_LINUX                                                ✔ 
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 rd.systemd.show_status=auto resume=UUID=f93c95ee-0acb-4d06-a79a-7be3e5f7bc70 udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
sudo journalctl -b | grep fsck                                                                 ✔ 

[sudo] password for mohammadfadaeifar: 
Sep 06 21:15:03 mohammad-82c7 systemd[1]: Created slice Slice /system/systemd-fsck.
Sep 06 21:15:07 mohammad-82c7 systemd-fsck[460]: fsck.fat 4.2 (2021-01-31)
Sep 06 21:15:07 mohammad-82c7 systemd-fsck[460]: /dev/sda2: 373 files, 27126/261627 clusters
Sep 06 21:15:07 mohammad-82c7 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-004B\x2d54D2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 06 21:15:07 mohammad-82c7 kernel: audit: type=1130 audit(1662482707.146:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-004B\x2d54D2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 06 21:15:07 mohammad-82c7 systemd-fsck[467]: fsck.fat 4.2 (2021-01-31)
Sep 06 21:15:07 mohammad-82c7 systemd-fsck[467]: /dev/sda3: 6 files, 78/261627 clusters
Sep 06 21:15:07 mohammad-82c7 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-0084\x2d9283 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 06 21:15:07 mohammad-82c7 kernel: audit: type=1130 audit(1662482707.423:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-0084\x2d9283 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 06 21:15:08 mohammad-82c7 systemd-fsck[473]: /dev/sda6: clean, 353003/14393344 files, 4468541/57543220 blocks
Sep 06 21:15:08 mohammad-82c7 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-4e65a8f9\x2db8f2\x2d48cb\x2d97ec\x2dfade6f35e638 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 06 21:15:08 mohammad-82c7 kernel: audit: type=1130 audit(1662482708.586:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-fsck@dev-disk-by\x2duuid-4e65a8f9\x2db8f2\x2d48cb\x2d97ec\x2dfade6f35e638 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Hello can you please explain more I mean add what to GRUB_CMDLINE_LINUX_DEFAULT?

It’s right there in the post.

Add the option console=tty3

The file to modify is /etc/default/grub

You’ll need to run update-grub after making the changes.

That’s only output of one of the commands and you did not follow the instructions. Please edit your post accordingly.

TNX my friend it solved my problem

Thanks bro winnie solved my problem.
TNX

I have another question now due to slow boot time if I want to stop fsck how can I do that and is it harmful?

One topic per thread please.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.