linux poison RSS
linux poison Email

HowTo Install GRUB

If GRUB was not installed during the installation process, it can be installed afterward. Once installed, it automatically becomes the default boot loader.

Before installing GRUB, make sure to use the latest GRUB package available or use the GRUB package from the installation CD-ROMs.

Once the GRUB package is installed, open a root shell prompt and run the command /sbin/grub-install , where is the location that the GRUB Stage 1 boot loader should be installed. For example, the following command installs GRUB to the MBR of the master IDE device on the primary IDE bus:

        /sbin/grub-install /dev/hda

The next time the system boots, the GRUB graphical boot loader menu appears before the kernel loads into memory.



3 comments:

Anonymous said...

But what if you have Windows installed on another partition? Will this "grub-install" make an entry so that you can boot into windows?

DevOps said...

Yea, you just have to specify the device name (/dev/hda or /dev/hdb) and Grub will get installed on that particular device

Unknown said...

What if I'm trying to install it to a USB device (pendrive)? Have anyone known of any special requirements to make it work?

Post a Comment

Related Posts with Thumbnails