Added labels to patitions in install script
Some checks failed
NixOS Configuration Check / nixos-check (push) Failing after 23s
Some checks failed
NixOS Configuration Check / nixos-check (push) Failing after 23s
This commit is contained in:
parent
905fe12714
commit
88ea191493
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user