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]
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
[SOLVED] HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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.
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?
*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.
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.
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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.
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
thanks for the reply.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.
the options i have, and their order.
- OS Boot Manager
- USB Flash Drive/USB Hard Disk
- USB CD/DVD ROM Drive
- ! USB Network Adapter
-
- Posts: 1101
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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...
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
thank you for replying. i found that hitting F9 during boot i can select to boot from EFI file.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...
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
You can try to add a new NVRAM boot entry:
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:
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.
Code: Select all
# efibootmgr --create --label 'Debian' --disk /dev/sdX --part Y --loader '/EFI/debian/grubx64.efi'
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
!
deadbang
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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
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
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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.do i run these from the command line from the USB live image?
Runhow do i tell what drive letter is?
Code: Select all
# parted --list
deadbang
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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@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.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
Code: Select all
sudo apt update
sudo apt install parted efibootmgr
sudo parted --list
deadbang
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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
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
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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.
Use 'efibootmgr -uv' to see all NVRAM entries and their respective loaders.
deadbang
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
ok, there are two UEFI entries. both of which are the USB thumb drive (live image).
i entered
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?
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.
i entered
Code: Select all
$ sudo efibootmgr --create --label 'Debian' --disk /dev/nvme0n1 --loader '/EFI/debian/grubx64.efi'
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
!
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.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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?
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.impetus_maximus wrote: ↑2022-05-27 22:25from within the installed OS, i used the commands you gave me
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
-
- Posts: 10
- Joined: 2022-05-25 18:13
- Has thanked: 1 time
Re: HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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
reboot and WOOT! we got it!
i'm in your debt, and many thanks!
from here
https://wiki.debian.org/UEFI#Force_grub ... media_path
i used
Code: Select all
dpkg-reconfigure grub-efi-amd64
i'm in your debt, and many thanks!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: [SOLVED] HP 14-FQ1074 [Hard Disk - (3F0) boot problem]
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
Anyway, glad you got it fixed.
Anyway, glad you got it fixed.
deadbang