RE: Trying to convert a LVM partition to non-LVM
- From: "Styma, Robert E (Robert)" <robert.styma@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 2 Mar 2010 17:34:57 -0600
Subject: RE: Trying to convert a LVM partition to non-LVMSomewhat Solved,
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
Roberto Ragusa mail at robertoragusa.it
This looks like a winner. I will try this method on a test
After the partitions were copied over, I needed to get rid of the
references to the logical volume manager in serveral files:
mkinitrd /boot/initrd-2.6.18-53.el5.img 2.6.18-53.el5
Replace the version info by whatever kernel is loaded.
Then run grub and enter:
I still go some funny udev errors, but the system came up.
There may be other files which need to be cleaned up that
I have not found yet, but at least the system came up.
users mailing list
To unsubscribe or change subscription options:
- Prev by Date: Re: fc12 tap not working EeePC
- Next by Date: Re: GoogleEarth segfault [SOLVED]
- Previous by thread: RE: Trying to convert a LVM partition to non-LVM
- Next by thread: RE: Trying to convert a LVM partition to non-LVM