Bug#801582: grub-pc: default entry becomes Halt once (for setting alarm) => no boot
Colin Watson
cjwatson at debian.org
Mon Oct 12 10:16:01 UTC 2015
Control: reassign -1 nvram-wakeup
On Mon, Oct 12, 2015 at 11:06:19AM +0200, Eric Valette wrote:
> Today my system did not boot because the default entry was set
> to Halt once (for setting alarm). This emans that if I upgrade
> machines where I have only ssh access, no console, I'm dead.
> And I have many both at work and home.
[...]
> ### BEGIN /etc/grub.d/50_nvram_wakeup ###
> # This is an utility for the nvram-wakeup package. nvram-wakeup
> # programs the alarm of the RTC (Real Time Clock, a clock in the
> # motherboard) so that the system will power up at a certain hour.
> # This menu method provides an easy way to halt the system at reboot,
> # once. This is needed by nvram-wakeup on certain motherboard, where,
> # for the changes to take effect, you need to restart (not halt) the
> # computer and wait until the BIOS runs (don't need to enter the BIOS
> # setup).
> menuentry "Halt once (for setting alarm)" {
> halt
> }
> if [ ${nvram_halt_once} ] ; then
> set nvram_halt_once=
> save_env nvram_halt_once
> set default="Halt once (for setting alarm)"
> fi
> ### END /etc/grub.d/50_nvram_wakeup ###
This is provided by the nvram-wakeup package, not by grub2 itself.
Reassigning.
--
Colin Watson [cjwatson at debian.org]
More information about the Pkg-grub-devel
mailing list