sbctl icon indicating copy to clipboard operation
sbctl copied to clipboard

Failed to find EFI partition

Open hackcr1258 opened this issue 1 year ago • 4 comments

Log output

[@DESKTOP]$ sudo sbctl verify
[sudo] password for 
Failed to find EFI system partition

fstab output
# UUID=ROOT
/dev/nvme0n1p3          /               ext4            rw,relatime     0 1

# UUID=EFI
/dev/nvme0n1p1          /boot/efi       vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro       0 2

# UUID=SWAP
/dev/nvme0n1p2          none            swap            defaults        0 0

Bootloader used: GRUB

I have read through my distro's wiki and have no avail.

hackcr1258 avatar Dec 02 '24 01:12 hackcr1258

Output of lsblk --json --output PARTTYPE,MOUNTPOINT,PTTYPE,FSTYPE,MOUNTPOINTS,TYPE,PKNAME,KNAME please

Foxboron avatar Dec 02 '24 09:12 Foxboron

"blockdevices": [
        {
         "parttype": "EFI",
         "mountpoint": "/boot/efi",
         "pttype": "gpt",
         "fstype": "vfat",
         "mountpoints": [
             "/boot/efi"
         ],
         "type": "part",
         "pkname": "nvme0n1",
         "kname": "nvme0n1p1"
      },{
         "parttype": "SWAP",
         "mountpoint": "[SWAP]",
         "pttype": "gpt",
         "fstype": "swap",
         "mountpoints": [
             "[SWAP]"
         ],
         "type": "part",
         "pkname": "nvme0n1",
         "kname": "nvme0n1p2"
      },{
         "parttype": "ROOT",
         "mountpoint": "/",
         "pttype": "gpt",
         "fstype": "ext4",
         "mountpoints": [
             "/"
         ],
         "type": "part",
         "pkname": "nvme0n1",
         "kname": "nvme0n1p3"
      }
]

hackcr1258 avatar Dec 02 '24 12:12 hackcr1258

You probably just need to set ESP_PATH like described in #207 (https://github.com/Foxboron/sbctl/issues/207#issuecomment-1652239359). Try it with ESP_PATH=/boot/efi sbctl verify

tomis007 avatar Dec 17 '24 00:12 tomis007

Thanks. That worked.

hackcr1258 avatar Dec 17 '24 06:12 hackcr1258

I solved this problem by setting ESP partition type to EFI System.

Image

IntangibleW avatar Nov 09 '25 04:11 IntangibleW