How To Add A Splash Image To GRUB 2 On Ubuntu 9.04

This tutorial shows how you can add a splash image to your GRUB 2 boot loader on Ubuntu 9.04. Please note that you should use this tutorial only if you have upgraded your bootloader to GRUB 2 previously, as shown in this tutorial: How To Install GRUB 2 On Ubuntu 9.04

I do not issue any guarantee that this will work for you!

Adding Splash Images

Open a terminal (Applications > Accessories > Terminal)…

… and install the grub2-splashimages package:

For more please visit :- http://www.howtoforge.com/how-to-add-a-splash-image-to-grub-2-on-ubuntu-9.04

How To Install GRUB 2 On Ubuntu 9.04

This tutorial shows how you can upgrade your GRUB bootloader to GRUB 2 on Ubuntu 9.04. GRUB 2 has been rewritten from scratch to clean up everything for modularity and portability.

GRUB 2 targets at the following goals:

  • Scripting support, such as conditionals, loops, variables and functions.
  • Graphical interface.
  • Dynamic loading of modules in order to extend itself at the run time rather than at the build time.
  • Portability for various architectures.
  • Internationalization. This includes support for non-ASCII character code, message catalogs like gettext, fonts, graphics console, and so on.
  • Real memory management, to make GNU GRUB more extensible.
  • Modular, hierarchical, object-oriented framework for file systems, files, devices, drives, terminals, commands, partition tables and OS loaders.
  • Cross-platform installation which allows for installing GRUB from a different architecture.
  • Rescue mode saves unbootable cases. Stage 1.5 was eliminated.
  • Fix design mistakes in GRUB Legacy, which could not be solved for backward-compatibility, such as the way of numbering partitions. I do not issue any guarantee that this will work for you.

For more please visit this link :- http://www.howtoforge.com/how-to-install-grub-2-on-ubuntu-9.04

Grub & Single user mode password Protected

Hi Friends,

I am writing method that how to set up password for Grub & single user mode.

This Method will apply on RHEL 5 & Fedora 8/9/10

Open Terminal

Then login as a root. i.e.

[linuxuser@tejasbarot.com]$su – root
password :- ******

[root@tejasbarot.com ~]# grub-md5-crypt then press enter
That will ask you password
Password:- ******
Retype Password:- ******
$1$8fo8r$OZb9wjN2SsueIePblEzmt. (You will find this type of hash value)

First Backup your grub.conf because if any trouble then you can recover it. Backup your grub file by this way.

cp /boot/grub/grub.conf /boot/grub/grub.conf.bkp

To Make Grub Password Protected Copy that HASH value which was generated by grub-md5-crypt and paste it exact after title line look at below example.

vim /boot/grub/grub.conf

default=0
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.9-159.fc10.i686)
password – -md5 $1$8fo8r$OZb9wjN2SsueIePblEzmt. (This Entry will Protect Grub with Password)
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.9-159.fc10.i686 ro root=UUID=063976ce-f9ca-4ced-bb6f-e32290b0faf9 rhgb quiet vga=792
initrd /boot/initrd-2.6.27.9-159.fc10.i686.img

To Make Single User Mode Password Protected Copy that HASH value which was generated by grub-md5-crypt and paste it exact after splashimage line look at below example.

vim /boot/grub/grub.conf

default=0
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
password – –md5 $1$8fo8r$OZb9wjN2SsueIePblEzmt. (This Entry will Protect Single user mode with Password)
hiddenmenu
title Fedora (2.6.27.9-159.fc10.i686)
root (hd0,0)
kernel /boot/vmlinuz-2.6.27.9-159.fc10.i686 ro root=UUID=063976ce-f9ca-4ced-bb6f-e32290b0faf9 rhgb quiet vga=792
initrd /boot/initrd-2.6.27.9-159.fc10.i686.img

Enjoy 🙂