I mistakenly deleted the first partition on a little media box (sda1). The data is still there. It was only the partition table. I quickly downloaded testdisk and restored it. The partition contains /EFI.
/boot is on the main partition that never got touched. I think I may have deleted the 1.84mb partition at the end of the disk. I'm not sure what is there, probably backup partition data. It shows unallocated.
When I boot again Ubuntu says it can't find /boot. The sda1 partition shows up as "boot" "esp" on gparted. I am using secure boot. I appreciate I will have to enroll my drivers again.
What am I forgetting that is stopping the machine from booting?
Bookmarks