Results 1 to 4 of 4

Thread: Update Grub Menu Entries

  1. #1
    Join Date
    Jul 2008
    Location
    Athens
    Posts
    280

    Question Update Grub Menu Entries

    Hello,
    After my upgrade from 13.2 to Leap 42.2 & 42.3, the Grub menu entries are still the openSUSE 13.2.
    It's not an issue since the kernel is the correct one, but obviously something IS wrong
    Yast boot loader is not what we had with 13.2 (it misses a lot of functionality), so, I need to go to the CLI for this.

    But I have no idea where the grub scripts load the necessary variables from!
    So, which file/script updates them?

  2. #2
    Join Date
    Jul 2008
    Location
    Athens
    Posts
    280

    Default [SOLVED] Update Grub Menu Entries

    OK, I answer my own question:
    edit the /etc/defaults/grub

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Update Grub Menu Entries

    And then you have to re-build the initrd

    The process is described in many places.

    Also, you can take a look at scripts I've written to modify the appearance(not content) of the grub menu (none for 42.3 at the moment, but can be done).
    I modify different files, but like any changes to grub.cfg need to rebuild the initrd.

    https://en.opensuse.org/User:Tsu2/12...fied_GRUB_Menu

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    Sep 2012
    Posts
    7,091

    Default Re: Update Grub Menu Entries

    Quote Originally Posted by tpe View Post
    edit the /etc/defaults/grub
    Quote Originally Posted by tsu2 View Post
    And then you have to re-build the initrd
    No, (s)he has not. What is needed, is recreating bootloader configuration which has nothing to do with initrd content.

    I modify different files, but like any changes to grub.cfg need to rebuild the initrd.
    OMG ... theme file is loaded by grub2 during execution, there is no need to rebuild anything at all (not even grub.cfg) as long as you keep the same file name ...

Posting Permissions

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