HOWTO: Install GRUB on Slackware with EFI
by arfon from LinuxQuestions.org on (#6DD5C)
On a system already booting with elilo:
As root:
Code:/usr/sbin/grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=uefi
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
removepkg eliloOn a fresh install that hasn't been booted yet:
Exit out of SETUP back to shell and-
Code:chroot /mnt
source /etc/profile
grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=uefi
grub-mkconfig -o /boot/grub/grub.cfg
After GRUB is installed, after every kernel update, make sure to run:
Code:/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
As root:
Code:/usr/sbin/grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=uefi
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
removepkg eliloOn a fresh install that hasn't been booted yet:
Exit out of SETUP back to shell and-
Code:chroot /mnt
source /etc/profile
grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=uefi
grub-mkconfig -o /boot/grub/grub.cfg
After GRUB is installed, after every kernel update, make sure to run:
Code:/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg