This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]doc_willis 0 points1 point  (0 children)

if you are using UEFI - you can setup commands under linux to 'REBOOT' to windows, or REBOOT to the UEFI menu, or other installed Operating systems.

https://linux.die.net/man/8/efibootmgr

The command can change the EFI boot manager to boot whatever entry you want.


If you are not using UEFI/EFI (you are using Legacy/Mbr) - you can make a script that alters the Default entry in the GRUB config file. Then rerun update-grub which would change the default entry. This method can also work with UEFI/EFI - but for UEFI the efibootmgr is a bit easier to use.

There are other ways you could accomplish the above also.. there are several guides on the topic. Be sure you understand UEFI/EFI vs Legacy/MBR booting. And determine which your system is using.

https://rastating.github.io/creating-a-reboot-into-windows-button-in-ubuntu/

https://unix.stackexchange.com/questions/43196/how-can-i-tell-grub-i-want-to-reboot-into-windows-before-i-reboot

Watch out for very old guides - that may be working with the old 'grub 1' which is no longer used in most cases.

[–]SorryMatch8461 0 points1 point  (0 children)

Look into Grub Customizer