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?

  • Hiro8811@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 hours 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.

  • morbidcactus@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    14 hours 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.

  • supersquirrel
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    17 hours 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

  • FubarberryM
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 day 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.

  • phanto@lemmy.ca
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 day ago

    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.

    • Random_Character_A@lemmy.world
      link
      fedilink
      arrow-up
      22
      arrow-down
      1
      ·
      edit-2
      1 day ago

      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.

      • colourlesspony@pawb.social
        link
        fedilink
        arrow-up
        20
        ·
        edit-2
        23 hours ago

        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.

      • phanto@lemmy.ca
        link
        fedilink
        arrow-up
        3
        ·
        22 hours 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!

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    What’s wrong with “cp -r”?

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

    • crt0o@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      1 day 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.