On Sun, 2006-09-17 at 09:27 -0400, Ted Miller wrote:> I'll admit I am new to LVM2, but I have got myself in a bad spot.
>
> I renamed the LVM volume and volume group so that I can keep track of what
> is in them. I have changed grub's menu.lst, /etc/fstab, and /etc/mtab,
but
> somewhere else there is still something telling lvm that my root drive is
> on VolGroup00. Where is it, and how do I convince it that
> VolGroup00/Volume00 (or whatever the defaults are) is now DriveC/Centos? I
> suspect it may be hiding in initrd (compressed).
Yep. Fortunately, thats a cpio file. So uncompress, go to tmp make a
work dir and "cpio -idmvc -I <your uncompressed file name>".
Then cd
into the dir and find . -name init. Edit that file. There's two
"ingnorelockingfailure" imperatives in there. One of them names the
volgroup. Add yours to the list (comma, IIRC - use the man page if there
is one).
Then cpio it back up by using the -c param and compress it.
HTH
--
Bill
> <snip eulogy intro>