OS: Debian 8  logged with rescue image HDD LVMSet a password for grub, and it seems did missed some hash digit when copied encrypted password in 40_custom,I managed to removed login/password details from grub /etc/grub.d/40_custom using rescue disk.but now  update-grub needs to be run, sins grub is not loading, and neater the kernel, obviously setting a cron job to run it is useless,...Does anyone knows if there is a solution to add a command to grub, to run update-grub at load time in GRUB_CMDLINE_DEFAULT=command_to_run_update-grub ?Or may be there is a way to do manually what ever update-grub does ?
update-grub manually /debian 8
linux;boot;grub