Merge pull request #398 from dylanmtaylor/patch-5
Partially revert hasUEFI grub/efibootmgr change to fix GRUB
This commit is contained in:
commit
fcff362b9a
|
|
@ -433,6 +433,7 @@ class Installer():
|
||||||
self.pacstrap('grub')
|
self.pacstrap('grub')
|
||||||
|
|
||||||
if hasUEFI():
|
if hasUEFI():
|
||||||
|
self.pacstrap('efibootmgr')`
|
||||||
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.target} grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB'))
|
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.target} grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB'))
|
||||||
sys_command('/usr/bin/arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg')
|
sys_command('/usr/bin/arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg')
|
||||||
return True
|
return True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue