r/SurfaceLinux • u/CtrlShiftBSOD • 6d ago
Help Grub not usable without a physical keyboard
Hi,
I have a SP8 with a dual boot of Windows and Ultramarine. Everything seems to work so far, but I still need a keyboard to select the system to boot in Grub. The virtual keyboard just flickers and isn't really usable.
But, I noticed, that the virtual keyboard works properly if I connect a physical keyboard before booting and I press any key when the menu starts. That way the virtual keyboard pops up properly and becomes usable in that session, but the thing is, needing to connect a keyboard to use a virtual one isn't exactly useful.
I don't know if this is an already known bug and if there are any fixes for it, I did my research and didn't find anything about this.
Thank you in advance!
1
u/redyos_s 6d ago
2.4ghz
2
u/stevewmn 6d ago
You can do a one time boot of any item on your grub boot options without a keyboard by setting it up using grubby.
Step 1: Run this in a terminal
This should give you a list of your current grub boot options, each preceded by a line that says "index=#" where # probably ranges from 0 to 4. Figure out which entry you want to boot. I'll use 4 as an example and then enter this
I forget if that automatically reboots but if not reboot manually and you'll boot once into your 4th boot menu entry, no keyboard required.