I upgraded 22.04 to 24.04 using the Software Updater GUI (24.04.1 upgrade release). The system is stock Ubuntu with MATE installed as the end-user GUI. The upgrade ran into unrecoverable errors and the system will not reboot, even in safe mode from the boot menu. I have downloaded the 24.04.1 installation ISO image and transferred it onto a USB drive, bootable. The system does boot from this drive and "sees" the original 22.04 files and directories; all of the user files are intact and work with the relevant application from the USB-booted 24.04 system in Try Ubuntu mode. However, the only option that the installation will give me is a clean install, rather than preserving /home /opt and /usr/local. How do I make a 24.04.1 upgrader, not full installer, bootable USB image? If this is not possible, is there a mechanism to preserve the /home /opt /usr/local directories and contents? When the system initially was cleanly installed on a 2 Tbyte NVME internal drive, I recall that the installer REALLY WANTED to make one partition for the Ubuntu image (plus the UEFI secure boot MS partition, not for Ubuntu). If the above is not possible (if it is, please provide full details -- I do not mind typing into a CLI if necessary), there seem to me two possible recourses.
(1) Using try 24.04 and in try mode, mount the NVME disk. Once mounted, remove everything but /home /opt and /usr/local (deleting all the rest of /usr ). Reboot into the installer, have it resize the 22.04 part of the NVME drive (with almost all directories gone), install a minimum 24.04, reboot into 24.04, mount the 22.04 part, and copy from the mounted 22.04 part the contents of /home /opt and /usr/local into /home1 /opt and /usr/local . Assuming all files are now on the new system, fully remove the contents of 22.04 and grow the 24.04 to the full size of the NVME less UEFI boot part plus any overhead that Ubuntu demands (if any). Then manually install all of the rest of the 24.04 system through the CLI apt-get or a GUI package installer/manager.
Other option (2) Get a 22.04 repair installation bootable USB stick (does a repair installation exist?), repair 22.04 to a bootable state, and then try the Software Updater upgrade path to 24.04 once again.
The worst case scenario is to install a new "empty" NVME drive into the machine, do a full fresh install of 24.04, place the existing (unbootable) 22.04 NVME into a USB enclosure, and once done, copy/tar/whatever the needed files from the 22.04 system to the 24.04 system. Repair of the failed 24.04.1 in-situ upgrade would be the easiest. In the case of the physical machine in question, a Dell laptop, replacing the NVME drive is easy because of an external access "door". Any suggestions?