Some time ago, on Mon, Dec 10, 2001 at 11:13:46PM +0100, Jirtme Tournier wrote: > Hi, > we planed to port the LVM support to anaconda. > I can't find any CVS server for this project. > Do we need to start from the begining, or is it possible to have a look at any > developpement that have been started at this time ? > Thanks for your help > > -- > Jérôme > > How I did this, for RH 7.1, was to unpack the 2.4.2 kernel sources. These come on the RH 7.1 source CD. I modified the 2.4.2-BOOT .config file to include LVM as a module. I then rebuilt the 2.4.2 kernel. I included the lvm-mod.o file in the stage2.img filesystem. During a kickstart post-install, script I insmod'd the lvm-mod.o file, and created an LVM partition. You modify the stage2.img filesystem by mounting it using the loopback device, copying the lvm-mod.o file to the mounted filesystem, umounting the filesystem, and overwriting the new stage2.img onto an image of CD 1 in the distribution. You then either burn a real CD from that image or use the image to boot from NFS. A problem with this approach is that it only works for partitions created during that post-install script. If you want all of the filesystems to be LVM-ized, you need to figure out how to re-write the modules.cgz file (also known as the module ball.) I haven't tried it, but it may be possible to do this using the buildinstall script. Erik Troan said that this is relatively easy to do; see http://www.redhat.com/mailing-lists/kickstart-list/msg00487.html You will also need to figure out how to get anaconda to issue commands to create LVM-ized partitions. ===== --Seth Alford sethal@xxxxxxxxx __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/