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

    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
    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,190
    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. $spacer_open
    $spacer_close
  5. #4
    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
  •