This commit is contained in:
teldra 2022-02-09 16:58:22 +01:00
parent 923599576b
commit ffacb0603f

View File

@ -36,7 +36,7 @@ config() {
mkdir -p /boot/efi/EFI/void /boot/grub
grub-kbdcomp -o /boot/grub/${KEY_LANG}.gkb ${KEY_LANG}
tar cf memdisk.tar ${KEY_LANG}.gkb
tar cf /boot/grub/memdisk.tar ${KEY_LANG}.gkb
echo "set root=(memdisk)" > /boot/grub/early-grub.cfg
echo "set prefix=($root)/" >> /boot/grub/early-grub.cfg
echo "terminal_input at_keyboard" >> /boot/grub/early-grub.cfg
@ -46,7 +46,7 @@ config() {
echo "set prefix=($root)/grub" >> /boot/grub/early-grub.cfg
echo "configfile grub.cfg" >> /boot/grub/early-grub.cfg
grub-mkimage -c /boot/grub/early-grub.cfg -o grubx64_de.efi -O x86_64-efi -m cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha256 lvm btrfs memdisk.tar memdisk tar at_keyboard keylayouts configfile
grub-mkimage -c /boot/grub/early-grub.cfg -o grubx64_de.efi -O x86_64-efi -m /boot/grub/memdisk.tar part_gpt cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha256 lvm btrfs memdisk tar at_keyboard keylayouts configfile
cp -f grubx64_de.efi /boot/efi/EFI/void/grubx64_de.efi
rm -rf grubx64_de.efi memdisk.tar