Results 1 to 7 of 7

Thread: GRUB_DEFAULT, saved

  1. #1
    Join Date
    Dec 2009
    Beans
    11
    Distro
    Kubuntu 9.10 Karmic Koala

    GRUB_DEFAULT, saved

    I have 2 OS on my notebook: WinXP & Kubuntu 9.10 (kernel Linux 2.6.31-16-generic)

    Grub2 has new feature - ability to put value SAVED in GRUB_DEFAULT. (load last success OS).
    I tryed so - but always had first menu point.

    Here's my my grub menu-list:
    Ubuntu, Linux 2.6.31-16-generic
    Ubuntu, Linux 2.6.31-16-generic (recovery mode)
    Memory test (memtest86+)
    Memory test (memtest86+, serial console 115200)
    Microsoft Windows XP Professional RU (on /dev/sda1)
    And sda (320 Gb) has partitions:
    sda1 - ntfs (WinXP)
    sda5 - ntfs
    sda6 - ext4 (/)
    sda7 - swap
    sda8 - ext4 (/home)
    If previous OS was Linux - saved menu works, if WinXP - doesn't work - shows first line of menu-list.
    How I can save WinXP as saved grub menu?
    Thanks.

  2. #2
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: GRUB_DEFAULT, saved

    Somewhat obvious, but did you run <sudo update-grub> after making the change?
    Please do not presume I represent forum policy.

  3. #3
    Join Date
    Dec 2009
    Beans
    11
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: GRUB_DEFAULT, saved

    Quote Originally Posted by mikewhatever View Post
    Somewhat obvious, but did you run <sudo update-grub> after making the change?
    Yes.

    May be it hapens due partitions?

  4. #4
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: GRUB_DEFAULT, saved

    Set it as follows (lowercase) in /etc/default/grub and run sudo update grub.
    GRUB_DEFAULT=saved

  5. #5
    Join Date
    Dec 2009
    Beans
    11
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: GRUB_DEFAULT, saved

    john newbuntu

    Thanks a lot, lowcase works!! ++

    GRUB_DEFAULT=saved

  6. #6
    Join Date
    Dec 2010
    Beans
    6

    Re: GRUB_DEFAULT, saved

    First 'sudo update grub' did not work for me. I had to 'sudo update-grub'. Second 'GRUB_DEFAULT=saved' did not work. Still booted to Ubuntu instead of Linux Mint after rebooting while using Linux Mint. Last operating system used did not get saved and reloaded as supposed to. Jason Keiter

  7. #7
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    14,703
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: GRUB_DEFAULT, saved

    Old thread closed! Please start a new thread you can link to this one if you need too.
    Thanks

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
  •