LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 09-11-2022, 10:22 AM   #1
Cabbidachi
LQ Newbie
 
Registered: Sep 2022
Location: Germany
Distribution: Zorin OS
Posts: 10

Rep: Reputation: 0
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.
 
Old 09-12-2022, 03:43 AM   #2
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Welcome to LQ!!!

Maybe (IDK but I'm trying to learn)
https://askubuntu.com/questions/1343...at32-boot-part
https://superuser.com/questions/1117...ng-ubuntu-grub

https://www.rodsbooks.com/efi-bootloaders/
https://www.rodsbooks.com/refind/installing.html
https://www.rodsbooks.com/efi-bootlo...ecureboot.html

Hopefully others will answer with better advice

Last edited by !!!; 09-12-2022 at 03:47 AM.
 
Old 09-12-2022, 07:38 PM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,355

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
on my HP Pavilion Gaming Laptop
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.
 
Old 09-13-2022, 03:41 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,499

Rep: Reputation: Disabled
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.
 
Old 09-14-2022, 01:58 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,527

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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?
 
Old 09-15-2022, 11:18 AM   #6
giesbert
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: Debian 12
Posts: 57

Rep: Reputation: 12
Could it be that you have more then one efi partition? On different disks?
 
Old 09-16-2022, 09:26 AM   #7
Cabbidachi
LQ Newbie
 
Registered: Sep 2022
Location: Germany
Distribution: Zorin OS
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 09-16-2022, 11:50 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,329

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
It sounds like you haven't got the relevant partition mounted. Can you post the output of 'lsblk'?
 
Old 09-16-2022, 11:55 AM   #9
Cabbidachi
LQ Newbie
 
Registered: Sep 2022
Location: Germany
Distribution: Zorin OS
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
It sounds like you haven't got the relevant partition mounted. Can you post the output of 'lsblk'?
depends on where because i can't access the installed system. So my only option is to run it inside a LiveOS.
 
Old 09-16-2022, 12:46 PM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,527

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
also tried to install a different distro e.g. Fedora and my drive didn't appear at all.
Do you mean the installer for Fedora did not see the single hard drive and partitions you have? Do you have windows hibernated?

Run lsblk from the LiveOS and post the output.
 
Old 09-16-2022, 02:34 PM   #11
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Also, the output of efibootmgr may be helpful. You can use this from a Live distro without having to mount anything.
 
Old 09-17-2022, 02:56 AM   #12
Cabbidachi
LQ Newbie
 
Registered: Sep 2022
Location: Germany
Distribution: Zorin OS
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Do you have windows hibernated?
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 ^^".
 
Old 09-17-2022, 06:12 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,527

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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).

https://www.techzim.co.zw/2021/01/ho...-ubuntu-20-04/

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
 
Old 09-17-2022, 07:17 AM   #14
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.

Last edited by goumba; 09-17-2022 at 07:18 AM.
 
Old 09-17-2022, 08:06 AM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,355

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
I would also like to know the output of
Code:
 parted -l
 
  


Reply

Tags
hp, uefi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
EFI System Partition: Using it as /boot versus /boot/efi MirceaKitsune Linux - General 4 04-06-2021 11:07 AM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
resize efi question [/boot/efi] with boot flag gparted mtdew3q Fedora 4 03-19-2017 10:02 PM
boot efi disk with without a non-efi bios pc... masavini Programming 1 11-12-2013 08:48 PM
Fedora 15 Grub2 Graphical Menu "Invisible" yet there Remore Linux - Newbie 2 08-21-2011 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration