#!/bin/bash umount /dev/sdb2 set -e mkfs.ext4 /dev/sdb2 mount /dev/sdb2 /mnt/temp bsdtar -xpf /home/markus/Downloads/ArchLinuxARM-armv7-latest.tar.gz -C /mnt/temp cp -r _install/lib/modules/6.12.0-rc7-00189-ge8bdb3c8be08-dirty /mnt/temp/lib/modules/ umount /mnt/temp sync