Results 1 to 8 of 8

Thread: Change boot order in Grub2

  1. #1
    Join Date
    Sep 2009
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Change boot order in Grub2

    I am trying to change the boot order in Grub2 so when the selection screen comes up the first entry would be windows. I have read a lot about changing /etc/grub.d but nothing i've read has helped at all. Has anyone figured this out yet?

  2. #2
    Join Date
    Jun 2009
    Beans
    Hidden!
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    Re: Change boot order in Grub2


  3. #3
    Join Date
    May 2009
    Beans
    10

    Re: Change boot order in Grub2

    * That link does not actually explain how to re-order the menu entries, only how to change the default menu entry e.g. go to list item #4 by default. I haven't seen an explanation of how to change the order of the entries yet.

    Personally, I would much rather change the menu order, with my default option on top, than tell grub to choose #4 or "Ubuntu 11.04 Natty Nautilus". It's a more natural convention and specifying a name or number seems like it would be prone to breaking if you ever added or deleted entries, or changed the names of the menu entries.

  4. #4
    Join Date
    Oct 2009
    Beans
    48

    Re: Change boot order in Grub2

    You can change the order as you want with the following package:
    http://www.howtogeek.com/howto/43471...-the-easy-way/

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Change boot order in Grub2

    okay, I am beyond a newbie in linux. I really need things dumbed right down. I managed to find this etc/default/grub file. When I click it to "edit" it, so the "default = 0", instead of 8 (I somehow managed to change this before), I can't because the file is read-only.

    How do I edit the file?

    I am logged in my administrator account. But I haven't gone to the terminal and logged in as "the root" or the "sudo" (i'm not even sure what those mean).

    What do I do?? All the instructions on the internet presuppose that I know alot more than I do

  6. #6
    Join Date
    Jan 2008
    Beans
    34

    Re: Change boot order in Grub2

    easy way to get root permissions in the terminal would be:

    sudo bash

    and then enter your password.

    But grub.cfg is not usually writable so you have to set write permissions on the file before editing it:

    chmod +w /boot/grub/grub.cfg

    Take those permissions away after editing with

    chmod -w /boot/grub/grub.cfg

  7. #7
    Join Date
    Nov 2010
    Beans
    6

    Re: Change boot order in Grub2

    Quote Originally Posted by viktara View Post
    easy way to get root permissions in the terminal would be:

    sudo bash

    and then enter your password.

    But grub.cfg is not usually writable so you have to set write permissions on the file before editing it:

    chmod +w /boot/grub/grub.cfg

    Take those permissions away after editing with

    chmod -w /boot/grub/grub.cfg
    Hmm. Did something about the big "DO NOT EDIT THIS FILE" at the top of grub.cnf, not get through to you?

    I suggest a utility such as grub customizer, if you're new to this.
    Last edited by 1kenthomas; March 1st, 2012 at 06:08 AM. Reason: add suggestion...

  8. #8
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Change boot order in Grub2

    Yup! you sholdnt touch Grub.cfg file . For any kind of GRUB related operations you already have a software named as " Grub Customizer "
    http://www.ubuntugeek.com/grub-custo...-settings.html

    One more thing you shouldn't change permissions of Grub.cfg file .
    if it is a deadly situation and no choice except editing the grub.cfg file , then you can edit as like this

    Code:
    sudo gedit /boot/grub/grub.cfg
    But before editing anything , make sure 100% that you know what you're doing to GRUB .
    Dont miss anything even it is small. one small pin is enough to bring down a man.


Tags for this Thread

Bookmarks

Posting Permissions

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