sg2conf is a script that will install GRUB2 mostly automatic.
Apart from that the script grub2config-launcher is also shipped with it.
grub2config-launcher is intended for an installation environment and
offers the choice between the semi-automatic sg2conf and the
more advanced grub2config installation and configuration scripts.

You might want to take a lot at the sample config file grub.cfg, which
is shipped with the archive.

REQUIREMENTS:
 * grub2
 * os-prober

INSTALLATION (as root):
 1. Install everything using install.sh.
    Influential ENVIRONMENT variables are:
        PREFIX:     installation prefix (default: /usr)
        DESTDIR:    directory where to install all files to
        GRUBBOOT:   grub boot directory path (default: /boot/grub)
        SOURCEDIR:  directory where the files to install are located
                    (default: ./)
        ETCDIR:     directory where to install etc-files (default:
                    $PREFIX/etc)
        DISTRIBUTOR:the name of the distribution which ships 
                    sg2conf/grub2 (e.g Zenwalk, default: none)
        GRUB2CONFIG:wether to ship the grub2config script (default: false)
                    also affects wether expert will be offered as
                    choice in grub2config-launcher
        ZWTHEME:    wether to ship the 05_zenwalk_theme file (default: false)
                    DEPRECATED! NOT ANYMORE MAINTAINED!
        ZWPATCH:    wether to try patching etc/grub.d/10_linux (default:false)
                    If you have 10_linux and 00_header in DESTDIR/ETCDIR
                    those are patched for you to support sg2conf
                    DEPRECATED! NOT ANYMORE MAINTAINED!
        GRUB_CMDLINE_LINUX:
                    default parameters to use for grub-mkconfig
                    configuration variable GRUB_CMDLINE_LINUX
                    (these parameters are also used for rescue mode)
        GRUB_CMDLINE_LINUX_DEFAULT:
                    default parameters to use for grub-mkconfig
                    configuration variable GRUB_CMDLINE_LINUX_DEFAULT
                    (add here e.g. parameters like splash or
                    splash=silent which should only be used for normal
                    non-rescue menuentries)
        BACKGROUND: the default background which the GRUB_BACKGROUND
                    option is set to (e.g. /boot/grub/salix.jpg
                    default: none)
        THEME:      the default theme which the GRUB_THEME option is set
                    to. Setting a theme makes the GRUB_BACKGROUND option
                    obsolete. (e.g. /boot/grub/mytheme default: none)
2.  If you didn't have those files in DESTDIR/ETCDIR you have to patch
    them manually to make sg2conf work.

USAGE:
Just run sg2conf or grub2config-launcher. If you prefer the advanced
configuration choose that in grub2config-launcher or launch grub2config
directly.


Author: Andreas Born <futur~DOT~andy~AT~googlemail.com>
