Oliver Grawert ogra at
Sun Nov 29 19:51:12 UTC 2015

Am Sonntag, den 29.11.2015, 20:04 +0100 schrieb Ralf Mardorf:
> 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:
> minal
why do you permanently try to promote systemd-nspawn ... especially in
this context it doesnt help a bit, it is not available on any ubuntu
livecd, the chroot command is though and is well documented ...

> 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.
> I suspect that chroot is only required, if there should be the need
> to
> reinstall the grub2 packages.

the chroot is required because grub in ubuntu never uses grub-mkconifg
directly, instead you use update-grub which assembles the proper ubuntu
config from info on the rootfs ... 
ergo: you need to chroot if you need to generate a config ...
if the OP is just repairing a messed up boot record using grub-install
for a system that has a working config already, then the chrooting is
indeed not necessary ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list