I am unable to view the contents of /boot/grub.cfg
Currently update-grub command is not finding a windows installation
Following arch wiki instructions I ran
sudo grub-mkconfig -o /boot/grub/grub.cfg
to see if that would regenerate or unpadlock the file but it didn’t
Any or all advice welcomed on the topic or and how to add an entry that update-grub is currently missing
Sorry, skip the update-grub result as this an error on my part.
The padlocked file is still a live issue
The padlock indicates that your current user does not have the rights to view this file.
So you would need sudo/root rights to do so.
The contents of that file are generated.
Do not change it directly.
/etc/default/grub is what you can edit
But again, only as root.
To see the contents of /boot/grub/grub.cfg in a terminal:
sudo less /boot/grub/grub.cfg
@Nachlese, grateful for your comment
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.