this post was submitted on 18 Nov 2024
65 points (100.0% liked)

Steam Hardware

20103 readers
189 users here now

A place to discuss and support all Steam Hardware, including Steam Deck, Steam Machine, Steam Frame, and SteamOS in general.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Deck] - Steam Deck related.
[Machine] - Steam Machine related.
[Frame] - Steam Frame related.
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

If your post is only relevant to one hardware device (Deck/Machine/Frame/etc) please specify which one as part of the title or by using a device flair.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 4 years ago
MODERATORS
 

So after I last updated my deck I got a generic error message. No biggie. But then suddenly on the next reboot: stuck at the boot logo. Tried lots of things, no way of getting back in. Not with the current kernel, not with the previous one. Really annoying as I use my deck as a general purpose computer too.

So I created a recovery USB. Reinstalling the OS (which attempts to preserve user data and games) failed silently. So I reluctantly copied my entire home folder to an external drive and went with the nuclear option of completely reimaging the internal drive. After steam os finished installation I restored my entire home folder from the backup and restarted the machine.

I was expecting to having to manually reinstall and reconfigure so many apps and settings. And was verily not looking forward to it. But lo and behold: pretty much everything worked just the way it did before the fumbled system update. My desktop layout and window arrangements remained the same, settings and preferences were preserved, it didn't even log me out of email account. No manual imports of settings required. I had to reinstall most apps via the Discover store first, that much is true. But that took just a couple of minutes.

So yeah, really happy with how that went. Last time I had to reinstall everything on a Windows system it was a major pain as settings are all over the place (on the system drive, in the registry, inside appdata, inside the my documents folder, etc). I guess it has to do with the Linux philosophy of "everything is a file".

In the future I'll actually move my /home/ folder to my SSD card so that if this ever happens again the process is even less painful.

PSA: when you backup your home folder make sure to include all the hidden folders and files (anything starting with a dot like the .config folder).

top 15 comments
sorted by: hot top controversial new old
[–] thisisbutaname@discuss.tchncs.de 18 points 1 year ago (2 children)

It's a good practice to have the home folder on a separate partition, so it doesn't get overwritten on a reinstall

[–] bjoern_tantau@swg-empire.de 4 points 1 year ago

You don't even need that. I have switched between several distros and always kept the same filesystem and just deleted everything but the /home folder. No problems. Every installer supported that.

[–] DarkThoughts@fedia.io 3 points 1 year ago (1 children)

Partitioning in Linux is something I just don't get, especially in combination with encryption. Every guide says something different about what partitions you need, what names and filesystems you should go with, etc. or are outdated and not accurate to the actual installation & partition managers. And on top of that I just never know how much space I should reserve for the system & home partitions either.

[–] RmDebArc_5@sh.itjust.works 5 points 1 year ago

The problem is this isn’t the same for every distro and sometimes different versions of the same distro. Also sometimes you have multiple options to do the same thing. There isn’t really a definitive answer, so one would need to know your situation to answer this

[–] InternetCitizen2@lemmy.world 15 points 1 year ago (1 children)

Linux has good bones, just needs more polishing and support sometimes.

[–] huskypenguin@sh.itjust.works 9 points 1 year ago

It's the year of the Linux desktop!

[–] stoy@lemmy.zip 5 points 1 year ago (1 children)

A decade or so ago, I messed around with Linux on my laptop, it was my main computer and I was distro hopping yo see what was out there.

I had my /home on a different partition and it worked well, until I left a USB hard drive plugged in....

It was my main music drive and I accidentaly picked that one to be erased...

I lost 6000+ songs....

[–] takeheart@lemmy.world 4 points 1 year ago (1 children)

1000080781

I know the feel, many years ago I chose the wrong folder and overwrote all my video recordings.

[–] AceBonobo@lemmy.world 13 points 1 year ago (1 children)
[–] takeheart@lemmy.world 2 points 1 year ago (1 children)

Thing is: it was the backup that I accidentally overwrote.

[–] rotopenguin 1 points 1 year ago (1 children)

If it was your only copy, then it wasn't a backup.

[–] takeheart@lemmy.world 1 points 1 year ago

True, gives me something to ponder about.

[–] fmstrat@lemmy.nowsci.com 4 points 1 year ago (1 children)

If you like this, you may be interested in https://fedoraproject.org/atomic-desktops/

I'm not a Fedora fan, but this is what Bazzite (desktop Steam Deck like OS) is based on. It's almost like source control, where any updates you make are on top of the base image, and when you update, it just rebases your changes over to of the new base image (simplified).

Beyond that, take a look at what many people do called dotfiles. This is where you symlink common home directory files ans folders like .config/etc to a git repo, so not only is it easy to restore any Linux OS settings for apps, you also get version history.

[–] takeheart@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

Ok, sounds good.*but do I have to write manual commit logs whenever a config file changes? Feels like a hassle to track down and understand all the specifics. For instance when are app updates to new version with new features and that is reflected in new config files. I currently use freefilesync for backups and keep up to 5 version of old files.

[–] fmstrat@lemmy.nowsci.com 1 points 1 year ago* (last edited 1 year ago)

~~Nope. You use it like a normal system. It handles that.~~

You mean in dotfiles. Yes. But I typically just commit from my main machine just before I'm setting up a new one.