How to Install GRUB 2.00 in Ubuntu 12.04 (Precise Pangolin) 2


If you don’t already know, GRUB 2.00 was released recently and if you wish to upgrade your system, then this brief tutorial is going to show you how.

GRUB (GRand Unified Bootloader) is the program that helps boot up your computer when you turn it on. Without it, you wouldn’t be able to load Ubuntu. So, it’s very important that you know what do to in case something goes wrong before upgrading it. The least make will render your computer inoperable.

Now that it’s clear, let ‘s continue below to learn how to upgrade GRUB in Ubuntu 12.04 (Precise Pangolin)

Objectives:

  • Install / Upgrade GRUB 2.00 in Ubuntu 12.04
  • Enjoy!

To get started press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to download the newest version of GRUB.

wget -O- ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.xz | tar -xJ

 

grub_precise_6

 

Next, change into grup-2.00/ directory by running the command below

cd grup-2.00/

 

grub_precise_7

 

Then while in that directory, install these two packages.

sudo apt-get install bison flex

 

grub_precise_8

 

Next, run the command below to begin building GRUB installation environment.

sudo ./configure --prefix=/usr

 

grub_precise_9

 

Next, run the command below to build GRUB 2.00

sudo make

 

After that, run the commands below

sudo make install

 

grub_precise_10

 

Next, install GRUB 2.00 on the partition it should be installed on. This is VERY IMPORTANT. If you don’t know, read this blog post first before continuing.

When you’re ready, install GRUB onto the partition that you know it should be installed on.

sudo grub-install /dev/xxx

 

grub_precise_11

 

Finally, update grub by running the commands below.

sudo update-grub2

 

Enjoy!

 

grub_precise


Please share if you like it on:



Leave a Comment

Your email address will not be published. Required fields are marked *

2 thoughts on “How to Install GRUB 2.00 in Ubuntu 12.04 (Precise Pangolin)