Add destination map name

This commit is contained in:
maride 2017-08-06 00:28:13 +02:00
parent 140aaa0145
commit 6bd7102277

View File

@ -19,7 +19,7 @@ echo $hostname > /mnt/etc/hostname
echo "~> Configuring 'grub'"
arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch_GRUB
echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value ${blockdevice}2 | head -n 1`'" > /mnt/etc/default/grub
echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value ${blockdevice}2 | head -n 1`:cryptroot'" > /mnt/etc/default/grub
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
echo "~> Patching mkinitcpio.conf for encryption magic"