pbear wrote: ↑
Tue Sep 15, 2020 11:10 am
Alternatively, there's the trick I mentioned earlier. On my HP with Insyde UEFI, I had success with this workaround from Unix & Linux
. Basically, you leave Windows in first position in NVRAM, but deactivate it. These commands should do it on your system:
Note: To reverse this at some future date, run sudo efibootmgr --bootnum 0000 --active. Alternatively, at a Windows Command Prompt (or in Power Shell), run bcdboot C:\Windows (which reinstalls the boot loader, restoring its NVRAM entry).
Code: Select all
sudo efibootmgr --bootnum 0000 --inactive
sudo efibootmgr --bootorder 0000,0001,2001,2002,2003
A third option
would be to create a rEFInd USB flash drive and boot from that. Other options are discussed in that thread, as well.
Thank you, pbear! The method that worked for me is creating a rEFInd drive and giving it boot priority in BIOS. There is no visible delay whatsoever, so I might go with this solution for the moment. Didn't went far from just entering boot menu at every startup, but rEFInd seems like a powerful tool, and I wonder if I could get it to somehow boot Mint by default instead of giving me options, though that may go against the purpose of the program and may be a bit out of scope of this thread. Still, the result is there, and I can maybe optimize it by checking out the FAQ later. Thanks a lot!
On the other hand, I tried making Windows Boot Manager inactive in the efibootmgr, but I still booted into Windows that way, and after restarting into Mint once again, all the changes in the efibootmgr are overwritten. I wonder if the fact that I have few more Windows Boot Managers listed in the order affects that - I have Windows Boot Manager also as entry 0003 and 0004. The thing that surprised me, is the fact, that when I did the changes to the boot order, W10 booted a LOT faster than usual, it was really noticeable. I tried to get such boot speed again when I first tried the efibootmgr method but I failed, and trying once again today my Windows booted a lot faster. Unrelated to the actual thread, I wonder what could cause such thing, and if it's possible to make Windows always behave like that
Pierre wrote: ↑
Tue Sep 15, 2020 11:21 pm
it would seem that the Dual_Boot scenario for my HP G6 Pavilion,
is no more, after an win-10 update, last year.
thus I've having to press the F9 key, on start-up, to get the Linux Boot Menu,
& where there is still an option, to boot into either system.
if that F9 is not pressed, then the HP machine will boot straight into the Windows System.
so, is there such an key function on that AIO machine
Hi! Yes, that is the method I was using all this time since installing Mint on my computer. I enter boot menu by pressing F11 on every startup and from there I can either load Grub or Windows. In the beginning, I was using Windows more, so that was ok. Now, I use Mint more and more as the primary system, and I was wondering if I can automate the boot process a bit.
mr_raider wrote: ↑
Wed Sep 16, 2020 7:33 am
The short version is that although your BIOS can boot non Windows OSes, it refuses to honor the boot priority set by efibootmgr. The only solution, if possible is to manually set a new boot order in BIOS. Whether you can do this, and how it can be done is dependent on how your BIOS is configured by Lenovo.
This is a Lenovo specific BIOS problem. I suggest you take it to Lenovo forums or boards.
If that does not work, we can try to install refind within Linux.
Yes, I understand. I've already posted on Lenovo forum, and I might get some help on unlocking advanced BIOS options, I think if it is possible to unlock boot manager options on my machine, like choosing the trusted exec method mentioned in Acer laptop thread, that would be the best solution. Also, by installing rEFInd in Linux, do you mean the flash drive method? Or actually installing it on the PC? If we were to install it on the hard drive, could we make it boot by default with the current BIOS limitations, if I can't make Mint boot by default, for example? That's the idea that came to my mind, when I wondered about the rEFInd install.
Once again, thank you guys for your help! I will mark the topic as solved
UPDATE: I was able to edit rEFInd config, so now I have it automatically booting up GRUB, and otherwise, I can always press the number on keyboard matching Windows Boot Manager when rEFInd loads up for it to boot Windows. Everything is working as it should when booting from rEFInd USB. Thanks again pbear