Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

[SOLVED] HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#1 Post by impetus_maximus »

i have a HP 14-FQ1074 (BJ's) i successfully installed Debian from 'debian-live-11.3.0-amd64-kde+nonfree.iso' via USB.
*note secure boot is disabled in BIOS.

i had it booting fine. then i re-installed because i couldn't switch users. i want to be the admin for the laptops user, and let them be a normal user. :roll:

now when it goes to boot i get
'Boot device Not Found'
Please install an operating system on your hard disk.

Hard Disk - (3F0)

i've reinstalled using the entire disk multiple times but still no joy.

can anyone please help?
Last edited by impetus_maximus on 2022-05-27 23:19, edited 1 time in total.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#2 Post by Dai_trying »

I have noticed when re-installing to the same drive on a dell laptop that the previous boot sequence was retained by the BIOS (UEFI) and had to go into the settings and set it to use the newly formatted hdd (actually ssd if that matters). But I'm not sure if HP's BIOS allows the same, I would check there first though.

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#3 Post by impetus_maximus »

Dai_trying wrote: 2022-05-26 07:27 I have noticed when re-installing to the same drive on a dell laptop that the previous boot sequence was retained by the BIOS (UEFI) and had to go into the settings and set it to use the newly formatted hdd (actually ssd if that matters). But I'm not sure if HP's BIOS allows the same, I would check there first though.
thanks for the reply.

the options i have, and their order.
  • OS Boot Manager
  • USB Flash Drive/USB Hard Disk
  • USB CD/DVD ROM Drive
  • ! USB Network Adapter

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#4 Post by Dai_trying »

Do you have a specific UEFI boot entry option? On my Dell I had to locate the grubx64.efi file and point to it, but like I said I'm not sure if HP has the same option, but I'm sure there must be a way to direct the BIOS/UEFI to your grub...

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#5 Post by impetus_maximus »

Dai_trying wrote: 2022-05-27 09:25 Do you have a specific UEFI boot entry option? On my Dell I had to locate the grubx64.efi file and point to it, but like I said I'm not sure if HP has the same option, but I'm sure there must be a way to direct the BIOS/UEFI to your grub...
thank you for replying. i found that hitting F9 during boot i can select to boot from EFI file.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#6 Post by Head_on_a_Stick »

You can try to add a new NVRAM boot entry:

Code: Select all

# efibootmgr --create --label 'Debian' --disk /dev/sdX --part Y --loader '/EFI/debian/grubx64.efi'
Replace X & Y with the drive letter & number given to the EFI system partition; /dev/sda1 is presumed so those options can be omitted in that case.

If the boot entry won't persist then you can copy /EFI/debian/grubx64.efi to /EFI/Boot/bootx64.efi (both paths given relative to the EFI system partition), which should be booted even in the absence of NVRAM entries.

This can also be done from the "Expert Mode" of the installer by selecting the "force installation to EFI removable media path" option in the bootloader section.

If grubx64.efi is copied manually then remember to update the GRUB debconf database after booting into the new system:

Code: Select all

# debconf-set-selections <<!
grub-efi-amd64 grub2/force_efi_extra_removable boolean true
!
EDIT: for SecureBoot support copy /EFI/debian/shimx64.efi to /EFI/Boot/bootx64.efi and copy grubx64.efi to the same directory so the shim can find it.
deadbang

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#7 Post by impetus_maximus »

thanks Head_on_a_Stick.

do i run these from the command line from the USB live image? how do i tell what drive letter is?
/dev/sda1 looks familiar.

thanks again

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#8 Post by Head_on_a_Stick »

do i run these from the command line from the USB live image?
The efibootmgr command can be run from any live environment that is booted in UEFI mode. The only caveat is if efivarfs isn't mounted rw (or at all), which will prevent the NVRAM entries from being updated; the ArchWiki has a solution for that here.
how do i tell what drive letter is?
Run

Code: Select all

# parted --list
The EFI system partition will be marked as such; gparted will also show EFI system partitions if you prefer a GUI.
deadbang

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#9 Post by impetus_maximus »

running the live CD...

user@debian:~$ parted --list
parted: command not found

wrong 'shell'?

sorry. i grew up in a DOS environment, have used Unix (compiled in FreeBSD long time ago), Ubuntu (not anymore with spy/adware) and Debian.
but i'll still need my hand held with this. :(

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#10 Post by Head_on_a_Stick »

Code: Select all

sudo apt update
sudo apt install parted efibootmgr
sudo parted --list
deadbang

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#11 Post by impetus_maximus »

thank you.

that got me the following.

Disk /dev/nvme0n1: 256GB
sector size (logical/pyhysical0: 512B/512B
partition Table: gpt
Disk Flags:

Number start end size file system name Flags
1 2097kB 317MB 115MB fat32 boot. esp
2 317MB 247GB 246GB ext4
3 247GB 256GB 9449MB linux-swap(v1) swap

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#12 Post by Head_on_a_Stick »

The EFI system partition is identifed by the "boot, esp" "flags" so use '--disk /dev/nvme0n1' with no need to specify --part.

Use 'efibootmgr -uv' to see all NVRAM entries and their respective loaders.
deadbang

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#13 Post by impetus_maximus »

ok, there are two UEFI entries. both of which are the USB thumb drive (live image).

i entered

Code: Select all

$ sudo efibootmgr --create --label 'Debian' --disk /dev/nvme0n1 --loader '/EFI/debian/grubx64.efi'
i was then able to select the EFI file with F9 during boot.

from within the installed OS, i used the commands you gave me. (with sudo) i hit 'ENTER' at every line right?

Code: Select all

$ sudo debconf-set-selections <<!
grub-efi-amd64 grub2/force_efi_extra_removable boolean true
!
it gave me a thing about great power and responsibility. i entered the admin password.

upon restart it's still not finding the OS upon restart. but i at least have a UFI file!

i REALLY appreciate you taking the time to help me. :)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#14 Post by Head_on_a_Stick »

impetus_maximus wrote: 2022-05-27 22:25i was then able to select the EFI file with F9 during boot.
Well the point of the efibootmgr command was to allow the system to boot without you having to select a loader manually. Did that not happen? Did you check the NVRAM entries afterwards to see if the new one was added?
impetus_maximus wrote: 2022-05-27 22:25from within the installed OS, i used the commands you gave me
Please read my posts more carefully. I only told you to run those commands if you copied grubx64.efi (or shimx64.efi). You did not do that. The debconf-set-selections command only updates the configuration database for the package managers, it doesn't actually copy anyhting anywhere and it will not fix anything by itself.

So try copying shimx64.efi or grubx64.efi to /EFI/Boot/bootx64.efi on the EFI system partition. Or run through the installer again in Expert Mode, as I indicated above.
deadbang

impetus_maximus
Posts: 10
Joined: 2022-05-25 18:13
Has thanked: 1 time

Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#15 Post by impetus_maximus »

Head_on_a_Stick, i do apologize. i need to slow down and READ, and re-read everything.

from here
https://wiki.debian.org/UEFI#Force_grub ... media_path

i used

Code: Select all

dpkg-reconfigure grub-efi-amd64
reboot and WOOT! we got it!
i'm in your debt, and many thanks!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: [SOLVED] HP 14-FQ1074 [Hard Disk - (3F0) boot problem]

#16 Post by Head_on_a_Stick »

Ah yes, sorry, I should probably have mentioned that option. And also mentioned that the ESP is mounted under /boot/efi/ in the running system. It's late here :mrgreen:

Anyway, glad you got it fixed.
deadbang

Post Reply