GNU Info

Info Node: (grub.info)Installation

(grub.info)Installation


Next: Booting Prev: Naming convention Up: Top
Enter node , (file) or (file)node

Installation
************

   First, you need to have GRUB itself properly installed on your
system, (Note: Obtaining and Building GRUB) either from the source
tarball, or as a package for your OS.

   To use GRUB, you need to install it on your drive. There are two
ways of doing that - either using the utility `grub-install' (Note:
Invoking grub-install) on a UNIX-like OS, or by using the native
Stage 2. These are quite similar, however, the utility might probe a
wrong BIOS drive, so better be careful.

   Also, if you install GRUB on a UNIX-like OS, please make sure that
you have an emergency boot disk ready, so that you can rescue your
computer if, by any chance, your hard drive becomes unusable
(unbootable).

   GRUB comes with boot images, which are normally installed in the
directory `/usr/lib/grub/i386-pc'. You need to copy the files `stage1',
`stage2', and `*stage1_5' to the directory `/boot/grub'. Here the
directory where GRUB images are installed and the directory where GRUB
will use to find them are called "image directory" and "boot
directory", respectively.

Creating a GRUB boot floppy
Installing GRUB natively
Installing GRUB using grub-install

automatically generated by info2www version 1.2.2.9