Apparently it is an issue with GRUB.
"ZFS Encryption GRUB Error
When encountering the error "grub-probe : erreur : système de fichiers inconnu" while trying to update GRUB on a ZFS with encryption, it indicates that GRUB is unable to recognize the filesystem. This issue can arise due to GRUB's limitations in handling ZFS, especially when encryption is involved.
To address this problem, you can try creating symbolic links for the disks that GRUB is unable to probe. For example, if GRUB is complaining about a specific disk, you can create a symbolic link in the /dev/disk/by-id/
directory for that disk. The formula for creating these links is:
$ sudo ln -sf {sdname}{partN} /dev/disk/by-id/{diskid}-part{partN}
You can determine the disks required by running grub-probe /
and creating links until it reports no errors. For instance, if GRUB is unable to find /dev/ata-ADATA_SP550_2G1520009135-part1
, you can create the link as follows:
$ sudo ln -sf /dev/sdf1 /dev/disk/by-id/ata-ADATA_SP550_2G1520009135-part1
Additionally, setting the ZPOOL_VDEV_NAME_PATH
environment variable to 1
can help GRUB find the ZFS pool correctly. This variable causes zpool
to report full paths to the disks, which can then be used by GRUB utilities to find the disks containing the ZFS pools.
If these steps do not resolve the issue, it might be necessary to consider alternative boot loaders or configurations that better support ZFS with encryption.
The error "grub-probe : erreur : système de fichiers inconnu" can also occur due to GRUB's inability to recognize the filesystem on the root partition, especially when using ZFS with all its features enabled. In such cases, it might be beneficial to use a supported filesystem for the root partition and keep ZFS for other purposes like VMs or data storage.
In some cases, users have resolved similar issues by dropping the ZFS root and using a supported filesystem for the root partition, then converting the root filesystem to ZFS once they have a system that supports UEFI booting.
For more detailed troubleshooting, you can refer to the discussion on the ZFS subreddit 2 and the GitHub issue on the zfsonlinux/grub repository.3
AI-generated answer. Please verify critical facts.
![
]
(https://imgs.search.brave.com/bgJnc5WjJoSzuO8tk20YOzhsdxXTr5QmxX_JyU2UxiQ/rs:fit:32:32:1:0/g:ce/aHR0cDovL2Zhdmlj/b25zLnNlYXJjaC5i/cmF2ZS5jb20vaWNv/bnMvNzFkNmY1ODg4/NmIzNWViN2QyYzg0/MzU0MGZhMGIxODY2/YTE4MjVmM2Y4NjUw/Y2FjZTFmYTk4ZmZm/NTk1YWUxMC9hc2t1/YnVudHUuY29tLw)
grub2 - ZFS grub-probe error failed to get canonical path of /dev/DISK_NAME - Ask Ubuntu
](https://askubuntu.com/questions/827126/zfs-grub-probe-error-failed-to-get-canonical-path-of-dev-disk-name)

reddit.com
r/zfs on Reddit: GRUB2-probe error when trying to generate boot configuration on ZFS root

github.com
grub-update does not identify pool correctly: root=ZFS=/ROOT/debian · Issue #18 · zfsonlinux/grub

github.com
grub-probe fails with Unknown Filesystem · Issue #804 · openzfs/zfs

diskpart.com
Solutions simples : Grub