[CentOS] Removing LVM

Tue Apr 10 02:59:01 UTC 2012
Markus Falb <markus.falb at fasel.at>

On 10.4.2012 02:42, James Pifer wrote:
> I have a CentOS 5 machine in which I'm trying to remove lvm. I dd'ed the
> file system to another partition, then dd'ed it back overwriting the lvm
> partition. I then modified menu.lst and fstab and replaced the paths to
> point to the correct device. 
> 
> When the system boots it's still looking for lvm. I can restore the
> system back to where it was with lvm, but I'm not sure what step I'm
> missing to stop the system from looking for lvm. 

Extract the initrd, edit the init script (I do not remember the name)
and compress initrd again. I had to this some time ago after renaming a
Volume Group. There is some lvm stuff hardcoded in this script.
-- 
Kind Regards, Markus Falb

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20120410/53eac8e3/attachment-0004.sig>