Win2grub May 2026
win2grub --set-next \EFI\ubuntu\grubx64.efi Your machine will boot straight into the GRUB menu. From there, pick your Linux distro.
The old way: Save your work, restart, spam the Shift or F12 key, select the boot device, wait for GRUB, then select Linux. win2grub
Let me introduce you to my new favorite dual-booting companion: . What is win2grub ? win2grub is a lightweight script/tool for Windows that bridges the gap between the Windows Boot Manager and the GRUB bootloader. Instead of fighting your UEFI/BIOS for boot priority, win2grub sets the next boot to go directly to GRUB. win2grub --set-next \EFI\ubuntu\grubx64
If you spend 80% of your time in Windows but hate the "reboot-and-spam-keys" dance, give win2grub a shot. Let me introduce you to my new favorite
Never Spam F12 Again: Seamless Dual-Booting with win2grub Tags: Linux, Windows, Dual Boot, GRUB, Automation
# save as `to-linux.bat` @echo off win2grub --set-next \EFI\ubuntu\grubx64.efi shutdown /r /t 5 (Runs the command and restarts in 5 seconds. Cancel with shutdown /a ) Did you accidentally delete GRUB? No problem. win2grub can also set Windows Boot Manager as the default: