is it possible to reboot directly into the memtest86+ (without giving any input during boot) , like the Windows command mdsched
does?
is it possible to reboot directly into the memtest86+ (without giving any input during boot) , like the Windows command mdsched
does?
Using
apropos
we can see what app is used for the next boot only:With using
grub-reboot
for a one-time boot, I have found that it is best to use the name of the entry and not the number of the entry like some of the linked answers here have had. I just cannot get it to work with the numbers of the entries. Here is something that I have found works with using the names of the entries.If you cat the
/boot/grub/grub.cfg
there are a lot of entries that we are looking for. The one in particular is theMemory test
entry.Since all we need is just the first entry and we need the full name of
Memory test (memtest86+)
to tell thegrub-reboot
that is what we need, we can use the following line to grab only that name and the first entry, specified by theexit
command.Which gives us output like:
Now we can combine that line into our one line command to reboot our system to Memtest as a one-time boot.
The
reboot
part at the end will go ahead and reboot your system for now.Hope this helps!