I am using ubuntu 14.04
and the Grub version is 2.02~beta2-9ubuntu1
. I've been trying this for a long time. I saw this question but couldn’t get it work that way. Anyway I have the solution but am not sure if it is correct or if it has any security risks. Please suggest.
I wanted to configure GRUB such that:-
- Authentication is required to edit the grub menu or enter rescue mode.
- Authentication is not required to boot the OS
I followed the Ubuntu Docs and also many other blogs but all are based on GRUB2 versions older than 2.02~beta2-9ubuntu1
so the grub script cannot be edited as suggested in the docs. Following the docs I tried to edit menuentries but each time the issue faced was that: Authentication was needed to boot the OS too
.