Re: [CentOS] mount the wrong device after system recovery

2011-02-09 Thread Xinhuan Zheng
g [mailto:centos-boun...@centos.org] On > Behalf Of Robert Heller > Sent: Tuesday, February 08, 2011 2:59 PM > To: CentOS mailing list > Cc: CentOS mailing list > Subject: Re: [CentOS] mount the wrong device after system recovery > > At Tue, 8 Feb 2011 13:51:32 -0500 CentO

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread Robert Heller
f Of Robert Heller > Sent: Tuesday, February 08, 2011 2:59 PM > To: CentOS mailing list > Cc: CentOS mailing list > Subject: Re: [CentOS] mount the wrong device after system recovery > > At Tue, 8 Feb 2011 13:51:32 -0500 CentOS mailing list > wrote: > > > > > C

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread Kwan Lowe
On Tue, Feb 8, 2011 at 4:31 PM, Xinhuan Zheng wrote: > My grub.conf is pointing to sdb1 for /. I've corrected to use > /dev/vg0/lv1. But after rebooting, I am getting the same error. I guess > I need to rebuild initrd.img file. How do I rebuild that file? You'd use the mkinitrd utility and specif

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread Xinhuan Zheng
-boun...@centos.org] On Behalf Of Robert Heller Sent: Tuesday, February 08, 2011 2:59 PM To: CentOS mailing list Cc: CentOS mailing list Subject: Re: [CentOS] mount the wrong device after system recovery At Tue, 8 Feb 2011 13:51:32 -0500 CentOS mailing list wrote: > > Content-Class:

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread Robert Heller
At Tue, 8 Feb 2011 13:51:32 -0500 CentOS mailing list wrote: > > Content-Class: urn:content-classes:message > > > Hi, > > > > 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

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread cornel panceac
2011/2/8 Xinhuan Zheng > Hi, > > > > 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 (/).

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread m . roth
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 s

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread Kwan Lowe
On Tue, Feb 8, 2011 at 1:51 PM, Xinhuan Zheng wrote: > > · * switching / to /sysroot > > · Switch_root: bad newroot /sysroot > > · Kernel panic – not syncing: Attempted to kill init! > > > > I’ve changed the recovery system fstab to use the correct devices. I deleted > reco