Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Change Boot Order


    I just installed Ubuntu 10.04 onto my toshiba C655 iCeleron 900 2.20ghz 1GB RAM. I have win7 and I have a 4GB swap partition.

    How Do I change the Boot order in Grub? I saw instructions somewhere else to type sudo, etc in the command line and was getting access denies...please advise

  2. #2
    Linux User zenwalker's Avatar
    Join Date
    Feb 2010
    Location
    Inland Empire
    Posts
    319
    bump to [SOLVED] Grub 2 boot order - Ubuntu Forums
    see post by bgeraghty and
    ranch hand

    Re: Grub 2 boot order
    The boot order is set in /etc/default/grub.
    __________________
    Dell 480 XPS 3G ram Quad Core 2.40GHz, Radeon HD 2400 PRO, Audigy1, 3x320G HDD, 320G External, [ubuntu]

    login as root to edit and
    PHP Code:
    mcedit  /etc/default/grub 
    or
    PHP Code:
    sudo gedit  /etc/default/grub 

  3. #3
    Quote Originally Posted by michaelbobe1 View Post
    I just installed Ubuntu 10.04 onto my toshiba C655 iCeleron 900 2.20ghz 1GB RAM. I have win7 and I have a 4GB swap partition.

    How Do I change the Boot order in Grub? I saw instructions somewhere else to type sudo, etc in the command line and was getting access denies...please advise
    you could edit grub.conf and change the boot order. Get the details from Google.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,809
    From /boot/grub/grub.conf you can edit default option to decide on default OS.
    For example,
    default=2
    will select
    title Fedora
    root something
    kernel something
    title Redhat
    root something
    kernel something

    title Ubuntu
    root something
    kernel something
    Ubuntu Distro.

    If you don't get it - post the content of file /boot/grub/grub.conf .
    Take a backup before editing and you need to have root permission.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  6. #5
    Just remove the 'default' line and put all the record in the config file in the order you want

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,744
    Ubuntu 10.04 is using GRUB2 instead of GRUB Legacy and it doesn't have any grub.conf file. It uses scripts to generate GRUB Menu.

    As Zenwalker already suggested, you have to edit /etc/default/grub file.
    Press Alt+F2 and type this
    Code:
    gksu gedit /etc/default/grub
    Edit GRUB_Default line. Execute sudo update-grub command after editing file.

    Or

    Install startupmanager package in Ubuntu.
    Code:
    sudo apt-get update
    sudo apt-get install startupmanager
    You can change boot order, splash image and a few more things with Startup Manager.
    Last edited by devils casper; 08-04-2010 at 12:04 PM.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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