GRUB, also known as the GRand Unified Bootloader, is a modular, portable bootloader that supports a number of platforms. Grub 2.00 was released on Jun 28, see the release note. This tutorial will explain how to upgrade to grub 2.00(tested on Ubuntu 12.04).
NOTE: Grub 2.00 has not been tested by Ubuntu, any problem may cause your systems un-bootable. Do it as your own risk!
- 1. Open terminal from the dash home, or press Ctrl+Alt+T.
- 2. execute this command to build dependencies:
sudo apt-get build-dep grub2
- 3. Download grub 2.00 and extract it:
wget -O- ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.xz | tar -xJ
- 4. navigate to grub-2.00/:
cd grub-2.00
- 5. build with following three commands:
./configure --prefix=/usr make sudo make install
First command said that I need bison and flex, install them via:
sudo apt-get install bison flex
- 6. Install new grub to where the old is. Be careful if you don’t know about it. I only have one hard disk /dev/sda and Ubuntu installed on /dev/sda6, here I installed the new grub to load all systems on the disk:
sudo grub-install /dev/sda
- 7. Finally generate the boot entries:
sudo update-grub