mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Fixes.
This commit is contained in:
parent
279f6c2ff0
commit
1a1e5f3e0d
1 changed files with 2 additions and 2 deletions
|
|
@ -294,7 +294,7 @@ mkfs.fat -F 32 "$ESP" &>/dev/null
|
||||||
|
|
||||||
# Creating a LUKS Container for the root partition.
|
# Creating a LUKS Container for the root partition.
|
||||||
print "Creating 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 -
|
echo -n "$password" | cryptsetup open "$CRYPTROOT" cryptroot -d -
|
||||||
BTRFS="/dev/mapper/cryptroot"
|
BTRFS="/dev/mapper/cryptroot"
|
||||||
|
|
||||||
|
|
@ -327,7 +327,7 @@ mount "$ESP" /mnt/boot/
|
||||||
|
|
||||||
# Pacstrap (setting up a base sytem onto the new root).
|
# Pacstrap (setting up a base sytem onto the new root).
|
||||||
print "Installing the base system (it may take a while)."
|
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.
|
# Setting up the hostname.
|
||||||
echo "$hostname" > /mnt/etc/hostname
|
echo "$hostname" > /mnt/etc/hostname
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue