Is anyone running f2fs on their root partiton on Slackwareaarch64-current?
I have a Raspberry Pi 4 with only a micro SD (uSD). The uSD card formatted as ext4 lasted for approximately two years as I ran slarm64 until Slackwareaarch64-current was released earlier this year. The original uSD died last week. I have a new uSD that I would like to try with f2fs to see if lasts longer than using ext4. I followed the steps listed in the wiki page, created the partitions, ran the installer, subsituting f2fs for ext4, and dropped into a shell after the install. I chroot /mnt, edited the sample load_kernel_modules.post to include:
Code:
modprobe crc32c_generic
as I read in another post this was needed in the initrd on x86 for f2fs. I ran
Code:
os-initrd-mgr --sync-loaded-kmods
and rebooted.
On boot I see the parameters appened from extlinux.conf
Code:
APPEND earlyprintk rootfstype=f2fs root=LABEL=SLKroot console=tty1
then about 15 seconds in the boot the below message is on screen
Code:
Executing user-supplied script: /load_kernel_modules.post
and a few lines later
Code:
mount: can't find /mnt in /etc/fstab
and drops into a busybox shell.
lsblk of uSD viewed on another machine:
Code:
NAME FSTYPE FSVER LABEL UUID
sdb
├─sdb1 vfat FAT32 SLKhwm_bw FFF2-2EEE
├─sdb2 ext4 1.0 SLKboot 47920534-6316-4307-adfd-11a50637e467
├─sdb3 swap 1 SLKswap0 c6f628b3-2c8f-49c9-bd30-48b8e55a4672
└─sdb4 f2fs 1.15 SLKroot 639d0191-2150-4ab9-bf24-7b2dfcedf7f4
/etc/fstab:
Code:
LABEL=SLKswap0 swap swap defaults 0 0
LABEL=SLKroot / f2fs defaults 1 1
# This is the SD card that contains an ext4 file system, housing the
# Linux Kernel and Slackware OS InitRD (Operating System Initial RAM Disk).
LABEL=SLKboot /boot ext4 errors=remount-ro 0 1
# Hardware Model's initial Boot Loader assets:
LABEL=SLKhwm_bw /boot/platform/hwm_bw vfat errors=remount-ro 0 1
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs nosuid,nodev,noexec 0 0
Any idea what I could be missing?
I have a second RPi4 running ext4 on the root partition that was kept in the box until Slackwareaarch64 was released. I figure that uSD should have another year or so of life remaining.
Thank you!