methee745 and 26 unknown users

 Word :   Username :  
 
Bottom
Author
 Thread :

Configuring GRUB in Ubuntu (for Thetmyster)

 
n°511
Tanshin
Profil: Penguin Pro
Avatar
profil
Posted on 04-24-2009 at 12:48:42 AM  
 

Due to Uttaresh's growing anger, I am posting this here.
 
To modify the GRUB configuration in Ubuntu, do the following:
 
1. Open Terminal and type:

Code :
  1. sudo gedit /boot/grub/menu.lst


Enter your password
 
2.The document will open, and you can configure it.
 
Common changes are:
Changing the default selection- Ubuntu and GRUB begin counting with 0, so count from 0 up. Note that the comment lines (eg. Other Operating Systems:) count as an entry. Here is an example of changing from the top entry to the bottom in a common dual-boot configuration:
 
GRUB Looks like this when booting (the number in brackets at the end indicates which entry number it is. I have added this, and it does not appear in GRUB):

Code :
  1. Ubuntu 9.04, kernel 26.28-11-generic     [0]
  2. Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)     [1]
  3. Ubuntu 9.04, memtest86+      [2]
  4. Other Operating Systems:     [3]
  5. Windows Vista (loader)     [4]


 
The above was my GRUB when I installed Ubuntu. The default will be set to 0. I wanted to change this from 0 to 4, so in the configuration file, the following line was changed:

Code :
  1. default              0


 
To the following:

Code :
  1. default              4


___________________________________
Another common edit is the timeout setting. This controls the amount of time the bootloader is displayed unless a key is pressed. My default was 10 seconds, but I wanted 5 so I changed

Code :
  1. timeout             10


to

Code :
  1. timeout             5


___________________________________
You can also change the names of the Operating System choices by editing the title lines in each entry at the bottom


Message edited by Tanshin on 08-24-2009 at 09:58:37 PM

---------------
http://i15.photobucket.com/albums/a398/saladbar1/snowleopardbar.png
Glomping the internet populace. http://fc02.deviantart.com/fs48/f/2009/196/0/f/0f93b76ffd0ce94dcd8f1041c69e8b42.gif One forum at a time.
answer
mood
GoogleAds
profil
Posted on 04-24-2009 at 12:48:42 AM  
 

answer

Go to:
Add a reply