Force fsck on gk802 and other i.MX6 based systems

I had an issue with my root partition and I could not force fsck to be executed with creating /forcefsck.

Here is my /uEnv.txt that handles mounting of /dev/root:

bootargs_video=gpumem=64M video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 fbmem=10M
linux=boot/dongle.img
devicetree=boot/dongle.dtb
options=console=ttymxc3,115200n8 root=/dev/mmcblk0p1 ro rootwait

The soulution that works is to edit your /etc/fstab and add:

/dev/mmcblk0p1 / ext4 remount,rw 0 0

Afther this if you reboot and create /forcefsck file your filesystem will be checked on boot.

Leave a Reply

Your email address will not be published. Required fields are marked *