<br><br><div class="gmail_quote">2011/2/8 Xinhuan Zheng <span dir="ltr"><<a href="mailto:xzheng@christianbook.com">xzheng@christianbook.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">Hi,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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:</p>

<p class="MsoNormal"> </p>

<p><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span>Mounting /dev/sdb1 on /sysroot</p>

<p><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span>Mount: mounting /dev/sdb1 on /sysroot failed: No
such file or directory</p>

<p><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span>Mount: mounting /dev on /sysroot/dev failed: No
such file or directory</p>

<p><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span>* switching / to /sysroot</p>

<p><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span>Switch_root: bad newroot /sysroot</p>

<p><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span>Kernel panic – not syncing: Attempted to
kill init!</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks,</p>

<p class="MsoNormal"> </p><font color="#888888">

<p><span>-<span style="font:7.0pt "Times New Roman"">         
</span></span>xinhuan</p>

</font></div>

</div>


</blockquote></div><div>try rebuilding initrd .</div>