I wanted to install Ubuntu 22.04 alongside an existing Windows 10 installation on a HP ProBook 470 G2 and let the Ubuntu installer take care of shrinking the Windows partition and rewriting the GUID partition table. The Ubuntu installation ran through without errors, but on reboot afterwards, the computer got stuck with the error
BootDevice Not FoundPlease install an operating sytem on your hard disk. Hard Disk - (3F0)
Running gparted on a live system shows the following partition structure:
The contents of /dev/sda1
(mountpoint /media/ubuntu/System-reserviert) looks like this
The contents of /dev/sda5
looks like this
So it looks as if /dev/sda1
is the UEFI partition and the grub boot manager is located on /dev/sda5
. As a first attempt to fix it, I copied /dev/sda5/EFI
to /dev/sda1/EFI
, but that didn't fix anything, the computer still gets stuck with the same error when I try to boot from the hard disk.Any ideas how I could get this to work as a dual boot (managed by grub)?