mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Capitalization.
This commit is contained in:
parent
58133d4404
commit
245cd01e38
1 changed files with 5 additions and 5 deletions
10
easy-arch.sh
10
easy-arch.sh
|
|
@ -109,8 +109,8 @@ password_selector () {
|
||||||
print "You need to enter a password for the LUKS Container in order to continue."
|
print "You need to enter a password for the LUKS Container in order to continue."
|
||||||
password_selector
|
password_selector
|
||||||
fi
|
fi
|
||||||
echo -n "$password" | cryptsetup luksFormat "$Cryptroot" -d -
|
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -185,10 +185,10 @@ parted -s "$DISK" \
|
||||||
mklabel gpt \
|
mklabel gpt \
|
||||||
mkpart ESP fat32 1MiB 513MiB \
|
mkpart ESP fat32 1MiB 513MiB \
|
||||||
set 1 esp on \
|
set 1 esp on \
|
||||||
mkpart Cryptroot 513MiB 100% \
|
mkpart CRYPTROOT 513MiB 100% \
|
||||||
|
|
||||||
ESP="/dev/disk/by-partlabel/ESP"
|
ESP="/dev/disk/by-partlabel/ESP"
|
||||||
Cryptroot="/dev/disk/by-partlabel/Cryptroot"
|
CRYPTROOT="/dev/disk/by-partlabel/CRYPTROOT"
|
||||||
|
|
||||||
# Informing the Kernel of the changes.
|
# Informing the Kernel of the changes.
|
||||||
print "Informing the Kernel about the disk changes."
|
print "Informing the Kernel about the disk changes."
|
||||||
|
|
@ -274,7 +274,7 @@ EOF
|
||||||
|
|
||||||
# Setting up LUKS2 encryption in grub.
|
# Setting up LUKS2 encryption in grub.
|
||||||
print "Setting up grub config."
|
print "Setting up grub config."
|
||||||
UUID=$(blkid -s UUID -o value $Cryptroot)
|
UUID=$(blkid -s UUID -o value $CRYPTROOT)
|
||||||
sed -i "s,quiet,quiet rd.luks.name=$UUID=cryptroot root=$BTRFS,g" /mnt/etc/default/grub
|
sed -i "s,quiet,quiet rd.luks.name=$UUID=cryptroot root=$BTRFS,g" /mnt/etc/default/grub
|
||||||
|
|
||||||
# Configuring the system.
|
# Configuring the system.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue