Go Back   TechArena Community > Software > Customize Desktop
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Edit the Grub Menu in Ubuntu

Customize Desktop


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-03-2009
Member
 
Join Date: Feb 2009
Posts: 240
Edit the Grub Menu in Ubuntu
  

Hi.. I am using a Ubuntu Operating system and i need a small help from you all. My question is how can i change Grub Menu in my Ubuntu OS..? Please help Its urgent.

Reply With Quote
  #2  
Old 20-03-2009
Member
 
Join Date: Feb 2009
Posts: 391
Re: Edit the Grub Menu in Ubuntu

Ubuntu Linux will installs a menu giving users a choice of which operating system to boot. This choice is usually between Microsoft Windows or Ubuntu. GRUB(Grand Unified Boot-loader) drives this menu. The menu will display for ten seconds. Well this was the definition of Grub menu, now lets go to your solution. Follow this steps to edit Grub menu in your Ubuntu:-

1. Boot Ubuntu, login as a user and start a terminal session.

2. Make a copy of the GRUB menu file as a backup by entering "cp /boot/grub/menu.lst /boot/grub/menu.lst_BU." Use this file to restore menu.lst if the changes fail.

3. Edit the menu using the command "sudo gedit /boot/grub/menu.lst."

4. Count the number of possible operating system choices. For example, when first installed Ubuntu will be the first O/S in the file. Lower down in the file will be Windows XP. Count other operating systems, if installed.

5. Find the line "default = 0." Grub sets the default to boot the O/S located as the first (0 relative) in the file menu.lst.

6. Change the line "default = 0" to "default = 1." Save the file and exit. This changes the default from Ubuntu to Windows XP. Ubuntu appears first in the file and first on the menu display. Windows XP is further down in the file and appears below Ubuntu on the menu display.

7. Restart the PC. Let the GRUB menu take the default to verify the change . The default is now set to 1 which means Windows will boot when no choice is made.
Reply With Quote
  #3  
Old 20-03-2009
Member
 
Join Date: Feb 2009
Posts: 233
Re: Edit the Grub Menu in Ubuntu

If you try to reach the GRUB menu with Nautilus webrowser that is included in your desktop, you will learn that you do not have access rights.

PHP Code:
gksudo gedit /boot/grub/menu.lst 
The file menu.lst in which you edit the GRUB Menu will be opened in a simple text editor. Edit it and save your edits.
Reply With Quote
  #4  
Old 20-03-2009
Member
 
Join Date: Feb 2009
Posts: 240
Re: Edit the Grub Menu in Ubuntu

Thanks for the information guys..
Reply With Quote
Reply

  TechArena Community > Software > Customize Desktop
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Edit the Grub Menu in Ubuntu"
Thread Thread Starter Forum Replies Last Post
Edit grub/defaults/grub file on triple-boot system Hishem-Remashiya Operating Systems 5 14-11-2010 05:44 AM
How do you edit GRUB loader? Gaalib Operating Systems 6 28-05-2010 10:21 PM
Backtrack grub and Ubuntu grub Mulan Operating Systems 6 09-05-2010 12:11 AM
How to edit GRUB on Ubuntu Karmic? Unix'EM Operating Systems 3 09-12-2009 11:18 AM


All times are GMT +5.5. The time now is 09:33 PM.