diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index 10f0f3f..1c4d7a3 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -314,8 +314,7 @@ __EOF__ mkinitcpio -P yes | pacman -S grub efibootmgr intel-ucode amd-ucode - disk_uuid - disk_uuid="$(blkid -s UUID -o value "${install_path}p2")" + export disk_uuid="$(blkid -s UUID -o value "${install_path}p2")" echo "DISK UUID: ${disk_uuid}" sed 's/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="cryptdevice=UUID=${disk_uuid}:cryptroot"/' grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB