Consider the following dual-boot setup:
- Grub is installed to
/dev/sda1is mounted as
/dev/sda6is mounted as
- Windows 10 is installed to
As it stands now, Grub selects Ubuntu by default when it boots and I can remotely login via SSH. It is also possible to select Windows when Grub starts and I can remotely login via RDP.
The problem is that I have no way of selecting which OS to boot when I am not physically present.
This question describes a method for having Grub automatically boot the last selected operating system. However, this will not work. If I select Windows, I have no way to remotely restart the PC and boot Ubuntu.
Is there a way to remotely control which OS boots?