#boot into windows from arch
66 messages · Page 1 of 1 (latest)
how do i use that option
Never used it, test it out and see
systemctl reboot --boot-loader-entry=whatevertheentryis
this entry has spaces in it, how do you think i would enter it?
I'd try using quotes
"Windows Boot Manager"
probs cant see that but it says not valid, refusing
Could just try using a number, I would test with you but I don't use a bootloader
hmm i tried a number just now and it gave the same error
try sudo systemctl reboot --boot-loader-entry=help
Is there no windows entry shown?
Could try this too: sudo systemctl reboot --boot-loader-entry=auto-windows
I'm just googling for you to find answers at this point though
oh damn dont worry abt it then i did a bit of googling just didnt find what u r finding lol
will google harder
@median aspen try this https://bbs.archlinux.org/viewtopic.php?id=140049
nah that didnt work either
Are you sure your grub has a windows entry? It's weird it doesn't show up in: sudo systemctl reboot --boot-loader-entry=help
i followed a weird tutorial that fixed some archinstall issue when dualbooting so thats probs why im not finding something, but it does show up as windows boot manager
didnt have success with this
This didn’t work either
zenity is installed but sudo update-grub doesnt work
grub-mkconfig -o /boot/grub/grub.cfg
make sure you have GRUB_DEFAULT=saved in your grub config
yeah it is
from /etc/default/grub
yep
Are you sure this feature isn’t systemd-boot specific
That’s the only way I’ve ever seen this done
oooo i didn't think of that!!! So true
I just assumed since --firmware-setup works T_T
That functions differently iirc
Sets an efi variable or something
yeah makes sense after thinking about it
Well, you could always switch to systemd-boot and solve your problem then 😛
I’ve got another (untested) idea. You can configure GRUB to boot into the last used entry. If you modify the file that stores the last used option, you could set it to the one that corresponds with Windows.
Then you’d probably want a script in Windows as well to change it back to Arch’s boot entry
Oh, hey, this looks like exactly what you want @median aspen: https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Boot_non-default_entry_only_once
Looks like that does something similar to what I was describing
Ari is close with their suggestion, what you are after is actually this link https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Recall_previous_entry
@median aspen
I thought they wanted do it one time. Setting up for grub-reboot enables that anyway.
I understood it as they want to boot into Windows and be able to boot into it again without selecting it from the menu
Hmm, either way they know what to do now
In order to do it with your link they have to uncomment a line in the link I sent
They just need to read section 8 of the grub wiki page
im most likely just being stupid but im not sure how to do this lol
nvm i think i figured it out. i have to run two commands:
grub-mkconfig -o /boot/grub/grub.cfg```
but how do i make these two into like a file which i click and it executes so i dont have to put it in the terminal every time?
You can also just use the number of the entry, starting from 0.
Create a script or desktop file and use pkexec instead of sudo