The little script that makes ZFS booting impossible. sudo -i #1) Montage des partitions contenant le logiciel rmdir /ZFS zpool import -N -R /ZFS rpool && sleep 5 zfs set canmount=on rpool && zfs mount -v rpool for var in $(zfs list | grep ROOT/ubuntu|cut -d" " -f1) do echo $var zfs set canmount=on $var && zfs mount -v $var sleep 1 done #2) On récupère la séquence de boot. Mais c'est celle obtenue en mode recovery et pas la dernière !!! journalctl -b -p err -D /ZFS/var/log/journal >/home/a/boot-ERR.txt journalctl -b -D /ZFS/var/log/journal >/home/a/boot-TOT.txt
#3) On démonte le root for var in $(zfs list | tac | grep ROOT/ubuntu|cut -d" " -f1) do echo $var zfs unmount $var && zfs set canmount=off $var && sleep 1 done zfs unmount rpool && zfs set canmount=off rpool && sleep 1 umount -v --recursive /ZFS zpool export rpool zpool list ** Attachment added: "The little script that makes ZFS booting impossible." https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1962061/+attachment/5563870/+files/CHROOTnormal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962061 Title: ZFS Key load error: Failed to open key material file: No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1962061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs