cross-posted from: https://pawb.social/post/7200764

I can’t edit /etc/default/grub

I’m trying to update my grub boot order back to booting the first option instead of the second, so I run sudo nano /etc/default/grub, but it brings up this, which is not the file I want to edit.

I’m on fedora 38

  • Dave.@aussie.zone
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    Read the first couple of lines in that file, they provide a vital clue as to where you should be looking and what you should be doing.

    • Interstellar_1@pawb.socialOP
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      Sorry, I think I forgot to update my original post to mention this, but I think I somehow overwrote this file with the contents of grub.cfg so that file is no help to me.