diff --git a/etc/bootloader/grub b/etc/bootloader/grub index 4faa4ac..e258786 100644 --- a/etc/bootloader/grub +++ b/etc/bootloader/grub @@ -36,6 +36,7 @@ config() { grub-kbdcomp -o ${KEY_LANG}.gkb ${KEY_LANG} tar cf memdisk.tar ${KEY_LANG}.gkb + mkdir -p /boot/grub/ 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 @@ -45,7 +46,6 @@ config() { echo "set prefix=($root)/grub" >> /boot/grub/early-grub.cfg echo "configfile grub.cfg" >> /boot/grub/early-grub.cfg - mkdir -p /boot/grub/ grub-mkimage -c /boot/grub/early-grub.cfg -o grubx64.efi -O x86_64-efi -m memdisk.tar memdisk tar at_keyboard keylayouts configfile cp -f grubx64.efi /boot/efi/EFI/void/grubx64.efi