this post was submitted on 24 Feb 2025
23 points (96.0% liked)

Steam Deck

15785 readers
637 users here now

A place to discuss and support all things Steam Deck.

Replacement for r/steamdeck_linux.

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:
[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.

Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 3 years ago
MODERATORS
 

I'm going to upgrade the micro SD card I use for emulation to one with more storage. What is the best way to close the micro SD card I have in my steam deck now to a new one so I can just plug in and go with all my games and save files?

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 6 days ago

You can use dd, but as others have said, dd is nicknamed disk destroyer. If it was me, I'd probably just copy the files, which will be slower but easier to do.

phanto's suggestion of using gparted/kparted is also a good one. Another thing to keep in mind is that many cloning programs will clone the partition size as well, so you may need to use kparted when you're done to grow the partition to the larger microsd size.

[–] morbidcactus 4 points 6 days ago

Dd is a solid option, I've used to image emmc modules, make CD isos, clone drives etc., but Clonezilla is a great tool to have around and quite literally purpose built for cloning and imaging disks, that's how I'd do it myself.

[–] [email protected] 4 points 6 days ago* (last edited 6 days ago)

The Chaotic Good choice here is to install Syncthing on your Steam Deck and on another device with an sd card slot (something like a raspberry pi maybe?) and let them sync on a local network. Once the SD card is "cloned"/copied to the new SD card just stop the file sync.

Bonus points for getting Syncthing setup on your Steam Deck which will end up being useful in lots of other ways too!

https://flathub.org/apps/me.kozec.syncthingtk

https://flathub.org/apps/com.github.zocker_160.SyncThingy

https://github.com/theCapypara/steamdeck-decky-syncthing

[–] [email protected] 2 points 5 days ago

From what I've seen it doesn't matter. Just put the new card in and format it. Then insert both cards into the steamdeck or PC and copy steamapps folder and a file called libraryfolder.vdf to the new card then you're done. Also you can just switch them however you want but make sure to close games if opened.

If you need to install a new drive you can use clonezila but I recommend a fresh install.

[–] [email protected] 2 points 6 days ago* (last edited 6 days ago) (1 children)

What's wrong with "cp -r"?

As far as "having a second SD slot to facilitate the copy" goes, Anker makes decent card readers.

[–] [email protected] 3 points 6 days ago

Won't work if the card has multiple partitions, also might not copy symlinks properly. dd is the way to do this if you want an exact copy, you just need to be very careful. You can take a disk image, that way you only need one slot.

[–] phanto 16 points 1 week ago* (last edited 1 week ago) (2 children)

Everyone is going to tell you to use dd. dd if=/dev/oldsdcard of=/dev/newsdcard

Personally, I have actually eaten an entire system by getting the wrong /dev names for the input file and the output file.

Gparted lets you copy whole partitions and resize them, and is graphical. I have yet to destroy my computer using gparted, but I've definitely done so with dd. (I'm also an idiot though, so...) Edit: gparted will also let you resize the new SD to the bigger partition size! However, it is actually possible to break your system in gparted too, so make sure you aren't deleting partitions and stuff in there.

[–] [email protected] 2 points 6 days ago (1 children)

I have yet to destroy my computer using gparted

Though that’s 100% possible, Bringus actually destroyed his system drive on a laptop by being impatient while using gparted https://www.youtube.com/watch?v=Y0T9SiUVvHk

[–] phanto 3 points 6 days ago

No! You shouldn't have told me that it could be done! Now, the next time I launch gparted, I'll somehow manage to wipe everything! Not just my system, but, like, all my systems! If it can be broken on a computer, I'll be the one to break it!

[–] [email protected] 21 points 1 week ago* (last edited 1 week ago) (1 children)

Yeah, but if you fuck up with dd, you get to install new linux and possibly try another distro.

Like a kid in a candy store.

[–] [email protected] 20 points 1 week ago* (last edited 6 days ago) (2 children)

Also, accidentally deleting all your valuable data without a working backup is a valuable lesson that I like to take the time to re-learn every few years.

[–] [email protected] 7 points 6 days ago

It's a rite of passage that every linux user should experience at least 3 times.

[–] [email protected] 2 points 6 days ago

You don't host all your personal projects in an off-prem git repo?