Before unmounting the partitions, update /etc/fstab for the different SD block device compared to the Raspberry Pi 3

This commit is contained in:
user1 2023-05-24 14:34:51 +02:00
parent 91f3f4ce99
commit 12db212a57

View file

@ -72,6 +72,9 @@ fi
bsdtar -xpf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C root bsdtar -xpf ArchLinuxARM-rpi-aarch64-latest.tar.gz -C root
sync 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..." echo "Move boot files to the first partition..."
sleep 5 sleep 5