Install to f2fs filesystem does not boot
System installed to sdcard pmbootstrap install --sdcard=/dev/sdX --filesystem=f2fs
does not boot. Unable to mount root appears at splash screen.
I enabled the debug shell in initramfs and stepped through the boot process. The command fails at mount_root_partition
with error mount: mounting /dev/mmcblk1p2 on /sysroot failed: No such file or directory
.
~ # extract_initramfs_extra /boot/initramfs-extra
Extract /boot/initramfs-extra
9801 blocks
~ # setup_udev
~ # run_hooks /hooks-extra
~ # wait_root_partition
~ # mount_root_partition
Mount root partition (/dev/mmcblk1p2) to /sysroot (read-only) with options defaults
Detected f2fs filesystem
mount: mounting /dev/mmcblk1p2 on /sysroot failed: No such file or directoryERROR: unable to mount root partition!
Creating logs disk
./_info
./blkid.txt
./cmdline.txt
./dmesg.txt
./fdt.dtb
./partitions.txt
./pmOS_init.txt
Making logs available via mass storage
I verified using fdisk, /dev/mmcblk1p2 is the correct root partition.
Moreover I also ran fsck on the root parition to rule out file system corruption.
Trying to mount manually using mount -t f2fs /dev/mmcblk1p2 /sysroot
fails with mount: mounting /dev/mmcblk1p2 on /sysroot failed: No such file or directory
dmesg after attempting manual mount :
[ 328.347634] F2FS-fs (mmcblk1p2): Cannot load crc32 driver.
Device : Samsung Fortuna3g running mainline kernel.
Edited by Siddharth Manthan