Exporting UUID
This commit is contained in:
parent
92caa571f1
commit
da65c5433a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user