Ubuntu 16.04: Cleanup formatting on last commit

This change cleans up the formatting from Jonathan Burns's patch to
better match the overall style.  I also added/updated the links.
Richard Laager 2018-01-03 15:59:56 -06:00
parent 93b91af860
commit f4bb0a15e8
1 changed files with 2 additions and 9 deletions

@ -315,16 +315,9 @@ Install GRUB to the disk(s), not the partition(s).
# grub-probe / # grub-probe /
zfs 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: **Note:** GRUB uses `zpool status` in order to determine the location of devices. [grub-probe assumes all devices are in /dev](https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727). The `zfs-initramfs` package [ships udev rules that create symlinks](https://packages.ubuntu.com/xenial-updates/all/zfs-initramfs/filelist) to [work around the problem](https://bugs.launchpad.net/ubuntu/+source/zfs-initramfs/+bug/1530953), but [there have still been reports of problems](https://github.com/zfsonlinux/grub/issues/5#issuecomment-249427634). If this happens, you will get an error saying `grub-probe: error: failed to get canonical path` and should run the following:
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
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: 5.2 Refresh the initrd files: