Dai_trying wrote:That could be worth trying, also have you disabled secure boot?
Secure Boot is disabled, it's mandatory for booting in UEFI mode. The boot menu shows the thumbdrive with the UEFI prefix... So i guess booting in UEFI is not the issue.
I'm trying the EFIStub method right now.
pylkko wrote:I believe HP is one of those manufacturers whose Efis are known to work in bizarre ways, meaning that in order to boot the grub EFI file it need to be in some specific path and have some specific, often quite unintuitive name (windows for example). You might want to search for that
It could be something like that. It seems to me the partition isn't recognized as bootable by the HP EFI for some reason because i can access it in a shell from the installation disk. I can even run the bios' built in diagnostics on it..
EDIT: found some info in this http://h20565.www2.hp.com/hpsc/doc/publ ... -c01564727
EDIT 2: Finally i booted into debian! Renamed the boot partition to HP_TOOLS. Still the same BootDevice Not Found error, but the bootmenu is now able to access the disk. This enables me to boot from file: /boot/efi/debian/grubx64.efi and voilà.
Buuuuuttttt. Stil not booting by itself into Debian; i still get the BootDevice Not Found error. But i think by moving the file to the right directory might do the trick -> have to dig into this some more.
And a 2nd buuuuuuttt: for some reason i am not able to login when in debian... both the root password or useraccount i setup during install are invalid. Gonna reinstall once again, maybe i did a double typo... twice...
EDIT 3: That did the trick, i can now login. I think the last time the installer didn't finish after the grub error but just exited. Noticed it now did something to users when finishing the installation without bootloader. Still have to manually select the file from the EFI menu, but at last... i'm in.
So what i did:
Boot install iso from usb in UEFI mode.
Normal Install (seems to be much slower than the graphic install??)
GUIDED Partitioning of /dev/nvme0n1
changed name of the ESP partition to HP_TOOLS
When GRUB fails to install i open a shell from within the installer:
mount --rbind /sys sys/
mount --rbind /dev dev/
mount --rbind /run run/
chroot . /bin/bash
apt-get -t jessie install grub-efi
Now where back in the installer and continue without bootloader
Install will finish and reboot
On boot still have this error:
BootDevice Not Found
Please install an operating system on your hard disk.
Hard Disk - (3F0)
ignore and open boot menu and select Boot File
select the /boot/efi/debian/grubx64.efi and hit enter
now i can boot into Debian!
--> Now i'm going to try to make the system boot to debian right away without the BootDevice Not Found error
Hopefully this makes sense: http://h20565.www2.hp.com/hpsc/doc/publ
EDIT 4 - Solution:
SOLVED! -> this helped me to understand how HP UEFI boot is working http://fomori.org/blog/?p=892
after booting into debian i moved the file
had to manually add it to the bootorder:
this returns a list of all boot entries. Look for "\EFI\Boot\Bootx64.efi" and manually entered a new bootorder (only entered the ones i need: "\EFI\Boot\Bootx64.efi", usb, sata, boot menu and system menu)
sudo efibootmgr -o [entries here]
looks something like this:
sudo efibootmgr -o 000A, 000B, 000F, 0004, 0001
after reboot it now boots into the OS!