Added formatting and mounting
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user