Results 1 to 3 of 3

Thread: How to change GRUB Bootloader default selection?

  1. #1
    Join Date
    Feb 2011
    Beans
    25

    Question How to change GRUB Bootloader default selection?

    Hi,
    I think you know the problem. I have Windows 7 and Ubuntu 10.10 installed on my pc, and a bootloader screen that looks like this:


    with the first entry selected as default. But I want Windows 7 to be selected as default.

    I googled to change it, and I found this (I don't know if external links are illegal, sorry if so)
    I applied this solution, e.g. changed /boot/grub/grub.cfg.
    I changed the line set default="0" into set default="4".
    When I restarted the pc, it worked fine, the "windows 7" entry was selected, but then on the 2nd restart, the first entry was selected again, and I checked to see that the line has become set default="0" back. The file also contains this warning:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    So it means that I cannot change the default entry this way.
    So, how can I do it?

    Thanks for help!

  2. #2
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to change GRUB Bootloader default selection?

    Hi
    Just use GRUB-Customizer.

  3. #3
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: How to change GRUB Bootloader default selection?

    Quote Originally Posted by YannBuntu View Post
    Hi
    Just use GRUB-Customizer.
    +1. All you need.

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
  •