Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
So I am trying to run my rootfs as F2FS. On a RPi3 (with the rpi3 lite image) it works fine, but on my RPi4 (with the pri4 lite image) it fails. The image works fine on the RPi4 with ext4. Here's how I do it:
mkdir myrpi
mount /dev/sdd2 /mnt/rpi
rsnyc -avP /mnt/rpi/* myrpi/
umount /dev/sdd2
mkfs.f2fs -f /dev/sdd2
mount /dev/sdd2 /mnt/rpi
rsync -avP myrpi/* /mnt/rpi/
mount /dev/sdd1 /mnt/rpi/boot
sed -i -e "s/ext4/f2fs/g" /mnt/rpi/boot/cmdline.txt
sed -i -e "s/ext4/f2fs/g" /mnt/rpi/etc/fstab
umount /dev/sdd1
umount /dev/sdd2
What happens on the rpi4 after I reboot is that:
The hostname is displayed as (none).
The filesystem is mounted read-only (I can remount it manually but I need to do this every time)
e.g. nmtui fails with Could not contact NetworkManager: Coul not connect: No such file or directory.
So I am trying to run my rootfs as F2FS. On a RPi3 (with the rpi3 lite image) it works fine, but on my RPi4 (with the pri4 lite image) it fails. The image works fine on the RPi4 with ext4. Here's how I do it:
What happens on the rpi4 after I reboot is that:
(none)
.nmtui
fails withCould not contact NetworkManager: Coul not connect: No such file or directory
.Any idea what's wrong?