Re: mount the wrong device after system recovery

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



Xinhuan Zheng wrote:
>
> I am recovering a CentOS 5.4 system. I've copied all partitions into the
> recovery system. I've installed grub boot loader. However, the original
> system is using /dev/sdb1 for root (/), while the recovery system is
> using LVM (/dev/vg0/lv1) for root (/). When recovery system boots, I got
> the panic error:
>
> *         Mounting /dev/sdb1 on /sysroot
> *         Mount: mounting /dev/sdb1 on /sysroot failed: No such file or
> directory
<snip>
> I've changed the recovery system fstab to use the correct devices. I
> deleted recovery system etc/lvm/cache/.cache file. But it still doesn't
> work. What am I missing?

What does your /boot/grub/grub.conf read? You have to edit that, then
reinstall grub.

       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