diff --git a/install.sh b/install.sh index 9e6cafe..d8d502b 100644 --- a/install.sh +++ b/install.sh @@ -28,7 +28,7 @@ EFI_PART="${TARGET_DISK}1" CRYPT_PART="${TARGET_DISK}2" # 3. Format the EFI partition -mkfs.fat -F32 "$EFI_PART" +mkfs.fat -F32 -n EFI "$EFI_PART" # 4. Set up LUKS encryption for root echo "Setting up LUKS encryption on ${CRYPT_PART}" @@ -36,7 +36,7 @@ cryptsetup luksFormat "$CRYPT_PART" cryptsetup open "$CRYPT_PART" cryptroot # 5. Format root and mount -mkfs.ext4 /dev/mapper/cryptroot +mkfs.ext4 -L cryptroot /dev/mapper/cryptroot mount /dev/mapper/cryptroot "$MOUNT_POINT" # 6. Create and mount boot directory