[SOLVED] Installation successful yet EFI boot files are invisible/missing in boot menu
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installation successful yet EFI boot files are invisible/missing in boot menu
Hello everyone,
I have a very weird situation right now. I installed ZorinOS 16 Core on my HP Pavilion Gaming Laptop 17-cd1xxx (UEFI) and it went completely fine without any errors. But after rebooting and wanting to select the GRUB EFI file i found only the folder which seemed to be empty. I expected that something went wrong and so i did the installation again just for the same issue to happen. Later on i mounted the EFI partition and checked it just to see that the "ubuntu" folder which holds the boot files for ZorinOS actually had the files inside properly. So for whatever reason my laptop is hiding those files inside the boot menu. Secure Boot is of course disabled.
If efibootmgr shows an entry for Zorin, Press f10 to go into firmware/bios settings, find the boot menu, select os-manager, move Zorin to the top with f5 f6 keys, press f10 to save.
Are you using the boot from EFI file option on the HP?
Is Zorin the only OS installed? If not, what other OS do you have installed?
Many of the Ubuntu derivatives have an ubuntu folder in the EFI partition which contains the EFI files but the menuentry for Grub should show Zorin. Do you actually see the Grub boot menu?
Did you boot and install Zorin EFI mode?
Hey'ya everyone
sorry for the late reply i got pretty busy with work ^^"
Quote:
If efibootmgr shows an entry for Zorin, Press f10 to go into firmware/bios settings, find the boot menu, select os-manager, move Zorin to the top with f5 f6 keys, press f10 to save.
weirdly enough Zorin does not have an entry which confuses me even more now.
Quote:
Is the FAT file system for the EFI marked as ESP BOOT - I've come across this problem before, if it isn't, then it won't boot the system.
it is indeed. I always tell the installer to use the drive as bootloader and it then usually automatically sees that an ESP partition is there. Even tho i sometimes also have to specifically tell it that.
Quote:
Are you using the boot from EFI file option on the HP?
yes because i think Linux usually never makes itself an entry, you always have to first select the EFI file but when i go into the "ubuntu" folder it shows nothing like the folder is empty.
Quote:
Is Zorin the only OS installed? If not, what other OS do you have installed?
Windows 10 is installed since i wanted to do a dual-boot between Windows and Linux.
Quote:
Could it be that you have more then one efi partition? On different disks?
No and i also only have one disk.
Also a little update on the situation, even more weird stuff is happening. When trying to access the EFI files on Windows the "ubuntu" folder is just missing entirely. I also tried to install a different distro e.g. Fedora and my drive didn't appear at all.
In case someone is wondering, its an Intel Optane. Default installment of the laptop.
Nope, i always disable fast boot because it honestly annoys me a little that the computer just hibernates instead of truly shut down.
Quote:
It sounds like you haven't got the relevant partition mounted. Can you post the output of 'lsblk'?
Quote:
Run lsblk from the LiveOS and post the output.
Code:
zorin@zorin:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 2,1G 1 loop /rofs
sda 8:0 1 58,6G 0 disk
└─sda1 8:1 1 58,6G 0 part /cdrom
nvme0n1 259:0 0 477G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 351,1G 0 part /media/zorin/Windows
├─nvme0n1p4 259:4 0 537M 0 part
└─nvme0n1p5 259:5 0 125G 0 part
nvme1n1 259:6 0 27,3G 0 disk
Quote:
Also, the output of efibootmgr may be helpful. You can use this from a Live distro without having to mount anything.
Code:
zorin@zorin:~$ efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,2001,3001,2002,2004
Boot0000* USB Hard Drive (UEFI) - Generic USB Storage (Generic USB Storage)
Boot0001* Windows Boot Manager
Boot2001* EFI USB Device
Boot3001* Internal Hard Disk or Solid State Disk
so yeah even after installing, Zorin is not appearing inside efibootmgr. Probably not a good sign ^^".
Since the efibootmgr output does not show any Zorin or Ubuntu entry you will need to reinstall Grub in EFI mode. You can do an online search as there are countless sites with instructions such as the one at the link below. (If you use the link below, skip the part about creating an EFI partition as you already have one).
Your first partition on the SSD appears to be the EFI partition. I'm curious as to what the 4th partition (537M) is? You can get that info with the command: sudo parted -l
I find it odd that a modern distro, especially Zorin would have gotten it wrong. Did the installer ask how to install grub?
Check your UEFI settings utility. You said Secure Boot is disabled, also make sure you don't have anything like "Legacy" or "CSM" enabled. In "Boot" if you have such a setting, make sure it says "UEFI Only."
I do remember I may have had an instance or two where just having Legacy enabled was enough to confuse an installer, but that was years ago.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.