Trying to convert a LVM partition to non-LVM

Styma, Robert E (Robert) robert.styma at alcatel-lucent.com
Mon Mar 1 22:42:10 UTC 2010


 
> Styma, Robert E (Robert) wrote:
> > My question becomes, "What file(s) other than fstab and grub.conf
> > need to change to change the root parttion from an LVM parition
> > to a normal ext partition such as sda2?"
> 
> Recreate the mkinitrd in your /boot.
> 
> Boot from a rescue disk, mount your system and chroot into that.
> You can run mkinitrd manually (needs a filename /boot/initrd...
> and the kernel version) or you can trigger the steps that happen
> when you install a new kernel, by using a rpm -Uhv --oldpackage
> kernel... or running the script the rpm would run
> (rpm -q --scripts kernel prints something like
>   /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod 
> --install 2.6...
> )
> 
> -- 
>    Roberto Ragusa    mail at robertoragusa.it

THANKS ROBERTO!
This looks like a winner.  I will try this method on a test 
machine shortly. 


More information about the users mailing list