Where are the config files... ?

Hi,

 

I've been using Rasplex 0.2.1 for a while but the SD card that came with my RPi was a class 4... so browsing was a little bit slow.

I've just bought a fresh SD card (class 10 this time ;-) and want to migrate my Rasplex on it... so i downloaded the last release 0.3.0, installed it and everything is ok except it is a fresh install... can I copy some config files from my old card so that I don't have to go through all the setup again (language, network, server, preferences...) ?

 

Thanks

Which operating system are you on?

Which operating system are you on?

Linux (PMS), mac (my desktop)... and XP on a laptop sleeping somewhere under my bed ;-)  

Just use the OS X terminal: 
 

DISCLAIMER: Using the terminal and dd may delete your system if you don’t choose the right disk! Double-check everything! Double check the if= and of= arguments are right. No guarantee! Use these instructions at your own risk!

 
Just follow these instructions and use your brain to check everything again.
  • diskutil list
  • insert your old sd-card
  • diskutil list
  • the second output should include one more disk and should look like this one:
    /dev/diskX
    #: TYPE NAME SIZE IDENTIFIER
    0: FDisk_partition_scheme *X GB diskX
    1: Windows_FAT_32 SYSTEM 262.1 MB diskXs1
    2: Linux 1.3 GB diskXs2
  • Replace all occurrences of the letter “X” with the disk number determined by the last step. Take a look at: /dev/diskX (first line)
  • Let’s copy the Linux partition to disk: sudo dd if=/dev/rdiskXs2 of=/tmp/image.dd bs=1m
  • Eject the disk (diskutil eject diskX) and insert the new sd-card
  • Double-check if the new sd-card has the same disk number as the old one (Use the command from step 1)
  • Let’s copy the partition to the new card: sudo dd if=/tmp/image.dd of=/dev/rdiskXs2 bs=1m
  • Remove the image from disk: sudo rm /tmp/image.dd
  • Done!

Just use the OS X terminal: 

Thank you a_wein. Sure I can duplicate the card content... and upgrade to 0.3.0 after... that's the other way round I guess ;-)

But just for the knowledge : any idea where these preferences/config files are stored ?

The tutorial will copy the settings - not the system.

The configs are stored on the ext4 partition which is mounted to /storage within RasPlex

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.