Skip to content

ERROR (refind_btrfs.state_management.conditions/conditions.py/check_filtered_block_devices): Could not find the ESP! #52

Open
@sentakuhm

Description

@sentakuhm

I know there is same issue [#16](ERROR (refind_btrfs.state_management.conditions/conditions.py/check_filtered_block_devices): Could not find the ESP!), but tried all my best but cant solve it.

  • lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0   1.8T  0 disk
└─sda1        8:1    0   1.8T  0 part
nvme0n1     259:0    0 931.5G  0 disk
├─nvme0n1p1 259:1    0   512M  0 part /efi
├─nvme0n1p2 259:2    0   155G  0 part /var/log
│                                     /var/cache/pacman/pkg
│                                     /swap
│                                     /home
│                                     /.snapshots
│                                     /
├─nvme0n1p3 259:3    0   147G  0 part /GamesDisk
└─nvme0n1p4 259:4    0   629G  0 part /LocalDisk
  • when run: refind-btrfs
Initializing the block devices using lsblk.
Initializing the physical partition table for device '/dev/sda' using lsblk.
Initializing the live partition table for device '/dev/sda' using findmnt.
Initializing the physical partition table for device '/dev/nvme0n1' using lsblk.
Initializing the live partition table for device '/dev/nvme0n1' using findmnt.
ERROR (refind_btrfs.state_management.conditions/conditions.py/check_filtered_block_devices): Could not find the ESP!
  • /boot/refind_linux.conf
    "Boot with my options" "rw root=/dev/nvme0n1p2 quiet rootflags=subvol=@ initrd=boot\amd-ucode.img initrd=boot\initramfs-linux-zen.img"

  • /etc/fstab

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=79db120b-271e-4354-9d27-893cf51fee92      	/         	btrfs     	rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@	0 0

# /dev/nvme0n1p2
UUID=79db120b-271e-4354-9d27-893cf51fee92     	/home     	btrfs     	rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home	0 0

# /dev/nvme0n1p2
UUID=79db120b-271e-4354-9d27-893cf51fee92     	/swap     	btrfs     	rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@swap	0 0

# /dev/nvme0n1p2
UUID=79db120b-271e-4354-9d27-893cf51fee92     	/.snapshots	btrfs     	rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@.snapshots	0 0

# /dev/nvme0n1p2
UUID=79db120b-271e-4354-9d27-893cf51fee92     	/var/log  	btrfs     	rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=260,subvol=/@log	0 0

# /dev/nvme0n1p2
UUID=79db120b-271e-4354-9d27-893cf51fee92     	/var/cache/pacman/pkg	btrfs     	rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=261,subvol=/@pkgs	0 0

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

# Swapfile
/swap/swapfile	none	swap	defaults	0 0

# /dev/nvme0n1p3
UUID=37a478c3-4fd3-4177-85bf-a4a137d8dda5	/GamesDisk	ext4	defaults	0 2

# /dev/nvme0n1p4
UUID=922EEDEC2EEDC975	/LocalDisk	ntfs3	uid=sentaku,gid=users,umask=0022 0 0
  • output of lsblk --json --merge --paths --output NAME,TYPE,MAJ:MIN
{
   "blockdevices": [
      {
         "name": "/dev/sda",
         "type": "disk",
         "maj:min": "8:0",
         "children": [
            {
               "name": "/dev/sda1",
               "type": "part",
               "maj:min": "8:1"
            }
         ]
      },{
         "name": "/dev/nvme0n1",
         "type": "disk",
         "maj:min": "259:0",
         "children": [
            {
               "name": "/dev/nvme0n1p1",
               "type": "part",
               "maj:min": "259:1"
            },{
               "name": "/dev/nvme0n1p2",
               "type": "part",
               "maj:min": "259:2"
            },{
               "name": "/dev/nvme0n1p3",
               "type": "part",
               "maj:min": "259:3"
            },{
               "name": "/dev/nvme0n1p4",
               "type": "part",
               "maj:min": "259:4"
            }
         ]
      }
   ]
}
  • Output of lsblk /dev/sda --json --paths --tree --output PTUUID,PTTYPE,PARTUUID,PARTTYPE,PARTLABEL,UUID,NAME,FSTYPE,LABEL,MOUNTPOINT
{
   "blockdevices": [
      {
         "ptuuid": "a1f7e11f-0066-4aca-91f8-c01bddb172b5",
         "pttype": "gpt",
         "partuuid": null,
         "parttype": null,
         "partlabel": null,
         "uuid": null,
         "name": "/dev/sda",
         "fstype": null,
         "label": null,
         "mountpoint": null,
         "children": [
            {
               "ptuuid": "a1f7e11f-0066-4aca-91f8-c01bddb172b5",
               "pttype": "gpt",
               "partuuid": "5c6e69f1-4755-4e5b-99be-452289ad9a76",
               "parttype": "ebd0a0a2-b9e5-4433-87c0-68b6b72699c7",
               "partlabel": "Basic data partition",
               "uuid": "C4E6ECB0E6ECA440",
               "name": "/dev/sda1",
               "fstype": "ntfs",
               "label": null,
               "mountpoint": null
            }
         ]
      }
   ]
}
  • Output of findmnt --json --mtab --real --nofsroot --output PARTUUID,PARTLABEL,UUID,SOURCE,FSTYPE,LABEL,TARGET,OPTIONS
{
   "filesystems": [
      {
         "partuuid": "a768537f-a70b-4203-9095-ecf6e62634f6",
         "partlabel": null,
         "uuid": "79db120b-271e-4354-9d27-893cf51fee92",
         "source": "/dev/nvme0n1p2",
         "fstype": "btrfs",
         "label": "Arch Linux",
         "target": "/",
         "options": "rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=976,subvol=/@"
      },{
         "partuuid": "a768537f-a70b-4203-9095-ecf6e62634f6",
         "partlabel": null,
         "uuid": "79db120b-271e-4354-9d27-893cf51fee92",
         "source": "/dev/nvme0n1p2",
         "fstype": "btrfs",
         "label": "Arch Linux",
         "target": "/.snapshots",
         "options": "rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@.snapshots"
      },{
         "partuuid": "a768537f-a70b-4203-9095-ecf6e62634f6",
         "partlabel": null,
         "uuid": "79db120b-271e-4354-9d27-893cf51fee92",
         "source": "/dev/nvme0n1p2",
         "fstype": "btrfs",
         "label": "Arch Linux",
         "target": "/home",
         "options": "rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home"
      },{
         "partuuid": "a768537f-a70b-4203-9095-ecf6e62634f6",
         "partlabel": null,
         "uuid": "79db120b-271e-4354-9d27-893cf51fee92",
         "source": "/dev/nvme0n1p2",
         "fstype": "btrfs",
         "label": "Arch Linux",
         "target": "/swap",
         "options": "rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@swap"
      },{
         "partuuid": "a768537f-a70b-4203-9095-ecf6e62634f6",
         "partlabel": null,
         "uuid": "79db120b-271e-4354-9d27-893cf51fee92",
         "source": "/dev/nvme0n1p2",
         "fstype": "btrfs",
         "label": "Arch Linux",
         "target": "/var/cache/pacman/pkg",
         "options": "rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=261,subvol=/@pkgs"
      },{
         "partuuid": "a768537f-a70b-4203-9095-ecf6e62634f6",
         "partlabel": null,
         "uuid": "79db120b-271e-4354-9d27-893cf51fee92",
         "source": "/dev/nvme0n1p2",
         "fstype": "btrfs",
         "label": "Arch Linux",
         "target": "/var/log",
         "options": "rw,noatime,compress=zstd:1,ssd,discard=async,space_cache=v2,subvolid=260,subvol=/@log"
      },{
         "partuuid": "650b3570-74ab-4180-95e9-4ca6777c0943",
         "partlabel": null,
         "uuid": "DED3-A9F7",
         "source": "/dev/nvme0n1p1",
         "fstype": "vfat",
         "label": null,
         "target": "/efi",
         "options": "rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro"
      },{
         "partuuid": "8856295a-66f3-4b92-919d-255ce05fe43c",
         "partlabel": null,
         "uuid": "37a478c3-4fd3-4177-85bf-a4a137d8dda5",
         "source": "/dev/nvme0n1p3",
         "fstype": "ext4",
         "label": "Gaming",
         "target": "/GamesDisk",
         "options": "rw,relatime"
      },{
         "partuuid": "42c45d81-a122-4a32-89b9-fae21751edcb",
         "partlabel": "Basic data partition",
         "uuid": "922EEDEC2EEDC975",
         "source": "/dev/nvme0n1p4",
         "fstype": "ntfs3",
         "label": null,
         "target": "/LocalDisk",
         "options": "rw,relatime,uid=1000,gid=984,dmask=0022,fmask=0022,iocharset=utf8"
      },{
         "partuuid": null,
         "partlabel": null,
         "uuid": null,
         "source": "portal",
         "fstype": "fuse.portal",
         "label": null,
         "target": "/run/user/1000/doc",
         "options": "rw,nosuid,nodev,relatime,user_id=1000,group_id=1000"
      }
   ]
}

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions