Results 1 to 7 of 7

Thread: Update Grub

  1. #1

    Default Update Grub

    Hello everyone,

    I have searched around but can't get a straight answer!

    How do I update grub?

    Any help would me much appreciated.

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,674
    Blog Entries
    3

    Default Re: Update Grub

    As root:

    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    (edit) the command "update-bootloader" probably works too.
    Last edited by nrickert; 07-Jun-2018 at 15:30.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3

    Default Re: Update Grub

    Thank you for the reply but I get this outcome -

    grub2-mkconfig: command not found

    I also tried -

    bash: grub-mkconfig -o /boot/grub2/grub.cfg

  4. #4

    Default Re: Update Grub

    I ran os-prober which found everything.

    But grub-mkconfig -o /boot/grub2/grub.cfg

    still says -

    grub2-mkconfig: command not found

  5. #5

    Default Re: Update Grub

    I worked it out!

    Typed -su (for root)

    Then ran -

    grub2-mkconfig

    Done1

    Thank you very much for the help.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,674
    Blog Entries
    3

    Default Re: Update Grub

    Quote Originally Posted by JoeSh88 View Post
    I worked it out!
    I'm glad to hear that.

    It is one of those commands that is not on the standard path for normal users. But once you use "su -" to become root, it is on the path.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  7. #7
    Join Date
    May 2021
    Posts
    12

    Default Re: Update Grub

    hello,

    Just want to say thank you.
    I've just had the same problem.
    used exactly your commands:

    Typed -su (for root)
    Then ran:
    grub2-mkconfig

    It worked for me too.
    Many thanks,
    Gigi.

Posting Permissions

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