Results 1 to 3 of 3

Thread: Ubuntu can't find /boot after I deleted EFI partition (and restored it)

  1. #1
    Join Date
    Aug 2009
    Beans
    29

    Ubuntu can't find /boot after I deleted EFI partition (and restored it)

    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?
    Last edited by chortle; March 27th, 2024 at 10:17 AM.

  2. #2
    Join Date
    Apr 2014
    Location
    Tucson AZ, USA
    Beans
    1,078
    Distro
    Ubuntu

    Re: Ubuntu can't find /boot after I deleted EFI partition (and restored it)

    Does the partition restore restore the UUID as well? If your fstab is going by uuid, which it should then boot doesn't exist according to it. You need to update the fstab if this is the case. You will likely need to load a live image and reinstall grub and such in this case as well.

  3. #3
    Join Date
    Aug 2009
    Beans
    29

    Re: Ubuntu can't find /boot after I deleted EFI partition (and restored it)

    Thanks for your help. On the second boot it worked fine. I don't know why the first time failed. I didn't change anything.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •