[CentOS] Is it possible to lvrename the current root partition?

William L. Maltby CentOS4Bill at triad.rr.com
Fri May 2 21:37:01 UTC 2008


On Fri, 2008-05-02 at 17:28 -0400, Ross S. W. Walker wrote:
> Ross S. W. Walker wrote:
> > 
> > Alfred von Campe wrote:
> > > 
> > ><snip>

> Oh, I forgot, as Bill pointed out...
> 
> 12) remake the initrd
> 	- mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)

In the output from the gzip -dc <initrdfile> | cpio -idumv
is a file named init. Look around this area.

   echo Creating root device.
   mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00
   echo Mounting root filesystem.

> <snip>

-- 
Bill




More information about the CentOS mailing list