From 12db212a57ecc678f91842d305772084b86885c2 Mon Sep 17 00:00:00 2001 From: user1 Date: Wed, 24 May 2023 14:34:51 +0200 Subject: [PATCH] Before unmounting the partitions, update /etc/fstab for the different SD block device compared to the Raspberry Pi 3 --- raspberry_arch-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/raspberry_arch-install.sh b/raspberry_arch-install.sh index d00cf2b..53abed1 100755 --- a/raspberry_arch-install.sh +++ b/raspberry_arch-install.sh @@ -72,6 +72,9 @@ fi bsdtar -xpf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C root sync +# Before unmounting the partitions, update /etc/fstab for the different SD block device compared to the Raspberry Pi 3 +sed -i 's/mmcblk0/mmcblk1/g' root/etc/fstab + echo "Move boot files to the first partition..." sleep 5