Find the answer to your Linux question:
Results 1 to 4 of 4
In a dual-booting environment in fedora system(15 and below) that uses GRUB, how to change the default Operating system to boot to, is clearly by editing the "default" option in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    7

    Setting default operating system in GRUB2


    In a dual-booting environment in fedora system(15 and below) that uses GRUB, how to change the default Operating system to boot to, is clearly by editing the "default" option in the
    /boot/grub/grub.conf file.

    How does one perform this same task with fedora systems(16 and above) that uses GRUB2.
    Could it be via
    /etc/default/grub
    or
    /boot/grub2/grub.cfg ?

    Inputs would be appreciated.
    Thank you

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19
    it'd be /etc/default/grub. Chk these links linuxpoison_blogspot_in/2010/11/how-to-change-grub-2-default-timeout_html and www_gnu_org/software/grub/manual/grub_html#Configuration

  3. #3
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,102
    Changing the line below in /etc/default/grub file is the best method as suggested above:

    GRUB_DEFAULT=0
    In this case Grub counts from zero. You could also make the change in the grub.cfg file but when you run update-grub again, it will not be saved unless you have the entry in /etc/default/grub file.

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Posts
    7
    Thanks all

Posting Permissions

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