[Resent, sorry if it is duplicate]
Le 03/06/2018 à 02:24, David H. Durgee a écrit :
I am encountering problems attempting to install grub on a linux mint 18.3 (sylvia) partition on a multi-boot system.  When booting the live DVD and invoking its installer the partition is not listed as a target to install grub.

Which devices are listed ?

I opened a terminal window and attempted to manually install grub with the following results:

sudo grub-install -v /dev/sda15
grub-probe: error: failed to get canonical path of `aufs'.

Is this a UEFI or BIOS/legacy setup ? I'll assume BIOS.

I guess you ran grub-install in the live system instead of the chrooted installed system. By default, it assumes that the boot directory is /boot on the current /. In your live system, / appears to be a AUFS (union mount), which is a virtual filesystem and cannot be mapped to a device. You must have the filesystem containing the /boot directory of the installed system mounted and specify the path to the directory.

grub-install --boot-directory=/<mountpoint>/boot /dev/sda15

Or chroot into the installed root, mount everything needed (/dev, /proc, /sys...) and run grub-install from there.

In either case, you'll have to run update-grub in a chroot afterwards to generate grub.cfg.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to