On 6/11/2023 11:57 AM, Al Puzzuoli wrote:

Hi all,

On one of my machines, I have installed Ubuntu 23.04 alongside Windows 11. By default now, the machine boots into Linux. My issue is that I’m not sure how to reliably boot to Windows when I want to do so. I’ve enabled the Grub beep, and after the beep, I’ve experimented with pressing down arrow and then enter, pressing down arrow twice, and then enter, etc. Maybe I need to down arrow 3 or 4 times, but the upshot is I’m just not sure. I’m guessing there are a number of entries I could care less about such as Memtest 386 and older kernels will get added as time passes.

What’s the best way to deal with this these days? Sounds like you’re no longer supposed to edit grub.conf directly. I’ve seen talk about the grub-customizer tool but I’m having issues installing that in 23.04.

Seems like this used to be easier 15 or 20 years ago with the old Grub. Ah well.

Thanks,

--Al


Would it help if grub saved your last boot option? In other words, if you do boot into Windows, the next time you reboot, the default choice will be windows? If so, the attached patch might help (if the list allows text format patches). It's from a 22.04 system (I don't have 23.04 installed), but /etc/default/grub has not seen a lot of changes over time. I hope it helps.
--- /etc/default/grub.dist      2022-05-03 13:21:59.549524751 -0400
+++ /etc/default/grub   2023-02-09 11:47:33.777429559 -0500
@@ -3,11 +3,12 @@
 # For full documentation of the options in this file, see:
 #   info -f grub -n 'Simple configuration'
 
-GRUB_DEFAULT=0
-GRUB_TIMEOUT_STYLE=hidden
-GRUB_TIMEOUT=0
+GRUB_DEFAULT=saved
+GRUB_SAVEDEFAULT=true
+#GRUB_TIMEOUT_STYLE=hidden
+GRUB_TIMEOUT=10
 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
-GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
+GRUB_CMDLINE_LINUX_DEFAULT=""
 GRUB_CMDLINE_LINUX=""
 
 # Uncomment to enable BadRAM filtering, modify to suit your needs
-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility

Reply via email to