mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
fix mount
This commit is contained in:
@@ -804,8 +804,6 @@ EOF
|
||||
BOOT_PARTITION="/dev/${setupDevicePartitionBase}1"
|
||||
ROOT_PARTITION="/dev/${setupDevicePartitionBase}2"
|
||||
echo "# Mounting root and boot partitions..."
|
||||
mkdir -p $DISK_SYSTEM 2>/dev/null
|
||||
mount $ROOT_PARTITION $DISK_SYSTEM || { echo "Failed to mount root partition"; exit 1; }
|
||||
umount /mnt/disk_boot 2>/dev/null
|
||||
mkdir -p $DISK_SYSTEM/boot 2>/dev/null
|
||||
mount $BOOT_PARTITION $DISK_SYSTEM/boot || { echo "Failed to mount boot partition"; exit 1; }
|
||||
|
Reference in New Issue
Block a user