[CentOS] Can't get Grub work on clone of machine

Tue Jul 17 00:33:17 UTC 2012
Yves Bellefeuille <yan at storm.ca>

On Monday 16 July 2012, Gregory Machin <gdm at linuxpro.co.za> wrote:

> I have not been able to get Grub to go further than :
> GRUB Loading stage1.5.
> GRUB Loading, please wait...
> Error 2

My previous advice was nonsense; sorry. :-(

This, however, should work:

(as root)

mount --bind /dev /mnt/sysimage/dev
mount --bind /proc /mnt/sysimage/proc
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
grub-install /dev/sda

Yves Bellefeuille <yan at storm.ca>