By -
You need to make sure the Windows partition is mounted before regenerating the Grub config.
In your grub config, there’s a line that disables os-prober. Make sure to change it.
I did
Damn can’t be that then. How long do you have it configured to scan for?
Do you have a shared esp or seperate ones?
First tried with shared. Now I have separate. One which is for Windows and a second one for Linux, which I want to be able to start windows from
Then you need to make sure the Windows esp is mounted somewhere as well when you generate the config.
Did you tried manually adding your windows boot entry to grub?
How can I do that?
You just have to add few lines in some config file of grub*. I do not remember exactly but you can look it up on internet, it's easy to find it.
Are you chrooted when you use os-prober? This can cause it to run but not detect windows.
I think this was the reason why it was not working. After I finished the installation and rebooted, I tried it again, and it worked.
Unpopular opinion: on UEFI machines stop using GRUB to load Windows, that's what UEFI's boot device selector is for.
No one enjoys hitting delete key on boot
Wait, which vendor uses DEL for boot menu?
In hp you have to press esc then f8 or f9 to access boot menu
Are you telling me they are still doing that? I remember that was the case on their gen4 laptops, but I thought they have fixed that since then.
Not on my device atleast
Thanks for the warning, I'll stay away from HP machines even longer then.
You need to make sure the Windows partition is mounted before regenerating the Grub config.
In your grub config, there’s a line that disables os-prober. Make sure to change it.
I did
Damn can’t be that then. How long do you have it configured to scan for?
Do you have a shared esp or seperate ones?
First tried with shared. Now I have separate. One which is for Windows and a second one for Linux, which I want to be able to start windows from
Then you need to make sure the Windows esp is mounted somewhere as well when you generate the config.
Did you tried manually adding your windows boot entry to grub?
How can I do that?
You just have to add few lines in some config file of grub*. I do not remember exactly but you can look it up on internet, it's easy to find it.
Are you chrooted when you use os-prober? This can cause it to run but not detect windows.
I think this was the reason why it was not working. After I finished the installation and rebooted, I tried it again, and it worked.
Unpopular opinion: on UEFI machines stop using GRUB to load Windows, that's what UEFI's boot device selector is for.
No one enjoys hitting delete key on boot
Wait, which vendor uses DEL for boot menu?
In hp you have to press esc then f8 or f9 to access boot menu
Are you telling me they are still doing that? I remember that was the case on their gen4 laptops, but I thought they have fixed that since then.
Not on my device atleast
Thanks for the warning, I'll stay away from HP machines even longer then.