grub2config v1.5 Kent Robotti Jun 24, 2009 The script 'grub2config' helps you install the GRUB2 bootloader on your Linux system. It supports IDE and SCSI drives, but has no support for RAID. These are the options you can use at the GRUB2 install menu: 1. Start: Choose where to install GRUB2. This is the first step to start a new configuration file, /boot/grub/grub.cfg, with no OS's entered into it (yet). You'll be asked where you want to install GRUB2. 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/grub.cfg file, you must add at least one OS to it before you can install GRUB2. Next you'll want to add at least one Linux partition, the one that will hold the GRUB2 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/grub.cfg file. 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 GRUB2 Once you've looked at your new config file and are satisfied with the way it looks, pick this option to install GRUB2 and exit the GRUB2 installation menu. Other options: -- View your current /boot/grub/grub.cfg file If you haven't begun building a new grub.cfg file, this choice will let you take a look at the existing one in /boot/grub on your GRUB2 Linux partition. If you have begun constructing a new grub.cfg file, this option will let you view the progress on that. -- Help - Read this GRUB2 Bootloader HELP file ----------- Other GRUB2 information: GRUB2 on the Master Boot Record can be removed easily. DOS/Win9x fdisk has an '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/grub.cfg by hand. --- end of GRUB2 help grub2config is based on liloconfig by Patrick Volkerding fron the Slackware Linux distribution.