#How can I access / edit the grub config file

8 messages · Page 1 of 1 (latest)

finite swallow
#

I want to edit the grub config file at /etc/default/grub but I can't edit it with the gnome editor. After I entered the password and try to save the file i get the error 'Error opening file [...]: Permission denied ' (I can view the file but saving it fails). I also can't access it from the vso shell.

finite swallow
#

How can I access / edit grub config file

#

How can I access / edit the grub config file

finite swallow
#

I solved it by first running host-shell, then pkexec, then navigate to /etc/default and run nano grub to edit the file.

magic timber
#

@finite swallow Actually the way with host-shell / pkexec and so on worked. Thanks for that. However my Vanilla OS is now dead and won‘t boot anymore, as update-grub did not create a proper grub configuration file, that abroot could handle. So which command do you apply at the end to put any update into a valid grub configuration ? Update-grub won‘t do it 😦

finite swallow
#

I think I used abroot upgrade -f to apply the configuration

magic timber
#

OK, i will give it a try. Is this won‘t work, i will start and reinstall again 😉

#

Actually it did not break anything, however the change was also not applied