Tips for accessibly Managing/Navigating Grub2 in a Dual boot Scenario?

faginbagin helen.buus at gmail.com
Sun Jun 11 16:26:42 UTC 2023


On 6/11/2023 12:17 PM, faginbagin wrote:
> 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.
Forgot to mention that this patch also disables the splash screen and 
makes sure there's a 10 second timeout. If you don't want those changes, 
but do want to save your last boot as the next default boot option. you 
only need to change GRUB_DEFAULT and add GRUB_SAVEDEFAULT as shown in 
the patch. I did comment out GRUB_TIMEOUT_STYLE but I'm not sure it is 
needed. For more details see the grub documentation, especially section 6.1:
https://www.gnu.org/software/grub/manual/grub/grub.html#Simple-configuration

HTH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-accessibility/attachments/20230611/c7c5ad8c/attachment.html>


More information about the Ubuntu-accessibility mailing list