Is it still possible to use the old script to create an image for the Raspberry Pi 4 with BTRFS file system?
That would involve extensive hours to bring the script back up to snuff.
here is how to start down the path for btrfs on RPi 4
First step would be to create a RPi 4b rootfs with btrfs. To do so, go to
https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-4
Then switch to the Installation Tab.
Install a uSD card or USB 3 SSD to a USB connector.
These commands will need root permissions. To keep from typing sudo many times,
I just use su to switch to root permissions.
Now follow the instructions to create a RPi 4b rootfs on the Target storage device. Use
lsblk -f
to list the devices and find the device name of your target storage device. Should probably be something like /dev/sda or /dev/sdb
Step 4 change mkfs.ext4 /dev/sdX2
TO
mkfs.btrfs -f /dev/sdX2
Step 5 - As per the notes under AArch64 Installation, change
wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-armv7-latest.tar.gz
TO
wget http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
The only thing you are changing is armv7 to aarch64 now change
bsdtar -xpf ArchLinuxARM-rpi-armv7-latest.tar.gz -C root
To
bsdtar -xpf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C root
again the only thing you are changing is armv7 to aarch64
Then do the sync command
Step 6.1 As per the notes under AArch64 Installation,
sed -i 's/mmcblk0/mmcblk1/g' root/etc/fstab
Step 10 add
pacman-key --lsign-key builder@archlinuxarm.org
Now you should have a working rootfs with btrfs on partition 2
as root use vi or nano to edit /etc/pacman.d/mirrorlist
line 7 comment out
Server = http://mirror.archlinuxarm.org/$arch/repo
now uncomment two mirrors closest to you.
close file
pacman -Syu
I had 147 packages updated.
Now you can build your system the Arch Way. If you get this far, I can probably give some help.
Pudge
I took a close look at the current script I use for making the images offered on github.
I think I can offer a way to use btrfs as an option without a lot of work.
But you would have to create the btrfs image on your own, which is not difficult.
Building the image only takes 7 to 8 minutes on my Radxa ROCK 5B, so probably 10 to 15 minutes on a RPi 4b.
Pudge
Let me look at this some more tomorrow.
@Solid_Rhino
btrfs is now available for all EnOS supported ARM devices.
https://forum.endeavouros.com/t/btrfs-available-for-enos-supported-arm-devices/64095
Pudge