From 1a1e5f3e0dcbc290812b45ce8f68ea823a87720e Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Fri, 27 May 2022 13:09:38 +0200 Subject: [PATCH] Fixes. --- easy-arch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index 0324881..fc19d4d 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -294,7 +294,7 @@ mkfs.fat -F 32 "$ESP" &>/dev/null # Creating a LUKS Container for the root partition. print "Creating LUKS Container for the root partition." -echo -n "$password" | cryptsetup luksFormat "$CRYPTROOT" -d - &>/dev/null +echo -n "$password" | cryptsetup luksFormat "$CRYPTROOT" -d - echo -n "$password" | cryptsetup open "$CRYPTROOT" cryptroot -d - BTRFS="/dev/mapper/cryptroot" @@ -327,7 +327,7 @@ mount "$ESP" /mnt/boot/ # Pacstrap (setting up a base sytem onto the new root). print "Installing the base system (it may take a while)." -pacstrap /mnt --needed "$kernel" "$microcode" "$kernel"-headers base linux-firmware btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector base-devel snap-pac zram-generator >/dev/null +pacstrap /mnt --needed "$kernel" "$microcode" "$kernel"-headers base linux-firmware btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector base-devel snap-pac zram-generator &>/dev/null # Setting up the hostname. echo "$hostname" > /mnt/etc/hostname