This is the lvm2create_initrd script written by Miguel Cabeca, with some small
modifications by myself.
Here are some other requirements and tips for using it:
1) this script uses busybox on the initrd image, hence busybox needs to be
installed when you create your initrd.
2) Make sure /etc/lvm/lvm.conf is set up correctly before running this. In
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
The licenses for most software are designed to take away your
freedom to shar