You are not logged in.
Pages: 1
I have tried this on several installations of ARCH and are unable to get fsck to run during bootup.
Here's the guide I followed: https://wiki.archlinux.org/index.php/fsck
I have changed by kernel boot line to this:
APPEND root=/dev/sda1 rw vga=current fsck.mode=force fsck.repair=yes quiet loglevel=0
I have set the check frequency to 1 (every boot) with this:
tune2fs -c 1 /dev/sda1
and checked it is set with this:
dumpe2fs -h /dev/sda1 | grep -i 'mount count'
dumpe2fs 1.43.3 (04-Sep-2016)
Mount count: 1
Maximum mount count: 1
And still after a reboot, there is no evidence of FSCK being executed:
journalctl -b | grep fsck
Feb 03 09:04:33 PURE-DEV kernel: Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda1 rw vga=current fsck.mode=force fsck.repair=yes quiet loglevel=0 initrd=../initramfs-linux.img
Any suggestions on why FSCK refuses to run ??
Offline
You have not followed the wiki page you refer to.
You must either use ro in kernel boot paramenter to force systemd to fsck the filesystems or use fsck hook in /etc/mkinitcpio.conf (and mkinitcpio -p linux) to force initramfs to run fsck.
Offline
Pages: 1