I was able to work around this. Warning: not for the faint of heart and
not a supported upgrade path.


- Make a backup. Really.

- Install the plucky version of the debs from zfsutils-linux.
  I rebuilt these from source against oracular just in case there was library 
ABI mismatches.

- Install the generated zfs-dkms package in order to use the new kernel
module.

- At this point, initramfs has been updated by no update-grub has
happened so no freeze. Restart.

- Run `zfs --version` and verify userspace and kernel module are 2.3.1
series.

- Try to run the upgrade. It will refuse.

- In an elevated shell (`sudo -i`) `cd` to the directory where the
updater unpacked itself: `/tmp/ubuntu-release-upgrader-XXXXX`.

- Edit `DistUpgradeQuirks.py` and comment out the call to
`self._test_and_fail_on_zfs()`.

- Run `./plucky` (add --frontend=DistUpgradeViewGtk3` or `./plucky
--frontend=DistUpgradeViewKDE` as desired).

- Run `dpkg --configure -a` or whatever as many times as necessary to
fix any failures (I had a couple).

- Restart.

I was able to get upgraded this way, but please do not attempt this
unless you are prepared to deal with a broken or incomplete upgrade.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2110891

Title:
  System freeze on release upgrade 24.10 oracular to 25.04 plucky with
  root fs on ZFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2110891/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to