Hi there! I have an Acer laptop, Nitro 5, AN515-51-78C6 model. It came with Windows 10 Home. I want to dual boot it with Linux.
I'm using Linux Mint 18.3 Cinnamon, 64-bit. This distribution is EFI friendly and Secure Boot friendly, at least they claim to be.
It booted up from USB stick (and DVD) without a problem. I shrank the size of the NTFS partition, to make room for Linux, and added a Linux ext4 partition. The installation completed OK. The bootloader should have been installed within the "EFI System Partition" that I had selected.
However, nothing seems to have happened. The laptop only boots Windows 10. It isn't giving me the choice of Linux or Windows.
On the Acer screen as it is booting, repeatedly pressing F2 will eventually enter the BIOS, and F12 will eventually enter the boot menu. These work well. However, nothing here is giving me the choice, either. The only boot choice is "Windows Boot Manager".
I tried using various recommended EFI tools to point the selection at Linux instead, such as "efibootmgr" under Linux Mint. I can set the choice to "ubuntu" (the EFI name that Linux Mint installs under, for various reasons). However, this choice doesn't stick, and when rebooting the laptop, it gets forcefully set back to Windows 10.
Changing boot type to "Legacy" instead of "UEFI" kills Windows 10. It can't find itself anymore, so it can't boot. So, looks like I'm stuck with UEFI, or the alternative of reformatting the entire disk under the old MBR way of doing things, and only having Linux, and losing the ability to dual boot.
Anybody else have this problem? Any suggestions?
0
FAQ & Answers
https://rufus.akeo.ie/
Tinkerer
Thanks, but I'm using UEFI, not Legacy. That makes a huge difference. How did you get Windows 10 to boot up successfully in Legacy mode? Was it a fresh installation that you did? I'm just using the default installation that came bundled with the Acer laptop.
When I tried Legacy mode, Windows couldn't find itself, so all I got was the old Intel PXE network boot (which is normal to see when the BIOS can't boot from any disks so it falls back to Intel PXE as a last resort).
Josh
Tinkerer
As for Rufus, here's another good USB stick creator to try, and it's cross-platform too: https://etcher.io/
I checked, and my Linux USB stick was successfully booted in EFI mode, so I don't think that was the problem here.
Josh
Tinkerer
Josh
Tinkerer
It was all within the BIOS, accessible by repeatedly hitting F2 at the black screen (just before the Acer screen, as the laptop is rebooting).
The BIOS is called "InsydeH20 Setup Utility" and it's a classic text-based BIOS (appears little changed from the early 1990's). You don't have a mouse pointer, just a text cursor, which you will be using for moving around. Use arrow keys to move, ENTER key to go in, ESC key to back out, just as if it was a quarter of a century ago.
Here's what worked, for anybody searching on this question later (perhaps myself in the future):
1) Go to the "Security" page (cursor to the right). You have to set a BIOS password (supervisor password) before it will let you use most of the items farther down on this page, unfortunately. Choose something short and easy to remember, because you will need it every time you are going into the BIOS again. I'm not sure how to recover from a forgotten password on a laptop (on a desktop, the little battery on the motherboard can be removed, or a jumper on the motherboard can be set, usually).
2) Once you have set a supervisor password, move the cursor down, and choose "Select an UEFI file as trusted for executing". On the new empty screen that appears, choose "HDD0". Then choose "EFI". Then choose "ubuntu" or whatever the name of your Linux distribution is (for various reasons, "ubuntu" often has to be used, even if you're not installing Ubuntu itself). Inside "ubuntu", choose "grubx64.efi" file. It will pop up a dialog box. Give it a name in "Boot Description", you have to type a name, I simply chose "ubuntu" again. Finally, choose "Yes" to save it.
3) You should return to the "Security" page. Notice that "Secure Boot Mode" is now changed to Custom, even though Secure Boot is still on. Hit F10 to save and exit. This BIOS requires that you reboot in order to make your EFI changes take effect, even though you're not done yet. The laptop will still boot into Windows. You have to choose "Restart" again, in Windows, and then hit F2 again to re-enter the BIOS.
4) When you're in the BIOS again, check the "Security" page to make sure it still says Custom, and then go to the "Boot" page (farther right). Make sure "Boot Mode" is still set to "UEFI", and "Secure Boot" is still "Enabled". You shouldn't need to disable Secure Boot, which is good. The boot menu, containing Windows Boot Manager, should be below. If the BIOS successfully recognizes your Linux installation now, then "EFI File Boot 0: ubuntu" should appear as one of your choices below.
5) Move the cursor down to "EFI File Boot 0: ubuntu" and while you're on that line, hit F6 to move it up in the list. Keep hitting F6 until it reaches the top of the list. This will finally make the laptop default to booting Linux instead of Windows.
6) Hit F10 to save and exit. The laptop should boot into the GRUB menu. Now you can finally boot Linux. You did it! If you still want to use Windows, it's down there in the list, under "Windows Boot Manager". Also, if you want an easier way to enter the BIOS in the future, "System setup" should also appear in the list, which is handy.
So, it was a learning adventure about EFI, GPT, and Secure Boot. I'm happy it's working now, and after this initial bump in the road, the laptop is now working normally.
Josh
I understand your confusion. I'm going to be honest with you. @Krellan post is really about how you "fix" things after you didn't follow the correct procedure the first time.
Let me give you the correct procedure on how to do it right the first time. Hint: You'll be finding grubx64.efi on your USB drive when you add grubx64.efi to the trusted secure boot UEFI settings.. USB1 or USB0 Hint2: It will say 'Ubuntu' when you use F6 in the boot tab if that's the name you gave it.....i.e. "Give it a proper name like Ubuntu"
Read my post in link below. @JordanB
https://community.acer.com/en/discussion/543558/sf315-41-acer-swift-3-ryzen-bios-1-04-win-10-1709-installed-ubuntu-18-04-now-cant-f2-or-f12#latest
Edit: If you've already installed Ubuntu, then you might as well go ahead follow Krellan's post as he explains it pretty well. Eelcoherder's post explains it pretty well too, if you don't like my instructions.
If you notice in Krellan's 6 steps, he never mentions installing Ubuntu. That's because he's already installed it.......whoops. (cart/horse) His instructions fix the problem of Ubuntu not booting. Ideally, you want to add grubx64.efi to the trusted secure boot settings before you install Ubuntu.
On some Acer laptop models, if you don't add grubx64.efi to the trusted secure boot settings before you install Ubuntu, you'll get locked out of the UEFI and it'll cause you a little grief.
Tinkerer
Thereby i installed linux over windows 10 in nitro 5 and successfully boot into it.
Here is the clear guide of how I did this..
https://medium.com/@kathirvelk/is-linux-installation-alongside-windows-a-nightmare-in-acer-nitro-5-8f142dfda32f
but thanks @JordanB ,this is what was missing for me in all I was reading about dual boot.(ie The reason it has to be done "before" installation)
Because I can boot the Ubuntu live disk no problem and I just need be clear before proceeding installation.
I have the new Nitro 5 AN5-15-55, and plan to dual boot Ubuntu 20.04 and windows 10 in two different nvme drives....I have done before on other laptops but...
just 2 questions:
>Some people mentioned a "shimx64.efi" file , and many same as you instead mentioned set Uefi "secure trusted file" to "grubx64.efi file" in ? Is there a difference?
and
>do we need to set "secure boot" back to "enabled " right after Ubuntu is Installed "before" first boot, or Secure boot disabled is still ok? Some people are saying it doesn't matter and some are saying we must do it? Appreciate any advice.
thanks again.