So yesterday I was playing a game when all of the sudden my computer completely freezed up. I restarted my computer and was stuck with this text left on my screen:
[ 3.773317] ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corr
upt.
[ 3.773326] ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corr
upt.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Give root password for maintenance
(or press Control-D to continue)
Now, I've seen this screen before and I had just simply restored a backup using timeshift. However, when I attempted to restore a snapshot from a Live USB, and Timeshift gives an error when I select my drive
There are no snapshots on this device
...which can't be true because I can access the folders of all my snapshots at @/timeshift-btrfs/snapshots. However, when I open info.json on each of them, it is corrupted and filled with squares.
Could someone please help me fix this problem so I can access my computer? I would greatly appreciate it!
Maybe you could try to chroot from the live USB into your system and launch sudo btrfs check
In case of errors then you could try sudo btrfs check --repair
Okay so I was able to check the @log directory of my boot device with a live USB and this was what the output was for boot.log:
e%G[e[0;1;31mFAILEDe[0m] Failed to start e[0;1;39msystemd-guest-user.servicee[0m.
[e[0;1;31mFAILEDe[0m] Failed to start e[0;1;39msystemd-guest-user.servicee[0m.
[e[0;1;31mFAILEDe[0m] Failed to start e[0;1;39msystemd-guest-user.servicee[0m.
[e[0;1;31m TIME e[0m] Timed out waiting for device e[0;1;39m/dev/disk/by-uuid/9c11b4d9-dc2f-4167-bc12-76b80a3e5b53e[0m.
[e[0;1;38;5;185mDEPENDe[0m] Dependency failed for e[0;1;39m/mnt/timeshift/backupe[0m.
[e[0;1;38;5;185mDEPENDe[0m] Dependency failed for e[0;1;39mLocal File Systemse[0m.
[e[0;32m OK e[0m] Finished e[0;1;39mTell Plymouth To Write Out Runtime Datae[0m.
[e[0;32m OK e[0m] Finished e[0;1;39mCreate Volatile Files and Directoriese[0m.
Starting e[0;1;39msystemd-guest-config.servicee[0m…
Starting e[0;1;39mNetwork Time Synchronizatione[0m…
Starting e[0;1;39mRecord System Boot/Shutdown in UTMPe[0m…
[e[0;32m OK e[0m] Finished e[0;1;39mRecord System Boot/Shutdown in UTMPe[0m.
[e[0;32m OK e[0m] Finished e[0;1;39msystemd-guest-config.servicee[0m.
[e[0;32m OK e[0m] Started e[0;1;39mNetwork Time Synchronizatione[0m.
[e[0;32m OK e[0m] Reached target e[0;1;39mSystem Time Sete[0m.
Maybe, instead of launching timeshift from the live USB, you could use the USB to chroot into your system, then launch timeshift from terminal with sudo timeshift --restore
To be honest - it sounds like you're having a hardware issue - your SSD/NVME or whatever you have sounds like it could be about to die and that's why you aren't seeing any snapshots.
This may suck to hear - but I hope you've got backups.
It should be possible to create new snapshot. Then you can use the info.json from there. If not: here is one of mine. For me it worked just replacing the damaged json with a working one.
That's something that I tried to do, but for some reason Timeshift won't let me make a backup; it has the "create" option greyed out and it said that it's "restore only"