empegClone to work -- your serial numbers are the wrong way round perhaps.
hijack to get an ftp server -- besides, you can't remember how
to get ftp to not ask you for every file when using mget, and installing
ncftp on your empeg is a faff.
Before you start, it's probably worth running fsck on both the source and destination players. This is to ensure that the disks are in a consistent state. To do this, check the instructions in the FAQ at riocar.org.
Go along to http://ftp.us.debian.org/debian/dists/stable/main/binary-arm/net/, (or your local mirror) and grab a copy of netcat_1.10-12.1.deb.
.deb files are just ar archives, containing a couple of .tar.gz files, and a tag
file. You need to get the "data.tar.gz" file. Do this:
not-the-empeg:~$ ar p netcat_1.10-12.1.deb data.tar.gz > netcat_1.10-12.1.tar.gz
This extracts the data.tar.gz file and saves it under a sensible name.
netcat_1.10-12.1.tar.gz) using your favourite
serial terminal's ZModem command to /drive0, then extract the files:
empeg:/# rwm ; rw empeg:/# cd /drive0(Transfer the file using ZModem)
empeg:/drive0# cd / empeg:/# tar xvfz drive0/netcat_1.10-12.1.tar.gz
You should see the some files being extracted from the .tar.gz file.
Note: For the Linux-challenged amongst you, I've put the netcat_1.10-12.1-minimal.tar.gz file here. Copy it to the empeg in step 2, above, changing the 'tar xvfz' command to suit.
dest-empeg:/# cd /drive0 dest-empeg:/drive0# rwm dest-empeg:/drive0# nc -l -p 2999 | tar xvf -
This runs netcat in listen mode, on port 2999, and then sends any output it has through tar, to be extracted.
source-empeg:/# cd /drive0 source-empeg:/drive0# tar cvf - fids foo | nc dest-empeg 2999
This archives the files in /drive0/fids and uses netcat to send them to the other empeg. Because netcat
only exits at end-of-file, we must press Ctrl+C to stop it. So that we know when this is, we add a spurious 'foo' to
the list of files to be transferred -- when tar complains, we're finished.
While this process is going on (it'll take a long time), you should see the filenames go past, like this:
fids/100 fids/101 fids/110 fids/111
If you see anything markedly different, you've done something wrong.
Wait until it's finished (tar complains about "foo". Press Ctrl+C on both empegs to stop the transfer. Check that the files were transferred correctly:
dest-empeg:/drive0# ls fidsYou should see a lot of filenames whizz past.
/drive1
dest-empeg:/# cd /empeg/var dest-empeg:/empeg/var# rwm dest-empeg:/empeg/var# rm tags database playlists
dest-empeg:/empeg/var# exit
Note that we don't remount the disks read-only. This allows the player to save the database once it has rebuilt it. In order to ensure that the disks are mounted read-only before you yank the power, exit the player (using 'q'), or run emplode against it.
A properly cloned player. Almost. The dynamic data partition (EQ, bookmarks, etc.) isn't cloned. This should be easy enough, but I've got nothing on there that I'm bothered about, so I didn't bother.
How fast is it? Approximately 1Gb/hour. I cloned 32Gb, it took a little over 32 hours. However, I did this with the 'z' option to tar. I've updated the page to remove this, because it's apparently faster without.
You might also want to check out my page on using rsync to clone your empeg.