[CentOS] "Can't find root device" with lvm root after moving drive on CentOS 6.3

Gordon Messmer yinyang at eburg.com
Mon Mar 25 06:21:18 UTC 2013


On 03/24/2013 10:43 PM, Joakim Ziegler wrote:
> I haven't actually tried writing anywhere in the rescue shell before
> vgchange and mount. I'll give it a try, that would simplify things.

If nothing else, you probably can fit most or all of that in the shell's 
environment.  In case it's ever useful:

# debug=$(lvm pvdisplay; lvm vgdisplay; lvm lvdisplay; blkid; dmesg)
# vgchange -a y
# mount ...
# echo "$debug" > /mnt/sysroot/root/debug




More information about the CentOS mailing list