I have two thirds of a triple boot system running. A Slackware64 14.2 install is working fine with GRUB 2 as the boot loader, but after having run:
Code:
# slackpkg-new
# slackpkg upgrade-all
I suddenly discover that the command to "update-grub" doesn't work in Slackware. I would have preferred using syslinux, which I have been experimenting with on MBR (BIOS) installs and am very satisfied with it. Unfortunately no support for UEFI after five years (Bugzilla), so I had to opt for GRUB 2.
Here is what I did to install GRUB 2 after Slackware 64 14.2 install (before reboot):
Partition Table for UEFI System (cgdisk)
EFI System Partition (type: ef00
Boot Partition (type: 8300)
Root Partition (type: 8300)
/tmp Partition (type: 8300)
Swap Partition (type: 8200)
Home Partition (type: 8300)
Code:
# chroot /mnt /bin/bash
# . /etc/profile # no space between hash tag and dot in actual command
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
# grub-mkconfig -o /boot/grub/grub.cfg
# mkdir -p /boot/efi/EFI/boot
# cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
Sooo, getting a bit desperate. Can anyone help explain how to update GRUB 2?