Adrian wrote: ↑Sun Aug 12, 2018 12:53 pm
OK, made the change to use "grub-reboot" option, but I saw at least once that exiting from Memtest didn't reset that, so I will also add manually the 5 second timeout in case somebody selects Memtest
OK, you have now fixed this "big" issue, but you introduced a "smaller" issue, unfortunately:
Start MXBO and select memtest: OK memtest is now sticky for one-time next-boot.
Close MXBO.
Start MXBO again.
Choose another "Boot to" save and close.
Quiz: What will the user see next reboot? He might think the last choosen, right?
As you have not cleared the sticky next-boot entry, he will always boot into memtest,
regardless, what he tries to select for next boot within MXBO.
Solution: Always clear next-boot, when user saves another entry.
Use this command to clear next-boot entry:
Code: Select all
grub-editenv /boot/grub/grubenv unset next_entry