grub---problem

Ralf Mardorf silver.bullet at zoho.com
Sun Nov 29 19:04:20 UTC 2015


On Sun, 29 Nov 2015 18:46:58 +0100, Nils Kassube wrote:
>sudo grub-install --boot-directory=/mnt/boot /dev/sda

That's perhaps easier, than to chroot (systemd-nspawn) and detailed
explained here:

https://help.ubuntu.com/community/Grub2/Installing#via_the_LiveCD_terminal

The chroot or systemd-nspawn might still be useful, but indeed,
grub-install not necessarily requires it.

grub-mkconfig has got the -o option, so this should work without a
chroot too.
http://manpages.ubuntu.com/manpages/wily/man8/grub-mkconfig.8.html

I suspect that chroot is only required, if there should be the need to
reinstall the grub2 packages.

Regards,
Ralf




More information about the ubuntu-users mailing list