added note for fix when grub doesnt detect zfs devs correctly
parent
5d6d5572a0
commit
93b91af860
|
@ -315,6 +315,17 @@ Install GRUB to the disk(s), not the partition(s).
|
|||
# grub-probe /
|
||||
zfs
|
||||
|
||||
**Note** GRUB uses zpool status in order to determine the location of zfs devs. Depending on the version of zfs & GRUB, you may experience a problem with grub-probe when performing the install under chroot, leading to an error similar to:
|
||||
grub-probe: error: failed to get canonical path of `/dev/scsi-SATA_disk1-part1'.
|
||||
|
||||
The problem is GRUB expects zpool to return a path to a device directly in /dev, but in the case of this guide, the device is in /dev/disk/by-id. A quick fix is to tell zpool to export the full path of the VDEV, which GRUB is able to properly consume:
|
||||
|
||||
export ZPOOL_VDEV_NAME_PATH=YES
|
||||
|
||||
References:
|
||||
https://github.com/zfsonlinux/grub/issues/5#issuecomment-325221448
|
||||
https://askubuntu.com/questions/827126/zfs-grub-probe-error-failed-to-get-canonical-path-of-dev-disk-name/943425#943425
|
||||
|
||||
5.2 Refresh the initrd files:
|
||||
|
||||
# update-initramfs -c -k all
|
||||
|
|
Loading…
Reference in New Issue