Re: Can't get Grub work on clone of machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Yves Bellefeuille wrote:
> On Monday 16 July 2012, Gregory Machin <gdm@xxxxxxxxxxxxxx> wrote:
>
>> # chroot /mnt/sysimage
>> # grub-install /dev/sda
>> /dev/sda does not have any corresponding BIOS drive.
>
> Try this:
>
> mount /dev/sda1 /mnt/sysimage/boot
> mount -t none /dev /mnt/sysimage/dev -o bind
> chroot /mnt/sysimage/boot
> mount /proc
> mount /sys

What *is* mounted as /? If you've booted off, say, a USB key, or CD, that
might be seen as sda, and the real h/d is sdb.

     mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux