Results 1 to 8 of 8

Thread: problem with grub.cfg

  1. #1
    Join Date
    Oct 2008
    Beans
    7

    problem with grub.cfg

    I'm running Ubuntu and Windows 7 on a dual boot system. when I start the system windows is on first position in the grub menu and if I don't make a selection windows in booted by default. the problem is, the last times Ubuntu was updated this order was changed. I could fix the problem by editing the file grub.cfg but this file should not be edited. Need suggestions to keep the order in the grub menu.

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: problem with grub.cfg

    you can:
    - boot on ubuntu
    - then purge grub-pc via synaptic (or terminal)
    - logout/in
    - then reinstall grub-pc, to put it on mbr

    or use grub-customizer (from ppa)

  3. #3
    Join Date
    May 2007
    Beans
    12,372

    Re: problem with grub.cfg

    +1 for Grub-Customizer. Will give you a GUI that allows you to modify preferences, LOTS of them.
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

  4. #4
    Join Date
    Oct 2008
    Beans
    7

    Re: problem with grub.cfg

    Quote Originally Posted by Mark Phelps View Post
    +1 for Grub-Customizer. Will give you a GUI that allows you to modify preferences, LOTS of them.
    ok, it seems there is no solution to keep the order without editing with vi or a gui.

  5. #5
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: problem with grub.cfg

    Of course there is

    First file to look at would be /etc/default/grub. And there are a few others that I can't remember straight away (maybe in /etc/grub); they start with 00, 10, 20 etc

    After editing, run sudo update-grub; that will regenerate /boot/grub/grub.cfg.

    // Edit
    Found them; the other files are in /etc/grub.d
    Last edited by Wim Sturkenboom; October 5th, 2012 at 01:19 PM.
    If you don't make backups of your important data, your data is obviously not important to you.

  6. #6
    Join Date
    May 2007
    Beans
    12,372

    Re: problem with grub.cfg

    Quote Originally Posted by potzdonner View Post
    ok, it seems there is no solution to keep the order without editing with vi or a gui.
    Don't understand your complaints! You (1) don't want to use an editor to make the changes, and (2) you don't want to use a GUI to make the changes?

    What are you looking for -- magic? Cause ... that's the only thing left!

    Seriously, you will have to pick one of the two choices if you want to customize the default boot selection.
    Ubuntu 14.04, Mint 17; MS Win 8.1.
    Will not respond to PM requests for support -- use the forums.

  7. #7
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: problem with grub.cfg

    Quote Originally Posted by Mark Phelps View Post
    Don't understand your complaints! You (1) don't want to use an editor to make the changes ...
    I think that potzdonner was referring to editing grub.cfg. Might be wrong, though.
    If you don't make backups of your important data, your data is obviously not important to you.

  8. #8
    Join Date
    Oct 2008
    Beans
    7

    Re: problem with grub.cfg

    Ok, I have installed the grub-customizer.

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
  •