14
submitted 1 year ago by BraveSentry@feddit.de to c/linux@lemmy.ml

Hey all, I had a frozen screen during the latest update and am left with a kernel panic on boot, so I want to restore my system from an external hdd using a live usb system. I tried that using timeshift and following this guide https://ostechnix.com/how-to-backup-and-restore-linux-system-with-timeshift/#restore-snapshots and now it seems I only have an empty /boot folder on the original drive. Luckily I have a separate backup of /home, but still, I would like to restore my system, and, perhaps more importantly, I would like timeshift not to wipe all my data. Any help is highly appreciated, any necessary additional info gladly given.

top 5 comments
sorted by: hot top controversial new old
[-] slimsalm@programming.dev 1 points 1 year ago

I normally use timeshift only to snapshot the system on a daily basis, and if I am not certain what my "fiddling" will do with my operating system, I make a manual snapshot on timeshift before I proceed with what I will do.

In your case I'll copy anything that is important you have, and restore to a earlier version you know it works and call it a truce, after that, I'll suggest just to snapshot your system and not home folder

[-] BraveSentry@feddit.de 1 points 1 year ago

Thanks. I did not snapshot the home folder. I tried to restore a snapshot of a working system but got a wiped ssd instead.

[-] abrasiveteapot@sh.itjust.works 2 points 1 year ago

Something is very wrong here, I've literally restored dozens of times with timeshift and never had it go wrong like this.

Restart the timeshift restore sequence checking very carefully the parameters (you dont have to complete, just go back into it). It should show you a list of what it wants to restore (on the second screen iirc) have a look at that for anything strange (like there not being any files listed to restore for example)

[-] BraveSentry@feddit.de 1 points 1 year ago

It seems I looked too coarsly. It showed all the files to restore. Then it show the same files...but to delete. So I ran it again but cancelled as soon as it began deleting. Now I have a system that boots at leasr into tty and can try to restore /home with duplicacy from there.

Still the question remains why everything was set to be deleted after restoring.

[-] slimsalm@programming.dev 1 points 1 year ago

A wiped ssd, damn... what os were you running? Maybe you have to go to the linux mint forum. They are maintaining the timeshift app, maybe you can get advice from them. Good luck

this post was submitted on 13 Jul 2023
14 points (100.0% liked)

Linux

46620 readers
1034 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS