How to : Install GFX Grub In Ubuntu.

GNU Graphics Grub is the new Grub boot screen which adds to Visual appeal of Boot Screen .. Unlike older grub GFX Grub has now much better themes and customization options.. So lets take a quick look at How To Install GFX GrubBoot Menu..

To install GFX Grub we have to remove older grub so that it should cause any dependencies problem.. To remove Grub Open Terminal . .Main Menu -> Accessories -> Terminal Now type the following code in Terminal

sudo apt-get remove grub

Download GFX Grub debian installer from here and install it by double clicking it Download : GFX Grub

Before we get started take backup of you Menu.lst file so that you can use it in mishap ..
To take backup of Menu.lst file Navigate to /boot/grub and save it ..

Now Download some additional themes for GFX Grub Menu Click Here

Now unzip the files and move it to /boot/grub .. Since it comes under root file system you need to gain root privileged to do that .. Type the following in Terminal

sudo su root

Enter password and then type this nautilus this will open a new Nautilus Window. .Navigate to /boot/grub through root nautilus window.. Copy all the message.xyz file to /boot/grub

Now since you have added theme .. Lets do final settings to make this GFX Grub work.. Open terminal and type this

sudo gedit /boot/grub/menu.lst

Add this line at the top of the Menu.lst file

gfxmenu /boot/grub/message.xyz # the xyz should be replaced with the theme name that you are going to use

Since you have removed you older grub you need to restore GFX Grub so that you boot through OS without any problem.. Open Terminal and do these

Type

sudo grub
find /boot/grub/stage1

You will get a output like (hd0,4) or other depending on you HDD partitions

Then type this

root (hdx,x)
setup (hdx)

Where “x” represent the value of hdd sector in which you have installed grub

The last thing you have to do is to install Grub MBR .

sudo fdisk -l

You will get an output like this

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0dd6c6bd

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3187 25599546 7 HPFS/NTFS
/dev/sda2 3188 8287 40965750 f W95 Ext’d (LBA)
/dev/sda3 8288 9607 10602900 83 Linux
/dev/sda4 9608 9729 979965 82 Linux swap / Solaris
/dev/sda5 3188 5737 20482843+ 7 HPFS/NTFS
/dev/sda6 5738 8287 20482843+ 7 HPFS/NTFS

Look for the bold Entry and finally install MBR in Filesystem

sudo grub-install /dev/sdaX
Note : Replace sda by hda if it is in fdisk -l output

Where X represent the number of you Hard Disk sector in which you have installed Grub…

Here is what My GFX looks like …

Thats it reboot and see the magic 🙂 A new refreshing Grub Menu welcomes you 😛
Regards

27 Responses to “How to : Install GFX Grub In Ubuntu.”

  1. rahimveron Says:

    Thanks for the gr8 tutorial .. Old grub was kinda boring .. This looks gr8 😉

  2. Conor Says:

    Yay, eye-candy! Will be trying this this afternoon.

  3. Unix-Tutorial Says:

    [..]GNU Graphics Grub is the new Grub boot screen which adds to Visual appeal of Boot Screen .. Unlike older grub GFX Grub has now much better themes and customization options.. So lets take a quick look at How To Install GFX GrubBoot Menu..[..]

  4. tarun Says:

    yipee,, thanks a ton for this [:)]

  5. Nathan Says:

    Ummmm, does anybody know how I might undo this, or something? I installed it, and it seems to work fine, it’s just that my sda1 (which is a windows, ntfs partition) is unmountable now. I don’t really know what to do. any help is extremely appreciated.

    Thanks!

  6. Dark Star Says:

    ^^ Please tell me in which partition you installed the GFX Grub >. I mean sudo grub-install /dev/X what was the X entry you did here 😐

  7. Install GFX Grub In Ubuntu | Tech Tips Says:

    […] Install GFX Grub In Ubuntu […]

  8. Kate Says:

    Where can I download the example theme? (And thanks for the tutorial! Helped a lot!)

  9. Dark Star Says:

    ^^ The posted theme is present inside the archive that I had listed here 😉

  10. Marossity Says:

    Why would I want to go to this much trouble when the Grub menu is displayed for no longer than two or three seconds?
    Seems like a waste of time to me. IMHO, of course.

  11. Dark Star Says:

    ^^Its entirely your choice . I just posted the guide.. Now if you like it then its ok if you don’t then also it doesn’t make any difference 🙂

    Chill 🙂

  12. d00msay3r3 Says:

    Where do I find an amd 64bit version for ubuntu?

  13. guitarMan666 Says:

    Can’t you just re-use the device.map and menu.lst from your old text based install? It sounds like that would restore your GRUB just fine. Or am I missing something?

  14. itix Says:

    Cool!
    I wish there were a preview somewhere so that I won’t have to reboot every time I change =p

  15. Kenan Says:

    everything is fine until the very last step. When I type sudo grub-install /dev/sda6 which is where the linux parition is i get this error
    /dev/sda6 does not have any corresponding BIOS drive.

  16. lixonn Says:

    After typing:
    “sudo grub-install /dev/sda6”

    “/dev/sda6 does not have any corresponding BIOS drive.
    ” appears.
    What should I do ? There is sda6 in fdisk output and it is linux partition, what is more it’s the one on which ubuntu is installed

  17. Thamie Says:

    Reply to kenans post.

    I also get a error message, but i dont understand anything out of it else then that my stage1 and stage2’s corrupted, i’ll give you the paste of the message below.

    GNU GRUB version 0.97 (640K lower / 3072K upper memory)

    [ Minimal BASH-like line editing is supported. For the first word, TAB
    lists possible command completions. Anywhere else TAB lists the possible
    completions of a device/filename. ]
    grub> root (hd0,5)
    Filesystem type is reiserfs, partition type 0x83
    grub> setup –stage2=/boot/grub/stage2 –prefix=/boot/grub (hd0,5)
    Checking if “/boot/grub/stage1” exists… yes
    Checking if “/boot/grub/stage2” exists… yes
    Checking if “/boot/grub/reiserfs_stage1_5” exists… yes
    Running “embed /boot/grub/reiserfs_stage1_5 (hd0,5)”… 18 sectors are embedded.
    succeeded
    Running “install –stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,5) (hd0,5)1+18 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst”… failed

    Error 6: Mismatched or corrupt version of stage1/stage2
    grub> quit

  18. Ubuntu customization « Projects 2008 Says:

    […] https://tuxenclave.wordpress.com/2008/01/18/how-to-install-gfx-grub-in-ubuntu/ Possibly related posts: (automatically generated)Some Gentoo and a Lot of Time + Compiling ;)Why Linux Ubuntu?Return to ArchLinux […]

  19. Zohaib Says:

    Hey, for some reason when I go and enter “sudo fdisk -l” I get an Error 27 (unrecognized command)… Any reason why?

  20. Ram Manohar Lohi Darisa Says:

    Where can I find message.xyz file?

  21. linux-newbie Says:

    hi there,

    i followed the how to..and everything worked smoothly but i was wondering … the colors in the screenshot u have is much better…how can i make the menu has stronger and better colors?

  22. slibuntu Says:

    @Ram Manohar Lohl Darisa
    What he means by message.xyz is whichever message file you want to use from the ones in the archive you downloaded. It could be ubu, suse, xubu, kubuntu etc.

  23. j0shdt Says:

    I followed every step of your tutorial, but it seems doesn’t work! When rebooted, the menu says it’s GNU Grub 0.97 but it’s the same as old GRUB! No appealing colors like yours! What’s happening?

  24. keplenk Says:

    Hi,

    Thanks for the guide. I’ve installed it smoothly and worked great!
    However, I’ve got a problem …
    When I boot to Grub gfx, i see this small window ..

    Cool computer, but…
    You are about to install 32-bit software on a 64-bit computer

    I’ve checked my bios and made sure that I’m on 32-bit mode
    I have P35-Ds3l F5 Bios / E2180 / and have 32-bit OSes

    Please help.

    Thanks

  25. Vince Says:

    if the grub-install fails you can try adding “–recheck” option to the command

  26. smautf Says:

    this works great. followed it step-by-step, no problems. thanks dark star!


Leave a reply to Unix-Tutorial Cancel reply