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
It has been solved!
sudo mv /etc/default/grub /root/old_etcdefaultgrub
to get it out of the way, thensudo dnf reinstall /etc/default/grub
to reinstall the package that provides it, giving you a fresh unmodified copy. Should work for practically any config file on Fedora.I did this and it worked! Thanks so much !