Otra posible salida: edita el archivo /etc/grub.d/40_custom y le agregas el menuentry que te interesa. Debes indicar disco y partición, UUID y kernel. Luego, sudo update-grub.
on 04/01/2012 – Made popular on 04/01/2012
I'm trying to password protect my Grub 2 boot entries. This is how I've modified the menuentry lines in 10_linux according to the directions I've read on the web. I've created users and passwords in 40_custom, and I've run update-grub. The "superuser" I set in 40_custom is recognized and I get asked for a password if, for example, I press 'c' to access the grub prompt.
Q1. In /boot/grub/grub there are many references to a UUID.
Where does grub get this reference? I would like to change the source and then run update-grub.
I prefer not to edit the grub file manually because then when I do run update-grub the UUID will come back.