Added formatting and mounting

This commit is contained in:
0x221E
2026-02-10 17:27:58 +01:00
parent fa01448e77
commit 82a2c8b333

View File

@@ -16,6 +16,14 @@ parted -s "$PART" mkpart primary ext4 27GB 100%
echo -n "$LUKS_PASS" | cryptsetup luksFormat --type luks2 --iter-time 5000 "${PART}3" echo -n "$LUKS_PASS" | cryptsetup luksFormat --type luks2 --iter-time 5000 "${PART}3"
echo -n "$LUKS_PASS" | cryptsetup open "${PART}3" roothome echo -n "$LUKS_PASS" | cryptsetup open "${PART}3" roothome
mkfs.fat -F 32 "${PART}1"
mkfs.ext4 /dev/mapper/roothome
mount /dev/mapper/roothome /mnt
mkdir -p /mnt/boot
mount "${PART}1" /mnt/boot
swapon "${PART}2"
pacstrap /mnt base linux linux-firmware pacstrap /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab genfstab -U /mnt >> /mnt/etc/fstab