Reboot to Windows from within Arch?
Is this possible? I'm currently using the "grub-reboot" command, which can reboot into grub, and auto choose a certain entry, but it still boots to grub, and I still have to wait 5 seconds or press enter to enter Windows.
Can I use a command or script from within Arch, that I can run, which immediately reboots into Windows, skipping grub entirely?
I'm not interested in just removing the wait in grub, as I still want to use grub normally.
About this post
- Posted
- Archived
- Removed on
- Score
- 6 · 80% up
- Kind
- Text
- ID
- 152pmuz
22 comments
This is what I'm using:
/usr/local/bin/windowsAlso in my Fish config I aliased
windowstosudo windows.My script is literally
Linked it to a .desktop file with exec=gksudo. Single click gets me into Windows.
Idk why you need all that stuff but I assume you know that your doing.
yea, with
efibootmgr -n NUMBER && rebootyou need to find out which boot entry your windows install has, for me, its entry number 0000. to list all entries, do
sudo efibootmgrThis is the solution and a great one! Probably a long shot, but do you know of any methods available in Windows, that can do the same thing, but boot into Linux?
I know how to use bcdedit to set the next boot to a specific entry, but ARCH isn't in my Windows bootloader, GRUB is. So I can set next boot to be grub, but not my specific distro.
I believe if you type the entry number after grub-reboot it'll boot into that entry.
Well yes, grub-reboot 'Windows Boot Manager' (or however you need it) and wait 5 seconds... you can change the Grub Timeout to smth <5 seconds but this setting will stay and you maybe won't have enough time to choose the OS you want to boot (if you for example want to boot to Windows directly from startup)
Literally didn't read my OP lol. I addressed LITERALLY everything you just suggested and why it's not gonna work.
What you are asking for is a gross misunderstanding of how the boot process works when gone through GRUB.
You are asking to skip Grub, but Grub needs to choose the OS. You are asking for a Cake to eat and throw away