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
Next, change into grup-2.00/ directory by running the command below
cd grup-2.00/
Then while in that directory, install these two packages.
sudo apt-get install bison flex
Next, run the command below to begin building GRUB installation environment.
sudo ./configure --prefix=/usr
Next, run the command below to build GRUB 2.00
sudo make
After that, run the commands below
sudo make install
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
Finally, update grub by running the commands below.
sudo update-grub2
Enjoy!