Para mí, el
background_fsck="NO"
fsck_y_enable="YES"
fsck_y_flags="-f"
el enfoque tampoco funciona (diferentes versiones 10.x ). Así que uso este truco 'sucio' para/etc/rc.d/root
:
--- /tmp/root.orig 2018-06-09 00:56:23.089825000 +0200
+++ /etc/rc.d/root 2018-06-09 00:56:03.831574000 +0200
@@ -22,6 +22,9 @@
[Nn][Oo] | '')
;;
*)
+ # Uncomment the below line to run FORCED fsck on ALL mounts in /etc/fstab during boot:
+ /sbin/fsck -fy || /sbin/fsck -fy
+
if ! mount -uw /; then
echo 'Mounting root filesystem rw failed, startup aborted'
stop_boot true
De esa manera, está funcionando seguro. ADVERTENCIA:vuelva a comentar la línea /sbin/fsck... después de ejecutar esto, ya que esto cuesta tiempo y puede ser un riesgo, si un fsck no es lo que debe hacer.