Results 1 to 4 of 4

Thread: Edit the Grub Menu in Ubuntu

  1. #1
    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    Join Date
    Feb 2009
    Posts
    240

    Re: Edit the Grub Menu in Ubuntu

    Thanks for the information guys..

Similar Threads

  1. Edit grub/defaults/grub file on triple-boot system
    By Hishem-Remashiya in forum Operating Systems
    Replies: 5
    Last Post: 14-11-2010, 05:44 AM
  2. How do you edit GRUB loader?
    By Gaalib in forum Operating Systems
    Replies: 6
    Last Post: 28-05-2010, 10:21 PM
  3. Backtrack grub and Ubuntu grub
    By Mulan in forum Operating Systems
    Replies: 6
    Last Post: 09-05-2010, 12:11 AM
  4. How to edit GRUB on Ubuntu Karmic?
    By Unix'EM in forum Operating Systems
    Replies: 3
    Last Post: 09-12-2009, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •