Categories
grub How to's

How to add splashimage to grub.

Splashimage loads in the background when grub loads. You can add a splash image. To add splash image you need to pick up and image which is in the format of .xpm or convert an existing picture to .xpm using gimp or imagemagick. To know more about .xpm format visit this page on xpm.

lets rename the file to splash.xpm

zip it in .gz format.

$gzip splash.xpm

the new file would be splash.xpm.gz

copy this file to /boot/grub directory. You must be logged in as root to be able to copy files to that directory.

#cp splash.xpm.bz2 /boot/grub/

open /boot/grub/menu.lst file in your favourite text editor like vi or grub.

add the following line

splashimage=(hd0,1)/boot/grub/splash.xpm.gz

P.s if your root partition is first partition of your first hard disk (Master Hard Drive) then you need to add

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

if it is second partition of your first hard disk drive (Master Hard Drive) then you need to add

splashimage=(hd0,1)/boot/grub/splash.xpm.gz

now save menu.lst and reboot.

njoi!!

Categories
grub How to's

How to change the default timeout before default OS boots in grub

To change the default timeout after which grub boots into default Operating System goto /boot/gru/menu.lst.
search for key word timeout

you will see the portion of file as below.
change the time from 5 to 10 or any secs you need .

now grub waits for 10 secs before booting into default os.

## timeout sec

# Set a timeout, in SEC seconds, before automatically booting the
default entry

# (normally the first entry defined).

timeout 5

Categories
grub How to's

How to set Default Operating System to boot IN GRUB

How to set default boot option in grub??
you have seen a large no of os kerenels whihc you can boot into in GRUB screen like below!!

linux-image2.6.18-486
linux-image2.6.18-686
linux-image2.6.24-486
linux-image2.6.24-686
linux-image2.6.34-666

to set the default OS kernel to be booted
open terminal login as root..
$su
enter root password
the use GEDIT or vi to edit the /boot/grub/menu.lst file…

#gedit /boot/grub/menu.lst

in the file search for line default 0

if you option is at 5th position in the menu list (.. then
change
default 0 to default 4 in the menu.lst file.

Now next time you will boot the default OS to boot will be the 5th one..!
cheers