Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Getting to know GRUB

Install and use this robust boot loader

Daniel Robbins, Chief architect, Gentoo Linux, Microsoft
Daniel Robbins lives in Albuquerque, New Mexico. He was the founder and chief architect of the Gentoo Linux project. Daniel now works with Microsoft and describes his position as "helping Microsoft to understand Open Source and community-based projects."

Summary:  This tutorial shows you how to install and use GRUB, the Grand Unified Boot Loader. Like LILO, GRUB allows you to boot your Linux® system, taking care of loading and booting the kernel. Unlike LILO, GRUB is feature rich, easier to use, more reliable and flexible, and just plain neat-o.

Date:  11 Jan 2001
Level:  Advanced PDF:  A4 and Letter (43 KB | 12 pages)Get Adobe® Reader®

Activity:  22774 views
Comments:  

Wrapup

One of GRUB's greatest strengths is its robust design -- don't forget this as you continue to use it. It's not necessary to reinstall GRUB if you update your kernel or change its location on disk. Instead, just update your menu.lst file if needed, and all will be well.

There are only a couple of situations where you'll need to reinstall the GRUB boot loader to your boot record. First, if you change the partition type of your GRUB root partition (for example, from ext2 to ReiserFS), a reinstall will be needed. Or, if you update the stage1 and stage2 files in /boot/grub so that they're from a newer version of GRUB, you'll most likely need to reinstall the boot loader. Other than that, you're all set!

There's a lot more to GRUB than what we covered here. For example, you can use GRUB to do network boots, boot BSD filesystems, and more. In addition, GRUB has many configuration and security commands that you may find useful. For a complete description of all GRUB functionality, be sure to check out GRUB's excellent GNU info documentation. Just type "info grub" at your bash prompt and read away.

6 of 8 | Previous | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Linux, Open source
ArticleID=132893
TutorialTitle=Getting to know GRUB
publish-date=01112001
author1-email=
author1-email-cc=