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

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



On Mon, Jul 16, 2012 at 7:20 PM, Gregory Machin <gdm@xxxxxxxxxxxxxx> wrote:
>
> Following these instructions :
> mount /dev/sda1 /mnt/sysimage/boot
> mount -t none /dev /mnt/sysimage/dev -o bind
> chroot /mnt/sysimage/boot
> mount /proc
> mount /sys

Not sure you need  any of that if your boot/rescue environment has grub.

> then
>
> root (hd0,1)
> setup (hd0)
> quit
>
> I get the following:
> root (hd0,1)
>  Filesystem type is ext2fs, partition type 0x83
> setup (hd0)
>   Checking if "/boot/grub/stage1" exists... no
>   Checking if "/grub/stage1" exists... no
>
> Error 2: Bad file or directory
> quit
>
> I have checked that the stage1 file is in /boot/grub/ So Im confused.

Either your rsync copy of the boot filesystem was not complete, or
what grub thinks is (hd0,1) is not the filesystem where you put it.

-- 
   Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
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