Fresh Installation - Boot Device Not Found

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Fresh Installation - Boot Device Not Found

Post by redwullf »

Long time Linux Mint user, I recently installed Windows 10 on my HP Elitebook Folio 9470m for a temporary need. Today, when trying to install a fresh copy of Linux Mint from USB, the install seems to go fine, but when I try to boot up the laptop I get the following sequence of events:

1. the HP PC Hardware Diagnostics UEFI starts right after the HP logo
2. When I exit out of this, I get a black screen with "Boot Agent GE v1.4.10"
3. Below this under F2 System Diagnostics it reads "E61: Initializing and establishing link..."
4. Below this a new line then appears "M0F: Exiting Intel Boot Agent."
5. A new screen appears that reads:
Boot Device Not Found
Please install an operating system on your hard disk
Hard Disk - (3F0)
F2 System Diagnostics
For more information, please visit: www.hp.com\go\techcenter\startup

Edit: I have two SSDs in the laptop. I tried installing to the other SSD with the exact same results. I can't help but wonder if something has changed in BIOS after installing Windows. I *know* the laptop can run Linux Mint, it had it installed and working just a couple of weeks ago.
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

You likely have to get into System Configuration in the BIOS and find the OS Boot Menu, click on it and move the Ubuntu entry to the top and press F10 twice
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

I have a Legacy Boot Order, which lists Notebook Hard Drive, Notebook mSATA Drive, USB Floppy, USB CD-ROM, USB Hard Drive, Notebook Ethernet, and SD Card in that order. I don't have an option to load Ubuntu.
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

Can you boot the Mint ISO and post results from terminal for

Code: Select all

sudo parted -l
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

Code: Select all

mint@mint:~$ sudo parted -l
Model: ATA HP SSD S700 500G (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  2097kB  1049kB
 2      2097kB  540MB   538MB   fat32        EFI System Partition  boot, esp
 3      540MB   500GB   500GB   ext4


Model: ATA CHN mSATAM3 512 (scsi)
Disk /dev/sdb: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  2097kB  1049kB                                     bios_grub
 2      2097kB  540MB   538MB   fat32        EFI System Partition  boot, esp
 3      540MB   512GB   512GB   ext4


Model: General  (scsi)
Disk /dev/sdc: 15.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  15.7GB  15.7GB  primary  fat32        boot, lba
User avatar
MiZoG
Level 5
Level 5
Posts: 581
Joined: Fri Jan 26, 2018 8:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by MiZoG »

Grub should be (logically) in the first partition of your mSATA drive. Change the boot order in your bios settings to boot that drive first.
Partition schemes are a bit messy still you could probably face no problem at all.
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

Change it to UEFI in bios and then see if the os boot order shows an Ubuntu entry
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

MiZoG wrote:
Thu Oct 06, 2022 7:28 pm
Grub should be (logically) in the first partition of your mSATA drive. Change the boot order in your bios settings to boot that drive first.
Partition schemes are a bit messy still you could probably face no problem at all.
I've tried re-installing LM to the mSATA drive to see if the ATA was possibly the problem, but it had the same issue. I've since re-wiped both drives and installed LM just to the ATA SSD. The problem repeated itself.

I then followed @JeremyB's recommendation of changing to UEFI (Hybrid) in BIOS before reinstalling LM on the ATA. Now that I've done so, my experience is as follows:

1. If I just power on the laptop, I get the HP splash screen/logo, then a very quick flash of "Reset System" in the top left corner of an otherwise blank screen, then back to splash screen and repeat. This loops endlessly until I hit F9 to bring up the Boot menu.
2. From the Boot Menu I choose "Boot from EFI File" > , Acpi(PNP0A03,0)/Pci(1F|2/Sata(Port ))/HD(Part1,Sig7EC2CDB8-7CEE-445E-9E91-26D019 > EFI > ubuntu > grubx64.efi
Now it boots into Linux Mint after a long delay of blank screen

So there's definitely progress with the change to UEFI (Hybrid). I've also tried the following:

Rebooted from the Live USB and installed and ran "Boot Repair." This claimed it was successful after running, but rebooting the computer produces the same results as above.

I'm closer now. I can boot into LM with the boot menu, but need to fix so that it boots automatically upon power on. What steps are recommended to fix this?
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

Post results from terminal for

Code: Select all

efibootmgr -v
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

JeremyB wrote:
Fri Oct 07, 2022 4:49 pm
Post results from terminal for

Code: Select all

efibootmgr -v

Code: Select all

~$ efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002
Boot0000* Notebook mSATA Drive	BBS(HD,,0x0).......................................................................
Boot0001* Notebook Hard Drive	BBS(HD,,0x0).......................................................................
Boot0002* Notebook Ethernet	BBS(128,,0x0)........................A..............................................
Boot0003* Notebook Ethernet	BBS(128,,0x0)........................A..............................................
Boot0004* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0006* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0007* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0008* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0009* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000A* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000B* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000C* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000D* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000E* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot000F* ubuntu	HD(1,GPT,7ec2cdb8-7cee-445e-9e91-26d019fd7472,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

Code: Select all

sudo efibootmgr -o 0004
Then see if it works after a reboot. A chance that HP EFI will ignore it like my HP did and I had to set it in BIOS
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

JeremyB wrote:
Sat Oct 08, 2022 10:04 am

Code: Select all

sudo efibootmgr -o 0004
Then see if it works after a reboot. A chance that HP EFI will ignore it like my HP did and I had to set it in BIOS
After running the above command and rebooting the experience is exactly the same. I get the HP logo/splash screen, a brief flash of "Reset System" and it repeats itself. You said you had to set yours in BIOS, can you describe those steps for me, please? Or are there other options? I really feel like this is close to resolution.
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

I had to go to the System Configuration in BIOS, then select Boot Options, then under UEFI boot there was the OS Boot menu where I put Ubuntu at the top of the list and pressed F10 twice to save. I think I have another option set to boot UEFI mode first
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

JeremyB wrote:
Sat Oct 08, 2022 11:42 am
I had to go to the System Configuration in BIOS, then select Boot Options, then under UEFI boot there was the OS Boot menu where I put Ubuntu at the top of the list and pressed F10 twice to save. I think I have another option set to boot UEFI mode first
I can see the OS Boot option in BIOS system Setting, Boot Options, but not Ubuntu in BIOS. I can only see it when I press F9 for Boot Options, it's there at the bottom of the list.
JeremyB
Level 21
Level 21
Posts: 12561
Joined: Fri Feb 21, 2014 8:17 am

Re: Fresh Installation - Boot Device Not Found

Post by JeremyB »

Set it to UEFI only and see what options exist
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

JeremyB wrote:
Sat Oct 08, 2022 3:29 pm
Set it to UEFI only and see what options exist
UEFI only produces the same results.
kburlington
Level 1
Level 1
Posts: 1
Joined: Mon Oct 10, 2022 11:38 am

Re: Fresh Installation - Boot Device Not Found

Post by kburlington »

I had the same problem on my HP EliteBook Folio 1040 G1 which has been running LM for years.
When I upgraded to LM21 I rec'd the "No OS found" error.
IMO - Ubuntu changed something in the install script that break this, but I have no idea what.
I tried a few different installations after trying all the above suggestions.
I noticed I was able to install Fedora - no problems, Windows no problem - so I felt the laptop was fully operational.
So I started installing older versions of Ubuntu till I found one that works.
I found that version 14 installs nicely - from there I upgraded a few times 14->16->18. I don't think you really need to do the upgrades - it's the installed environment you need.
After installing Ubuntu 14 (http://cdimage.ubuntu.com/ubuntu/releases/) I was able to add LM21 and dual boot with no problems. I don't mind having a small ubuntu footprint as a backup.
All I can say is that it worked for me after days of chasing down many solutions.
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

kburlington wrote:
Mon Oct 10, 2022 12:03 pm
I had the same problem on my HP EliteBook Folio 1040 G1 which has been running LM for years.
When I upgraded to LM21 I rec'd the "No OS found" error.
IMO - Ubuntu changed something in the install script that break this, but I have no idea what.
I tried a few different installations after trying all the above suggestions.
I noticed I was able to install Fedora - no problems, Windows no problem - so I felt the laptop was fully operational.
So I started installing older versions of Ubuntu till I found one that works.
I found that version 14 installs nicely - from there I upgraded a few times 14->16->18. I don't think you really need to do the upgrades - it's the installed environment you need.
After installing Ubuntu 14 (http://cdimage.ubuntu.com/ubuntu/releases/) I was able to add LM21 and dual boot with no problems. I don't mind having a small ubuntu footprint as a backup.
All I can say is that it worked for me after days of chasing down many solutions.
I'll try some other distros out of curiosity to see if LM/Ubuntu is the culprit here. Thanks for the tip.
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

That said, even if another distro works, there's gotta be some way to configure loading the "ubuntu" option from the Boot order list. My frustration is that when I try to change the boot order in BIOS, "ubuntu" isn't listed there. But when I F9 to the boot list, there it is.
redwullf
Level 1
Level 1
Posts: 11
Joined: Thu Oct 06, 2022 1:30 pm

Re: Fresh Installation - Boot Device Not Found

Post by redwullf »

/bump
Post Reply

Return to “Installation & Boot”