I am attempting to install Slackware-15.0 in a VirtualBox partition on my Slackware-current machine. I recently switched from elilo to GRUB on my -current installation & that went so easily that I really don't remember what I did. I did some searching & found a video by OldTechBloke on how to use set up GRUB after installation on 14.2. I did not think that the difference between 14.2 & 15.0 would make any difference (was I wrong?). These are the steps I took:
1) Made these partitions: 500M, efi; 4G, swap; ~50G, /.
2) Performed a new installation of 15.0 in VirtualBox, skipping both lilo & elilo installation.
3) At the end of the installation, dropped into a shell instead of rebooting.
4) Did a chroot into the new installation, using:
Code:
# chroot /mnt /bin/bash
# source /etc/profile
5) Issued this command to install GRUB:
Code:
# grub-install --target=x86_64.efi --efi-directory=/boot/efi --bootloader-id=grub
This gave me the following:
Code:
grub-install: error: /usr/lib64/grub/x86_64.efi/modinfo.sh doesn't exist. Please specify --target or --directory.
Now I'm lost. I am under the impression that my installation command specified both --target & --directory. I could not come up with the proper search criteria to get any info on the above error. Where do I go from here?