This is what worked here:

# Update everything to latest on 24.10 (make sure apt uses old-releases)
sudo apt update
sudo apt upgrade
sudo reboot

sudo sed -i 's/oracular/plucky/g' /etc/apt/sources.list.d/ubuntu.sources
sudo sed -i 's/old-releases/archive/g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update

# It will appear stuck during dkms, but will eventually complete
sudo apt install --yes zfsutils-linux zfs-dkms
sudo update-initramfs -u -k all

# REBOOT!
sudo reboot

# Check we are on 2.3.1 for both zfs + zfs-kmod
zfs --version

# Restore old sources
sudo sed -i 's/plucky/oracular/g' /etc/apt/sources.list.d/ubuntu.sources
sudo sed -i 's/archive/old-releases/g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update

# Start the do-release-upgrade (ctrl+c when it asks whether to proceed)
cd /tmp/ubuntu-release-upgrade-  #whatever suffix it was extracted to
sudo sed -i 's/self._test_and_fail_on_zfs()/pass/' 
DistUpgrade/DistUpgradeQuirks.py

# Start the do-release-scripts again (did this part in gnome terminal, the 
other steps in ssh YMMV)
sudo ./plucky

#let it upgrade and reboot, verify zfs versions still match after the upgrade
zfs --version


These steps at least got me upgraded successfully, with zfs on root (with 
encryption), but again YMMV, make sure to backup first.

Thanks for the previous hints in here.

-- 
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