I've created a really ugly hack solution which allowed me to upgrade
without errors on deadlocks. Sharing, so that others can upgrade their
Ubuntu 24.10 installation, in case they use root on ZFS and they are
still on 24.10 or were able to restore their 24.10 installation after a
failed upgrade attempt

With root permissions:

1. Update your system:
    apt update ; apt upgrade --with-new-pkg

2. Download 00_zfs_oneiric_upgradehack.cfg to /etc/default/grub.d/
  (not /etc/grub.d/. Also keep the filename incl. .cfg suffix)

3. Prepare for the worst:
    cp -ra /boot /boot.oracular
    zfs snapshot -r rpool@oracular

4. I had issues with virtualbox DKMS; maybe temporarily uninstall if you
have it

5. Run the upgrade – it now should pass through successfully
    do-release-upgrade

6. Reboot into Ubuntu 25.04 after upgrade completion and remove the hack:
    rm /etc/default/grub.d/00_zfs_oneiric_upgradehack.cfg*

7. Run update-grub twice:
    update-grub ; update-grub

You should be set.


** Attachment added: "00_zfs_oneiric_upgradehack.cfg"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2110891/+attachment/5879003/+files/00_zfs_oneiric_upgradehack.cfg

-- 
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 oneiric to 25.04 plucky with
  root fs on ZFS and snapshots

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


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

Reply via email to