tomislav91
Posts: 7
Joined: Fri Sep 29, 2017 8:47 pm

fsck on archlinux

Mon May 13, 2019 8:02 am

How can i do it before mounting?I am using armv7 rasp pi 3


first I typed

tune2fs -c 1 /dev/mmcblk0p2


and this is /etc/fstab

Code: Select all

#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
/dev/mmcblk0p1  /boot   vfat    defaults        0       2
/dev/mmcblk0p2  /  ext4 ro 0 1
when use

Code: Select all

 tune2fs -l /dev/mmcblk0p2
i cant see that fsck is done.
Also I tried

Code: Select all

touch /forcefsck
shutdown -Fr now
and same result with tune2fs.

stuartiannaylor

Re: fsck on archlinux

Mon May 13, 2019 8:20 am

fsck.ext4 ...

Look up fsck https://linux.die.net/man/8/fsck

Your fsck order is correct even if I don't fsck boot normally 1 = 1st 2= next

Return to “Arch”