RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Create custom retropie Image

    Scheduled Pinned Locked Moved Help and Support
    10 Posts 7 Posters 10.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      I have made a lot of tweaks to my retropie 3.7 configs + added a few experimental packages, removed and added some emulators & roms, and altogether done just over an hours work setting things up the way I like it.

      I was just wondering can I create a custom image as a backup which I can always flash to an SD Card to continue where I got to should I mess up my setup in the future? I also have a few friends looking at buying a raspberry who would be interested in using the setup I have, so it would be easier to flash my config straight onto an SD card for them rather than getting a stock 3.7 image and spending 1hr+ each time setting it up...

      1 Reply Last reply Reply Quote 0
      • meleuM
        meleu
        last edited by

        @KiloPIE
        maybe you should spend some minutes reading about the power of the dd command! ;)

        I think this have enough information for what you want:
        https://wiki.archlinux.org/index.php/disk_cloning

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        Meneer JansenM 1 Reply Last reply Reply Quote 0
        • B
          batman
          last edited by

          There is also a dedicated page on the retropie wiki's on this very topic:

          https://github.com/retropie/retropie-setup/wiki/updating-retropie

          Under "Making a Backup".

          1 Reply Last reply Reply Quote 0
          • RionR
            Rion
            last edited by

            If you are for example running any Ubuntu distro you can use gdiskdump GUI for DD

            FBNeo rom filtering
            Mame2003 Arcade Bezels
            Fba Arcade Bezels
            Fba NeoGeo Bezels

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Thanks guys, I did google a couple of phrases but just couldnt find the info on this...

              1 Reply Last reply Reply Quote 0
              • Meneer JansenM
                Meneer Jansen @meleu
                last edited by Meneer Jansen

                @meleu said in Create custom retropie Image:

                @KiloPIE
                maybe you should spend some minutes reading about the power of the dd command! ;)

                I think this have enough information for what you want:
                https://wiki.archlinux.org/index.php/disk_cloning

                One word of warning: some people say that dd stands for disk destroy. Dd is a very dangerous command in the wrong (inexperienced) hands. Anyway, I'm gonna have to do this too. My SD cards tend to crach and then I have to -re-install RetroPie and OpenElec. Command in Linux (beware: if you're using Windows (and you most probable are!) you need to someting else) if your SD card is /dev/sdb:

                dd bs=4M if=/dev/sdb

                Restore bacup to /dev/sdb (beware: if your external backup 1 TB hard disk or the hard disk on your PC is /dev/sdb then all your data is gone forever and ever!):

                dd bs=4M of=/dev/sdb

                Link: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=46911

                Can you backup the Pi's SD card to an image from the Pi itself? AFaIK: no! You need to boot the Pi from another SD card containing Linux (i.e. Raspbian) and connect the SD card via an USB SD-card reader to your Pi. Then you'll have to determine the SD's cards device name (i.e. /dev/sdX). Dd cannot be used on a drive that is in use (i.e. that is mounted).

                Anyway, maybe there is some Windows utility that's safer than dd.

                Avid Linux user.

                W 1 Reply Last reply Reply Quote 1
                • FloobF
                  Floob
                  last edited by

                  FWIW I tend to shrink the image then grab it with Win32Disk Imager
                  http://smartretro.co.uk/forums/viewtopic.php?f=3&t=58

                  Please read the Docs before asking a new question.
                  RetroPie Help Guides: https://goo.gl/3gcNsT

                  1 Reply Last reply Reply Quote 0
                  • W
                    wetriner @Meneer Jansen
                    last edited by

                    @Meneer-Jansen It my just be my paranoia, but I tend to only use dd with more specific device terms. I typically use dd if=/dev/disk/by-id/mmc-[TAB], which will only ever give me the ID of a currently plugged in SD card. The ID also contains the file system size. So I can't ever mix it up with my hard drive or usb drives. I would imagine mixing up sda and sdb would be much easier.

                    Meneer JansenM 1 Reply Last reply Reply Quote 1
                    • Meneer JansenM
                      Meneer Jansen @wetriner
                      last edited by

                      @wetriner said in Create custom retropie Image:

                      @Meneer-Jansen It my just be my paranoia, but I tend to only use dd with more specific device terms. I typically use dd if=/dev/disk/by-id/mmc-[TAB], which will only ever give me the ID of a currently plugged in SD card. The ID also contains the file system size. So I can't ever mix it up with my hard drive or usb drives. I would imagine mixing up sda and sdb would be much easier.

                      Very safe method! Recommended.

                      Avid Linux user.

                      1 Reply Last reply Reply Quote 0
                      • meleuM
                        meleu
                        last edited by

                        When using dd you must allways remember the classic uncle Ben's quotation. ;)

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.