fsck
utility) to ensure the FS is really OK.
- Classic init (SysVinit): just reboot the system with a special option:
# shutdown -rF now
- systemd init: much more interesting: at the boot time, you need to append a special kernel command line parameter (e. g., you can specify it at the GRUB command line):
linux /boot/vmlinuz root=UUID=... ro fsck.mode=force
P. S. It should then check all the filesystems enabled for checking in
/etc/fstab
.References:
man shutdown
man systemd-fsck
man fstab
man fsck
No comments:
Post a Comment