Logical Volume Manager Installation                                 05/28/1998
tested with Linux 2.0.40, 2.1.98, 2.1.101, 2.1.102 and 2.1.105


1. change to LVM/0.4alpha/

2. edit make.tmpl and change the TOP macro

3. do a "make"

4. do a "make install"

4a. if step 4 complains "Fatal ERROR: invalid OS version" you are on
    your own.
    Look at LVM/0.4alpha/kernel/usr/src/linux-2.x.y/drivers/block/ll_rw_blk.c
    and     LVM/0.4alpha/kernel/usr/src/linux-2.x.y/kernel/ksyms.c
    and adopt the code to insert/change in the corresponding files of
    your Linux kernel source tree. For step 7 to work, copy the original
    files to /usr/src/linux/drivers/block/ll_rw_blk.c.ORG and
    /usr/src/linux/kernel/ksyms.c.ORG respectively before changing them.

5. rebuild your kernel by "cd /usr/src/linux; make {b}zlilo"
   (be sure to have loadable module support enabled!)

6. put a "insmod lvm" into your startup script or extend /etc/conf.modules
   so that modprobe is able to load the LVM module (enable kerneld/kmod).
   Add a "vgscan" and a "vgchange -a y" to your startup files so that
   the actual volume group configuration is online after each reboot.
   Put a "vgchange -a n" into your shutdown script after terminating all
   processes and dismounting all filesystems having logical volumes open.

7. reboot your machine (do you have a lilo.conf, which is configured to boot
   the former kernel in case of emergency?)

8. read the ascii file LVM-HOWTO to go ahead using the LVM
   and read the manuals. Start with "man lvm".

9. If you like to remove the SW do a "make remove".

10. rebuild the kernel and reboot

