fix mount

This commit is contained in:
rootzoll
2025-01-15 14:46:18 +01:00
parent a9cd5c47fe
commit 8bc351f404

View File

@@ -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; }