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

2023-06-12 Thread Al Puzzuoli
Awesome. Very helpful. Thanks!

 

 

From: Ubuntu-accessibility  On 
Behalf Of faginbagin
Sent: Monday, June 12, 2023 11:57 AM
To: ubuntu-accessibility@lists.ubuntu.com
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Glad you found a solution that works for you. If you need or want to change 
things, one thing I wanted to mention, it doesn't look like you need to tinker 
with efibootmgr to control the boot process. At least not as long as you don't 
install another OS and are OK using grub2.

The output you got from efibootmgr shows that grub2 is the default boot loader 
that the UEFI boot manager will load, because ubuntu IS grub2. ubuntu, in this 
case, is just a label for a folder in the EFI partition which contains the 
grub2 boot loader. How do I know know UEFI boot manager will, by default, hand 
over control to grub2? Because:

BootCurrent = 0001
BootOrder lists 0001 first.
Boot0001 points to ubuntu
Although it's not shown in your output, ubuntu points to a file in the folder, 
EFI/ubuntu. You could see that if you ran efibootmgr in verbose mode: 
efibootmgr -v

When you are running the Ubuntu OS, the EFI/ubuntu folder is 
/boot/efi/EFI/ubuntu. You need root permission to examine it. If you execute: 
sudo ls -l /boot/efi/EFI/ubuntu, you should see something like what I see:
total 4314
-rwx-- 1 root root 108 May  3 10:47 BOOTX64.CSV
-rwx-- 1 root root 126 May  3 10:47 grub.cfg
-rwx-- 1 root root 2594696 May  3 10:47 grubx64.efi
-rwx-- 1 root root  860824 May  3 10:47 mmx64.efi
-rwx-- 1 root root  960472 May  3 10:47 shimx64.efi

Hope that's not too much information, or too little!

On 6/11/2023 8:29 PM, Al Puzzuoli wrote:



Thanks to everyone for the help! End and then up arrow once does the trick! 
That’s good enough for me for now. I’ll play around with figuring out why I 
can’t set the boot defaults later.

--Al

 

 

From: Rob Whyte  <mailto:fu...@thefudge.net>  
Sent: Sunday, June 11, 2023 6:29 PM
To: Al Puzzuoli  <mailto:alp...@gmail.com> ; 
sonfir...@gmail.com <mailto:sonfir...@gmail.com> ; 
ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Push end to go to bottom of list and up arrow once.

That is how I reliably do it.

I depends on age of system of course.

 

Might be worthwhile trying from the bottom though instead of arrowing down 
through a growing list of options.

 

cheers

 

On 12/6/23 07:23, Al Puzzuoli wrote:

Thanks!

I understand this in principle now; but either something is odd or more likely, 
I’m still just confused.

When I run efibootmgr, I get the following:

 

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,,0004,0005,0002,0003

Boot* Windows Boot Manager

Boot0001* ubuntu

Boot0002* Generic Usb Device

Boot0003* CD/DVD Device

Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (17) I219-LM

Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (17) I219-LM

So:

Since Boot* Windows Boot Manager is the first item in the list, I should be 
able to make the machine boot to Windows by setting GRUB_DEFAULT=0, and then 
running update-grub, right? Only problem is GRUB_DEFAULT is already set to 0, 
and with this setting, the machine boots to Linux. Therefore, I tried
grub_default=1, but the machine still boots to Linux.

I also tried grub_default=saved, and then playing with the grub-set-default 
command. Whether I set it to 0 or 1, I still end up in Linux.

Playing with the grub-reboot command yields similar results. No matter what 
values I use for any of these commands, I either end up booting to Linux, or to 
a place where I don’t have a screen reader and can’t figure out what’s going on.

If I didn’t know any better, I would almost think that I am actually booting to 
the Windows Boot manager, but the Windows boot manager is defaulting to load 
Ubuntu. Is that even possible? I can’t imagine the Ubuntu 23.04 installer would 
have modified the Windows boot manager as well as installing Grub?

At this point, I may have to connect a monitor and resort to sighted 
assistance. Very bizarre indeed.

Thanks again,

--Al

 

 

From: Ubuntu-accessibility  
<mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> 
 On Behalf Of 
sonfir...@gmail.com <mailto:sonfir...@gmail.com> 
Sent: Sunday, June 11, 2023 12:51 PM
To: ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: RE: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Hi,

 

I can directly edit the grub config file. In my setup, I turned on the beep, 
set timeout to -1 which will wait for a response forever, and also set the menu 
to visible instead of hidden. Also disable all of the extra recovery options. 
When you are in a terminal window, type sudo efibootmgr and provide your sudo 
passwo

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

2023-06-12 Thread faginbagin
Glad you found a solution that works for you. If you need or want to 
change things, one thing I wanted to mention, it doesn't look like you 
need to tinker with efibootmgr to control the boot process. At least not 
as long as you don't install another OS and are OK using grub2.


The output you got from efibootmgr shows that grub2 is the default boot 
loader that the UEFI boot manager will load, because ubuntu IS grub2. 
ubuntu, in this case, is just a label for a folder in the EFI partition 
which contains the grub2 boot loader. How do I know know UEFI boot 
manager will, by default, hand over control to grub2? Because:


BootCurrent = 0001
BootOrder lists 0001 first.
Boot0001 points to ubuntu
Although it's not shown in your output, ubuntu points to a file in the 
folder, EFI/ubuntu. You could see that if you ran efibootmgr in verbose 
mode: efibootmgr -v


When you are running the Ubuntu OS, the EFI/ubuntu folder is 
/boot/efi/EFI/ubuntu. You need root permission to examine it. If you 
execute: sudo ls -l /boot/efi/EFI/ubuntu, you should see something like 
what I see:

total 4314
-rwx-- 1 root root 108 May  3 10:47 BOOTX64.CSV
-rwx-- 1 root root 126 May  3 10:47 grub.cfg
-rwx-- 1 root root 2594696 May  3 10:47 grubx64.efi
-rwx-- 1 root root  860824 May  3 10:47 mmx64.efi
-rwx-- 1 root root  960472 May  3 10:47 shimx64.efi

Hope that's not too much information, or too little!

On 6/11/2023 8:29 PM, Al Puzzuoli wrote:


Thanks to everyone for the help! End and then up arrow once does the 
trick! That’s good enough for me for now. I’ll play around with 
figuring out why I can’t set the boot defaults later.


--Al

*From:*Rob Whyte 
*Sent:* Sunday, June 11, 2023 6:29 PM
*To:* Al Puzzuoli ; sonfir...@gmail.com; 
ubuntu-accessibility@lists.ubuntu.com
*Subject:* Re: Tips for accessibly Managing/Navigating Grub2 in a Dual 
boot Scenario?


Push end to go to bottom of list and up arrow once.

That is how I reliably do it.

I depends on age of system of course.

Might be worthwhile trying from the bottom though instead of arrowing 
down through a growing list of options.


cheers

On 12/6/23 07:23, Al Puzzuoli wrote:

Thanks!

I understand this in principle now; but either something is odd or
more likely, I’m still just confused.

When I run efibootmgr, I get the following:

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,,0004,0005,0002,0003

Boot* Windows Boot Manager

Boot0001* ubuntu

Boot0002* Generic Usb Device

Boot0003* CD/DVD Device

Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (17) I219-LM

Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (17) I219-LM

So:

Since Boot* Windows Boot Manager is the first item in the
list, I should be able to make the machine boot to Windows by
setting GRUB_DEFAULT=0, and then running update-grub, right? Only
problem is GRUB_DEFAULT is already set to 0, and with this
setting, the machine boots to Linux. Therefore, I tried
   grub_default=1, but the machine still boots to Linux.

I also tried grub_default=saved, and then playing with the
grub-set-default command. Whether I set it to 0 or 1, I still end
up in Linux.

Playing with the grub-reboot command yields similar results. No
matter what values I use for any of these commands, I either end
up booting to Linux, or to a place where I don’t have a screen
reader and can’t figure out what’s going on.

If I didn’t know any better, I would almost think that I am
actually booting to the Windows Boot manager, but the Windows boot
manager is defaulting to load Ubuntu. Is that even possible? I
can’t imagine the Ubuntu 23.04 installer would have modified the
Windows boot manager as well as installing Grub?

At this point, I may have to connect a monitor and resort to
sighted assistance. Very bizarre indeed.

Thanks again,

--Al

*From:*Ubuntu-accessibility

<mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> *On Behalf
Of *sonfir...@gmail.com
*Sent:* Sunday, June 11, 2023 12:51 PM
*To:* ubuntu-accessibility@lists.ubuntu.com
*Subject:* RE: Tips for accessibly Managing/Navigating Grub2 in a
    Dual boot Scenario?

Hi,

I can directly edit the grub config file. In my setup, I turned on
the beep, set timeout to -1 which will wait for a response
forever, and also set the menu to visible instead of hidden. Also
disable all of the extra recovery options. When you are in a
terminal window, type sudo efibootmgr and provide your sudo
password. This will tell you what order the boot managers are in
and which one is the default. After the setup, the menu will wait
forever, displaying the menu and only give you the active boot
options . It will also beep when it is ready
for a response. You can also use the efibootmgr to determine what
menu option 

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

2023-06-11 Thread Al Puzzuoli
Thanks to everyone for the help! End and then up arrow once does the trick! 
That’s good enough for me for now. I’ll play around with figuring out why I 
can’t set the boot defaults later.

--Al

 

 

From: Rob Whyte  
Sent: Sunday, June 11, 2023 6:29 PM
To: Al Puzzuoli ; sonfir...@gmail.com; 
ubuntu-accessibility@lists.ubuntu.com
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Push end to go to bottom of list and up arrow once.

That is how I reliably do it.

I depends on age of system of course.

 

Might be worthwhile trying from the bottom though instead of arrowing down 
through a growing list of options.

 

cheers

 

On 12/6/23 07:23, Al Puzzuoli wrote:

Thanks!

I understand this in principle now; but either something is odd or more likely, 
I’m still just confused.

When I run efibootmgr, I get the following:

 

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,,0004,0005,0002,0003

Boot* Windows Boot Manager

Boot0001* ubuntu

Boot0002* Generic Usb Device

Boot0003* CD/DVD Device

Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (17) I219-LM

Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (17) I219-LM

So:

Since Boot* Windows Boot Manager is the first item in the list, I should be 
able to make the machine boot to Windows by setting GRUB_DEFAULT=0, and then 
running update-grub, right? Only problem is GRUB_DEFAULT is already set to 0, 
and with this setting, the machine boots to Linux. Therefore, I tried
grub_default=1, but the machine still boots to Linux.

I also tried grub_default=saved, and then playing with the grub-set-default 
command. Whether I set it to 0 or 1, I still end up in Linux.

Playing with the grub-reboot command yields similar results. No matter what 
values I use for any of these commands, I either end up booting to Linux, or to 
a place where I don’t have a screen reader and can’t figure out what’s going on.

If I didn’t know any better, I would almost think that I am actually booting to 
the Windows Boot manager, but the Windows boot manager is defaulting to load 
Ubuntu. Is that even possible? I can’t imagine the Ubuntu 23.04 installer would 
have modified the Windows boot manager as well as installing Grub?

At this point, I may have to connect a monitor and resort to sighted 
assistance. Very bizarre indeed.

Thanks again,

--Al

 

 

From: Ubuntu-accessibility  
<mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> 
 On Behalf Of 
sonfir...@gmail.com <mailto:sonfir...@gmail.com> 
Sent: Sunday, June 11, 2023 12:51 PM
To: ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: RE: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Hi,

 

I can directly edit the grub config file. In my setup, I turned on the beep, 
set timeout to -1 which will wait for a response forever, and also set the menu 
to visible instead of hidden. Also disable all of the extra recovery options. 
When you are in a terminal window, type sudo efibootmgr and provide your sudo 
password. This will tell you what order the boot managers are in and which one 
is the default. After the setup, the menu will wait forever, displaying the 
menu and only give you the active boot options . It will 
also beep when it is ready for a response. You can also use the efibootmgr to 
determine what menu option to use for the default OS option.

 

 

From: Ubuntu-accessibility mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> > On Behalf Of faginbagin
Sent: Sunday, June 11, 2023 12:27 PM
To: ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

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 li

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

2023-06-11 Thread sonfire11
Hi,

 

The current setup has Ubuntu starting by default. I would really set timeout to 
-1 so the boot manager waits forever for a response. I have also seen boot 
managers from different hardware manufacturers that will intercept the grub 
boot loader and create one based on its settings. So, it would look like this 
with a grub intercept:

*   Start your computer.
*   The (you think) grub menu appears.
*   Choose (you think) Windows, which is correct.
*   The computer starts in (you think) windows. Unfortunately, you 
originally chose Windows boot loader that has Ubuntu as its first option.
*   Since the current timeout is 1 second, there is no time to respond.

It is always weird when a manufacturer will tell grub it isn’t allowed to be 
the primary boot loader. Instead, the system will manage it on its own, 
offering both grub and windows boot manager as load options. In this case, get 
sighted help to figure out the menu structure.

 

 

From: Al Puzzuoli  
Sent: Sunday, June 11, 2023 5:24 PM
To: sonfir...@gmail.com; ubuntu-accessibility@lists.ubuntu.com
Subject: RE: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Thanks!

I understand this in principle now; but either something is odd or more likely, 
I’m still just confused.

When I run efibootmgr, I get the following:

 

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,,0004,0005,0002,0003

Boot* Windows Boot Manager

Boot0001* ubuntu

Boot0002* Generic Usb Device

Boot0003* CD/DVD Device

Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (17) I219-LM

Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (17) I219-LM

So:

Since Boot* Windows Boot Manager is the first item in the list, I should be 
able to make the machine boot to Windows by setting GRUB_DEFAULT=0, and then 
running update-grub, right? Only problem is GRUB_DEFAULT is already set to 0, 
and with this setting, the machine boots to Linux. Therefore, I tried
grub_default=1, but the machine still boots to Linux.

I also tried grub_default=saved, and then playing with the grub-set-default 
command. Whether I set it to 0 or 1, I still end up in Linux.

Playing with the grub-reboot command yields similar results. No matter what 
values I use for any of these commands, I either end up booting to Linux, or to 
a place where I don’t have a screen reader and can’t figure out what’s going on.

If I didn’t know any better, I would almost think that I am actually booting to 
the Windows Boot manager, but the Windows boot manager is defaulting to load 
Ubuntu. Is that even possible? I can’t imagine the Ubuntu 23.04 installer would 
have modified the Windows boot manager as well as installing Grub?

At this point, I may have to connect a monitor and resort to sighted 
assistance. Very bizarre indeed.

Thanks again,

--Al

 

 

From: Ubuntu-accessibility mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> > On Behalf Of 
sonfir...@gmail.com <mailto:sonfir...@gmail.com> 
Sent: Sunday, June 11, 2023 12:51 PM
To: ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: RE: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Hi,

 

I can directly edit the grub config file. In my setup, I turned on the beep, 
set timeout to -1 which will wait for a response forever, and also set the menu 
to visible instead of hidden. Also disable all of the extra recovery options. 
When you are in a terminal window, type sudo efibootmgr and provide your sudo 
password. This will tell you what order the boot managers are in and which one 
is the default. After the setup, the menu will wait forever, displaying the 
menu and only give you the active boot options . It will 
also beep when it is ready for a response. You can also use the efibootmgr to 
determine what menu option to use for the default OS option.

 

 

From: Ubuntu-accessibility mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> > On Behalf Of faginbagin
Sent: Sunday, June 11, 2023 12:27 PM
To: ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

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

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

2023-06-11 Thread Rob Whyte

Push end to go to bottom of list and up arrow once.

That is how I reliably do it.

I depends on age of system of course.


Might be worthwhile trying from the bottom though instead of arrowing 
down through a growing list of options.



cheers


On 12/6/23 07:23, Al Puzzuoli wrote:


Thanks!

I understand this in principle now; but either something is odd or 
more likely, I’m still just confused.


When I run efibootmgr, I get the following:

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,,0004,0005,0002,0003

Boot* Windows Boot Manager

Boot0001* ubuntu

Boot0002* Generic Usb Device

Boot0003* CD/DVD Device

Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (17) I219-LM

Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (17) I219-LM

So:

Since Boot* Windows Boot Manager is the first item in the list, I 
should be able to make the machine boot to Windows by setting 
GRUB_DEFAULT=0, and then running update-grub, right? Only problem is 
GRUB_DEFAULT is already set to 0, and with this setting, the machine 
boots to Linux. Therefore, I tried    grub_default=1, but the machine 
still boots to Linux.


I also tried grub_default=saved, and then playing with the 
grub-set-default command. Whether I set it to 0 or 1, I still end up 
in Linux.


Playing with the grub-reboot command yields similar results. No matter 
what values I use for any of these commands, I either end up booting 
to Linux, or to a place where I don’t have a screen reader and can’t 
figure out what’s going on.


If I didn’t know any better, I would almost think that I am actually 
booting to the Windows Boot manager, but the Windows boot manager is 
defaulting to load Ubuntu. Is that even possible? I can’t imagine the 
Ubuntu 23.04 installer would have modified the Windows boot manager as 
well as installing Grub?


At this point, I may have to connect a monitor and resort to sighted 
assistance. Very bizarre indeed.


Thanks again,

--Al

*From:*Ubuntu-accessibility 
 *On Behalf Of 
*sonfir...@gmail.com

*Sent:* Sunday, June 11, 2023 12:51 PM
*To:* ubuntu-accessibility@lists.ubuntu.com
*Subject:* RE: Tips for accessibly Managing/Navigating Grub2 in a Dual 
boot Scenario?


Hi,

I can directly edit the grub config file. In my setup, I turned on the 
beep, set timeout to -1 which will wait for a response forever, and 
also set the menu to visible instead of hidden. Also disable all of 
the extra recovery options. When you are in a terminal window, type 
sudo efibootmgr and provide your sudo password. This will tell you 
what order the boot managers are in and which one is the default. 
After the setup, the menu will wait forever, displaying the menu and 
only give you the active boot options . It will 
also beep when it is ready for a response. You can also use the 
efibootmgr to determine what menu option to use for the default OS option.


*From:*Ubuntu-accessibility 
 *On Behalf Of *faginbagin

*Sent:* Sunday, June 11, 2023 12:27 PM
*To:* ubuntu-accessibility@lists.ubuntu.com
*Subject:* Re: Tips for accessibly Managing/Navigating Grub2 in a Dual 
boot Scenario?


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

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

2023-06-11 Thread Al Puzzuoli
Thanks!

I understand this in principle now; but either something is odd or more likely, 
I’m still just confused.

When I run efibootmgr, I get the following:

 

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,,0004,0005,0002,0003

Boot* Windows Boot Manager

Boot0001* ubuntu

Boot0002* Generic Usb Device

Boot0003* CD/DVD Device

Boot0004* UEFI: PXE IPv4 Intel(R) Ethernet Connection (17) I219-LM

Boot0005* UEFI: PXE IPv6 Intel(R) Ethernet Connection (17) I219-LM

So:

Since Boot* Windows Boot Manager is the first item in the list, I should be 
able to make the machine boot to Windows by setting GRUB_DEFAULT=0, and then 
running update-grub, right? Only problem is GRUB_DEFAULT is already set to 0, 
and with this setting, the machine boots to Linux. Therefore, I tried
grub_default=1, but the machine still boots to Linux.

I also tried grub_default=saved, and then playing with the grub-set-default 
command. Whether I set it to 0 or 1, I still end up in Linux.

Playing with the grub-reboot command yields similar results. No matter what 
values I use for any of these commands, I either end up booting to Linux, or to 
a place where I don’t have a screen reader and can’t figure out what’s going on.

If I didn’t know any better, I would almost think that I am actually booting to 
the Windows Boot manager, but the Windows boot manager is defaulting to load 
Ubuntu. Is that even possible? I can’t imagine the Ubuntu 23.04 installer would 
have modified the Windows boot manager as well as installing Grub?

At this point, I may have to connect a monitor and resort to sighted 
assistance. Very bizarre indeed.

Thanks again,

--Al

 

 

From: Ubuntu-accessibility  On 
Behalf Of sonfir...@gmail.com
Sent: Sunday, June 11, 2023 12:51 PM
To: ubuntu-accessibility@lists.ubuntu.com
Subject: RE: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

Hi,

 

I can directly edit the grub config file. In my setup, I turned on the beep, 
set timeout to -1 which will wait for a response forever, and also set the menu 
to visible instead of hidden. Also disable all of the extra recovery options. 
When you are in a terminal window, type sudo efibootmgr and provide your sudo 
password. This will tell you what order the boot managers are in and which one 
is the default. After the setup, the menu will wait forever, displaying the 
menu and only give you the active boot options . It will 
also beep when it is ready for a response. You can also use the efibootmgr to 
determine what menu option to use for the default OS option.

 

 

From: Ubuntu-accessibility mailto:ubuntu-accessibility-boun...@lists.ubuntu.com> > On Behalf Of faginbagin
Sent: Sunday, June 11, 2023 12:27 PM
To: ubuntu-accessibility@lists.ubuntu.com 
<mailto:ubuntu-accessibility@lists.ubuntu.com> 
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

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

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


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

2023-06-11 Thread sonfire11
Hi,

 

I can directly edit the grub config file. In my setup, I turned on the beep, 
set timeout to -1 which will wait for a response forever, and also set the menu 
to visible instead of hidden. Also disable all of the extra recovery options. 
When you are in a terminal window, type sudo efibootmgr and provide your sudo 
password. This will tell you what order the boot managers are in and which one 
is the default. After the setup, the menu will wait forever, displaying the 
menu and only give you the active boot options . It will 
also beep when it is ready for a response. You can also use the efibootmgr to 
determine what menu option to use for the default OS option.

 

 

From: Ubuntu-accessibility  On 
Behalf Of faginbagin
Sent: Sunday, June 11, 2023 12:27 PM
To: ubuntu-accessibility@lists.ubuntu.com
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

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

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


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

2023-06-11 Thread faginbagin

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-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


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

2023-06-11 Thread Al Puzzuoli
Thanks. I may give this a try; but my only fear is if I choose a boot option 
that doesn’t boot to anything accessible, then it will boot to that same bad 
option the next time. I guess though worst case scenario, just reboot, down 
arrow once, rinse, repeat and eventually I’ll get to an accessible OS. LOL.

 

 

From: Ubuntu-accessibility  On 
Behalf Of faginbagin
Sent: Sunday, June 11, 2023 12:17 PM
To: ubuntu-accessibility@lists.ubuntu.com
Subject: Re: Tips for accessibly Managing/Navigating Grub2 in a Dual boot 
Scenario?

 

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.

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


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

2023-06-11 Thread faginbagin

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


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

2023-06-11 Thread Al Puzzuoli
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

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility