1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2025-02-20 18:01:33 -05:00

wrong disk label

This commit is contained in:
calvinreu 2022-06-02 09:35:09 +02:00
parent 4d71b5b171
commit df35e5d47e

View File

@ -68,8 +68,8 @@ parted -s "$DISK" \
set 1 esp on \
mkpart cryptroot 101MiB 100% \
ESP=$(lsblk /dev/$DISK -o NAME,PARTLABEL | grep ESP| cut -d " " -f1 | cut -c7-)
cryptroot=$(lsblk /dev/$DISK -o NAME,PARTLABEL | grep cryptroot | cut -d " " -f1 | cut -c7-)
ESP=$(lsblk $DISK -o NAME,PARTLABEL | grep ESP| cut -d " " -f1 | cut -c7-)
cryptroot=$(lsblk $DISK -o NAME,PARTLABEL | grep cryptroot | cut -d " " -f1 | cut -c7-)
# Informing the Kernel of the changes.
echo "Informing the Kernel about the disk changes."