diff --git a/Debian-Stretch-Root-on-ZFS.md b/Debian-Stretch-Root-on-ZFS.md index b5197c2..a41a858 100644 --- a/Debian-Stretch-Root-on-ZFS.md +++ b/Debian-Stretch-Root-on-ZFS.md @@ -316,7 +316,7 @@ Later, once the system has rebooted twice and you are sure everything is working Do not reboot the computer until you get exactly that result message. Note that you are installing GRUB to the whole disk, not a partition. -If you are creating a mirror, repeat the grub-install command for each disk in the pool. +If you are creating a mirror or raidz topology, repeat the `grub-install` command for each disk in the pool. 5.5b For UEFI booting, install GRUB: @@ -381,6 +381,28 @@ If you get a type of `rpool does not exist` message, you can try adding `rootdel # usermod -a -G audio,cdrom,dip,floppy,netdev,plugdev,sudo,video YOURUSERNAME +6.8 Mirror GRUB + +If you installed to multiple disks, install GRUB on the additional disks: + +6.8a For legacy (BIOS) booting: + + # dpkg-reconfigure grub-pc + Hit enter until you get to the device selection screen. + Select (using the space bar) all of the disks (not partitions) in your pool. + +6.8b UEFI + + # umount /boot/efi + + For the second and subsequent disks (increment debian-2 to -3, etc.): + # dd if=/dev/disk/by-id/scsi-SATA_disk1-part2 \ + of=/dev/disk/by-id/scsi-SATA_disk2-part2 + # efibootmgr -c -g -d /dev/disk/by-id/scsi-SATA_disk2 \ + -p 3 -L "debian-2" -l '\EFI\debian\grubx64.efi' + + # mount /boot/efi + ## Step 7: Configure Swap **CAUTION: Swap on ZFS pool may deadlock on systems with extremely high memory pressure, see** https://github.com/zfsonlinux/zfs/issues/7734 diff --git a/Ubuntu-18.04-Root-on-ZFS.md b/Ubuntu-18.04-Root-on-ZFS.md index 424cdb4..0142bc7 100644 --- a/Ubuntu-18.04-Root-on-ZFS.md +++ b/Ubuntu-18.04-Root-on-ZFS.md @@ -420,7 +420,7 @@ Later, once the system has rebooted twice and you are sure everything is working Do not reboot the computer until you get exactly that result message. Note that you are installing GRUB to the whole disk, not a partition. -If you are creating a mirror, repeat the grub-install command for each disk in the pool. +If you are creating a mirror or raidz topology, repeat the `grub-install` command for each disk in the pool. 5.6b For UEFI booting, install GRUB: