[CentOS] Making a clone of an LVM-based EL5 install

Wed Mar 20 10:56:55 UTC 2013
xrx <xrx-centos at xrx.me>

Hi Ben,

Off-list as Antonio had the same message, but I would HIGHLY recommend 
CloneZilla; it would only back up the used portion of the drive unlike 
dd (which would save you a lot of time), and it hasn't failed me yet in 
5 years. I recommend the "alternative-stable" release; it has more drivers.

http://sourceforge.net/projects/clonezilla/files/clonezilla_live_alternative/20130314-quantal/clonezilla-live-20130314-quantal-i386.iso/download

(this is unrelated to the issue you fixed; clonezilla's image would also 
be missing the sata_nv driver)


-xrx



On 03/19/13 22:28, Lists wrote:
> Thanks!
>
> Your reply in conjunction with a google search that found the below
> website and resolved this completely!
>
> http://wiki.centos.org/TipsAndTricks/CreateNewInitrd
>
> The final line being something like
> mkinitrd --with sata_nv initrd-2.6.18-194.32.1.el5.img 2.6.18-194.32.1.el5
>
> -Ben
>
> On 03/19/2013 08:37 AM, Gordon Messmer wrote:
>> On 03/18/2013 03:36 PM, Lists wrote:
>>> -) When booting from the newly imaged drive, it starts the boot just
>>> fine but quits at:
>>> ----------------------------
>>> Activating logical volumes
>>>       Volume group "VolGroup00" not found
>> The only reason that I can think of that would cause this is an initrd
>> that doesn't contain the driver for the whatever adapter the disk is
>> attached to.
>>
>> Boot the rescue image and identify the adapter module.  When you've
>> identified it, go back to the live system and make a new initrd using
>> "--with <adapter_module>".  Don't replace the existing initrd, just
>> create a new one in /boot.  If you then clone the disk, you should be
>> able to boot the cloned disk to grub.  Edit the kernel definition and
>> change the path to the initrd, selecting the one you've created for the
>> new system.  It should boot properly, at which point you can replace the
>> standard initrd path or fix grub's configuration file.
>>
>> ...and if you don't want to clone the system again, you can just boot
>> the rescue environment, chroot to the sysimage, and make the initrd there.
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos