Where do you see the backup?
When I started with Linux I have tried several distributions and kept Kubuntu and Manjaro. Kub was my everyday Linux and Manj I kept in case something happens to Kub, which it did, like about every 6 months.
Manjaro is where I find and post everything from. But ofc I would see the backup also in Win since it is on the ntfs drive.
I have access to the Kubuntu drive including hidden files from Manjaro.
I do not know where you got those chroot commands from but they are incorrect so please do not try that.
Well I searched for Kubuntu and chroot but not much seemed to fit because they always chroot a subfolder which seems odd to me if I want to get access to an existing folder why would I need a subfolder in the directory of my existing Linux? I guess I do not get Linux logic.
Also I have searched for my error message and found this:
I hit same failure when updating to Xubuntu 24.04.
From Ubuntu release notes upgrades (at this moment) are not supported, and if you hit a problem, probably best solution is to use a live cd/pen to do a backup and restore it after a fresh install.
I followed a different path, following some advice on comments to the question I tried my luck with chroot
.
This is a receipt for my case, not guarantees that will work for you.
- Boot live cd and configure network
- mount / folder on live cd (root disk)
- On root disk, cd “root disk”
- rm dev/null
- cp /etc/resolv.cnf etc/resolv.cnf
- sudo chroot . /bin/bash -c “apt --fix-broken install”
After all updates are done, reboot
shall work.
Log in and execute:
- sudo apt update
- sudo apt dist-upgrade
Does that mean “mount a folder on the live-image then use Kub-disk, cd root disk”?
To me it reads: “make a folder on the life cd root disk and then use cd root disk on the same live cd”. But how would that chroot command then fix anything on my kub-installation when it doesnt know where it is? Prolly my flawed understanding again.
First step should be to save the backup to another location, preferably something formatted as ext4.
I can move the backup to an ext4 drive but what would it help and why would it matter if it let me backup to an ntfs-drive? I assumed that playing back the backup from it should not be a problem either if it let me put the backup on an ntfs drive.
Hi. Perhaps following link on using chroot is heplful: Failed upgrade from Ubuntu …
I can try that at the weekend. Thanks!
All that can happen is that I have to reinstall so I am not scared to try things. I have already backed up some data from the Kubuntu drive because it seems unlikely at this point that I will be able to fix it considering the response I received to this problem.
What I also thought about was installing 22.04 again, updating it, restore the backup, and then upgrade the kernel the right way.
Installing 24.04 and restoring the home folder might probably not be a good idea.