I am trying to use grub-reboot
to boot just once to Windows (following this post).
Strangely enough, using the auto-completion from grub-reboot
(or awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg
from this post,) I only see Ubuntu entries, or the last one UEFI Firmware Settings. Am I not supposed to see the Windows entry listed? How would I then boot to Windows at next restart?
Here is the output from awk -F\' '/menuentry / {print $2}' /boot/grub/grub.cfg
:
Ubuntu
Ubuntu, with Linux 5.4.0-54-generic
Ubuntu, with Linux 5.4.0-54-generic (recovery mode)
Ubuntu, with Linux 5.4.0-53-generic
Ubuntu, with Linux 5.4.0-53-generic (recovery mode)
Ubuntu, with Linux 5.4.0-52-generic
Ubuntu, with Linux 5.4.0-52-generic (recovery mode)
UEFI Firmware Settings
BootOrder: 0001,0000
andBoot0000* Windows Boot Manager
so0000
will be the number, right? And also this is just for one reboot, right? Thanks! – Matifou Nov 30 '20 at 01:47efibootmgr
to Windows Boot Manager still results into a black screen with nothing happening (as does choosing Rescue and Recovery or Lenovo Diagnostics), which could be due to the menu being shown but waiting for an input I can't see. Is there a more direct way to say I want to boot into the Windows first option? Thanks! – Matifou Nov 30 '20 at 18:56