You are not logged in.

#1 2023-05-19 18:08:55

HumungusFungus
Member
Registered: 2022-12-08
Posts: 15

[SOLVED]Error Using Timeshift to Restore to a Backup from Live CD

After a recent pacman -Syu that led to none of my boot options appearing, I used an arch iso live CD to chroot into my system. I have Timeshift installed, and tried to run it like this:

arch-chroot /mnt
cd @/usr/bin
./timeshift --restore

however, this led to an error: "while loading libraries, shared libraries: libgee-0.8.so.2: cannot open shared object file: No such file or directory"
I thought I'd try installing Timeshift again to fix this... but I'm unable to, because trying to run

 paru -S timeshift 

led to "error: can't install AUR package as root" so then I attempted

su - humfung

to get out of root, but it says the user doesn't exist? I'm a bit confused and lost and would appreciate any help!

Last edited by HumungusFungus (2023-05-20 00:56:55)

Offline

#2 2023-05-19 23:45:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,248

Re: [SOLVED]Error Using Timeshift to Restore to a Backup from Live CD

You mounted your subvolume incorrectly, you need to mount the partition with the subvolume as a mount option so :

mount  -o subvol=@ /dev/sdX /mnt

However chances are that your boot options have no relation to and won't be restorable via timeshift are high, are you mounting your ESP directly to /boot?

Last edited by V1del (2023-05-19 23:46:30)

Offline

#3 2023-05-20 00:55:53

HumungusFungus
Member
Registered: 2022-12-08
Posts: 15

Re: [SOLVED]Error Using Timeshift to Restore to a Backup from Live CD

V1del wrote:

You mounted your subvolume incorrectly, you need to mount the partition with the subvolume as a mount option so :

mount  -o subvol=@ /dev/sdX /mnt

thanks for the hint! it works like a charm now. However, it doesn't seem to detect any snapshots even though I know for a fact that there was at least one. But this is no longer my concern after what you said next-

However chances are that your boot options have no relation to and won't be restorable via timeshift are high, are you mounting your ESP directly to /boot?

Yup, I mounted it to /boot. I checked /boot/loader/entries, and it seems to have all my options (Linux, LTS, and Zen)

Update: The issue was that the preset files were somehow gone (linux-lts.preset, linux-zen.preset and linux.preset). All it took was reinstalling them with pacman, build with mkinitcpio, and everything was fine again

Offline

Board footer

Powered by FluxBB