There’s a pretty handy feature in grub that’s currently not incorporated in grub.cfg
:
$ grub-reboot 1 # or any label, like 'experimental'
$ reboot
Now the board will reboot once to the boot entry title or number after grub-reboot
. For this to work there needs to be a bit of logic added to the grub config file. I’ve uploaded mine here:
I hope this helps anyone else building kernels. I’d love to send this in as a feature request, but I have no idea where.