[pi.is] Fix Grub EFI folder

main
Puly 3 years ago committed by GitHub
parent a463b7fb4c
commit 8b0a131054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      pi.is

@ -1,3 +1,4 @@
#!/bin/sh
systemctl enable NetworkManager systemctl enable NetworkManager
systemctl enable sddm.service systemctl enable sddm.service
systemctl enable gdm.service systemctl enable gdm.service
@ -39,12 +40,14 @@ archit=$(whiptail --backtitle "Koffe" --title "Architecture selector" --menu "Ch
then then
if [[ "$archit" == "64" ]] if [[ "$archit" == "64" ]]
then then
grub-install --target=x86_64-efi --efi-directory=/boot mkdir /boot/EFI
grub-install --target=x86_64-efi --efi-directory=/boot/EFI
grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg
fi fi
if [[ "$archit" == "32" ]] if [[ "$archit" == "32" ]]
then then
grub-install --target=i386-efi --efi-directory=/boot mkdir /boot/EFI
grub-install --target=i386-efi --efi-directory=/boot/EFI
grub-mkconfig -o /boot/grub/grub.cfg grub-mkconfig -o /boot/grub/grub.cfg
fi fi
fi fi

Loading…
Cancel
Save