A shell script that helps you install the GRUB boot loader on your system
Version: 1.33grubconfig supports SCSI and IDE drives, but has no support for RAID.
Operating System: Linux
These are the options you can use at the GRUB install menu:
1. Start: Choose where to install GRUB.
This is the first step to start a new configuration file,
/boot/grub/menu.lst, with no OS's entered into it (yet).
You'll be asked where you want to install GRUB. This
can be to your Master Boot Record, or a Linux partition's
superblock (for OS/2's Boot Manager etc. to boot).
Once you've started a new /boot/grub/menu.lst file, you must
add at least one OS to it before you can install GRUB.
Next you'll want to add at least one Linux partition, the
one that will hold the GRUB files in /boot/grub.
You then may want to add other partitions, if you have any.
2. Menu choices to add Linux and other DOS/WIN/BSD/OS2/HURD/QNX/
PLAN9/BEOS/Minix partitions to the /boot/grub/menu.lst
These all pretty much work the same way. You'll be asked
which partitions you want to include in the grub menu, and
you'll also be asked to assign a label to each partition.
The label can be any name such as Redhat Linux, Slackware Linux,
or Windows Vista etc.
3. Install GRUB
Once you've looked at your new config file and are
satisfied with the way it looks, pick this option to
install GRUB and exit the GRUB installation menu.
-- View your current /boot/grub/menu.lst file
If you haven't begun building a new menu.lst file, this choice
will let you take a look at the existing one in /boot/grub
on your GRUB Linux partition.
If you have begun constructing a new menu.lst file, this
option will let you view the progress on that.
-- Help - Read this GRUB Bootloader HELP file
Other GRUB information:
GRUB on the Master Boot Record can be removed easily.
DOS/Win9x fdisk has a 'fdisk /mbr' option that restores the original
master boot record. You can also restore your original boot sector from
the copy 'grubconfig' makes in /boot/grub/mbr.device.number.
This is probably the best way to go about it.
# dd if=/boot/grub/mbr.device.number of=/dev/device bs=512 count=1
If you want to make any changes, you don't need to run grubconfig
again, you can just edit /boot/grub/menu.lst by hand.
- -- end of GRUB help
grubconfig is based on liloconfig by Patrick Volkerding fron the
Slackware Linux distribution.