User Tools

Site Tools


dell_xps_15_9530

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
dell_xps_15_9530 [2020/03/21 14:00]
ben
dell_xps_15_9530 [2020/07/18 10:00]
ben [Failure to boot]
Line 138: Line 138:
   * Extend the zfs partition to fill the remaining space   * Extend the zfs partition to fill the remaining space
   * Reboot and pray   * Reboot and pray
 +
 +==== Failure to boot ====
 +
 +Errors on startup about system not having been booted with systemd. This is a problem with the dracut initrd.
 +
 +Manual boot:
 +  * Edit grub kernel commandline to add ''rd.break=pre-mount'' and remove ''quiet splash''
 +  * At the prompt, run: <code bash>
 +zpool import rpool
 +zfs load-key rpool/root
 +# Enter encryption passphrase
 +mount -t zfs -o zfsutil rpool/root /sysroot
 +mount -t zfs -o zfsutil rpool/root/home /sysroot/home
 +mount -t zfs -o zfsutil rpool/root/var /sysroot/var
 +mount -t zfs -o zfsutil rpool/root/docker /sysroot/var/lib/docker
 +exit
 +</code>
 +  * After boot, regenerate the initrd <code bash>
 +dracut -f /boot/initramfs-genkernel-5.4.0-sabayon 5.4.0-sabayon
 +</code>
 +
 +Known issues:
 +  * Infinite loop of something complaining about system not having been booted with systemd, dbus error: Initramfs was built without systemd support, and needs rebuilding
 +  * Error that ''\'rpool/root\''' contains invalid characters and is not a valid filesystem name: ''/usr/lib/dracut/modules.d/90zfs/mount-zfs.sh'' contains errant single quotes, which need to be removed. Rebuild the initrd afterwards: <code bash>
 +# This:
 +                                ask_for_password \
 +                                        --tries 5 \
 +                                        --prompt "Encrypted ZFS password for ${ENCRYPTIONROOT}: " \
 +                                        --cmd "zfs load-key '${ENCRYPTIONROOT}'"
 +# Should be:
 +                                ask_for_password \
 +                                        --tries 5 \
 +                                        --prompt "Encrypted ZFS password for ${ENCRYPTIONROOT}: " \
 +                                        --cmd "zfs load-key ${ENCRYPTIONROOT}"
 +</code>
 +
  
dell_xps_15_9530.txt · Last modified: 2021/08/27 07:40 by ben