25 April, 2010

Changing the entries in boot loader of Ubuntu

This post will show you how you can change the order, color, text etc that
are shown in the boot loader (grub) of your Ubuntu linux. The configuration
files that are needed to boot your Ubuntu linux are residing in the  menu.lst
file in boot folder
Let use the terminal to edit those entries easily

1.  Take the gnome terminal and type in the followin command to back
up the menu.lst file

$sudo cp /boot/grub/menu.lst  /etc/grub/menu.lst.bak


2.  Open the file in  gedit text editor with all permissions as follows

$ sudo gedit  /boot/grub/menu.lst

3.  Go to the end of the file and there you will see the list of entries that
are shown by the grub as shown in the figure…



4.  Rearrange the entries as if you wish in that list by just cutting-pasting.
U can change the name of the entry also…Look how I changed the first
entry as “myUbuntu”




Changing the timeout for automatic booting

Lookout for the entry like ” timeout      10 “  in the menu.lst file. Change
its value to some other value, the value is expressed in seconds…




Changing the color pattern

Lookout for the entry “Pretty colors”..
 
Remove the # symbol infront of the line   “#color cyan/blue white/blue”

5. After making the required changes save and close the file to make thechanges available to the system… If the menu.lst file had corrupted accidently in some ways, just relax and copy back the menu.lst.bak file to menu.lst file as follows

$ sudo cp /boot/grub/menu.lst.bak /boot/grub/menu.lst

0 comments:

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger