It sounds like a BIOS bug and your logs show you are using version: BIOS F.40 05/17/2018
which is now out of date. To try and fix this you will need to reinstall Windows (sorry), and then install the new BIOS version F.52 from: https://ftp.hp.com/pub/softpaq/sp95001-95500/sp95307.exe (found via https://support.hp.com/au-en/drivers/selfservice/hp-250-g6 -notebook-pc/15747807) ** No longer affects: casper (Ubuntu) ** No longer affects: grub-installer (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1835664 Title: I can not install any Ubuntu distros in the UEFI mode (but BIOS- compability mode works without efforts): "Unable to install GRUB in /dev/sda" Status in elementary OS: New Status in linux: Unknown Status in Linux Mint: New Status in linux package in Ubuntu: New Status in Debian: New Status in Fedora: New Bug description: You also can see the screens that show this problem: https://photos.app.goo.gl/4Pimhpr8SwPerA1h7 https://photos.app.goo.gl/kq5zV5GPrunQpT7j9 https://photos.app.goo.gl/CqjuADV6zURpwECB6 https://photos.app.goo.gl/xzNJ6Xt2BSGBYjXR6 ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: ubiquity 19.10.5 ProcVersionSignature: Ubuntu 5.0.0-20.21-generic 5.0.8 Uname: Linux 5.0.0-20-generic x86_64 ApportVersion: 2.20.11-0ubuntu3 Architecture: amd64 CasperVersion: 1.411 Date: Sun Jul 7 18:38:45 2019 InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed quiet splash --- LiveMediaBuild: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190707) SourcePackage: grub-installer UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/elementaryos/+bug/1835664/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp