I was running Fedora 39 until today evening when I decided to upgrade to Fedora 40. The installer did prompt me to take a backup but I stupidly ignored the warning and went ahead with the upgrade. The upgrade failed and system says it is unable to proceed.
I downloaded a Fedora 40 ISO image, flashed it to a USB drive and then rebooted from the Live CD but I am unable to locate my previous files from within the File Manager. Can somebody tell me how to locate my files from the Fedora 39 world? I have lot of useful code I have written that I hate to lose.
Hello @tm6492 ,
Welcome to discussion!
The files on your /home subvolume should be fine and fairly easily accessible. Like @barryascott notes lsblk will show your block devices. You can also use btrfs device scan <device> to get all subvolumes on it. If you installed to one (physical) drive then it would likely be btrfs device scan /dev/sda. This will give the UUID and name of your subvolume that /home is which you need to mount the /home subvolume to get your files.
Honestly, I would first try to boot your previous kernel, from prior to upgrade attempt. Then review the logs to try to see what failed and then try to redo the upgrade.
Here is the screenshot I have since I logged in via Live USB. I am a Linux newbie who quit Windows after years of frustration. So appreciate any help to recover my data.
Looking at that image the best guess I can make as to where /home would be is /dev /nvme0n1p3 with subvolume “home” and the root file system would probably be on subvolume “root” of the same device. If that guess is correct then it seems likely that /boot would be /dev/nvme0n1p2 and /boot/efi would be /dev/nvme0n1p1
It appears that /dev/sda is your live boot media.
You should really provide us with details of the failure.
What stage failed? Was it during the download? Was it during the reboot?
Did you try to upgrade using the recommended cli process using “dnf system-upgrade” or did you try to upgrade using the software app?
The more details you may provide the easier it is for us to determine the proper solution.