1

I am currently 200 miles away from Raspberry Pi at home and I have just bought the new Raspberry Pi to join my other one.

I am wondering if I could possibly Clone the SD card through RP 1 (the one at home) and then ftp it to my laptop and then clone it to my new sd card (which I will then send home) using Win32DiskImager for the RP2 (arriving at my home tomorrow).

The idea for this is that my mum at home can just connect the cables and insert the SD card which I have taught her how to do.

Also say if I just took out the memory card of my old pi (RP1) and inserted it into the new one (RP2) would it actually work as the RP1 does (including ssh connection)

maxisme
  • 75
  • 1
  • 10

2 Answers2

0

You could do a fresh install of the OS for your new Pi, then use (S)FTP to copy over all configs and user files from the old Pi to the new Pi. As for creating an image of the old Pi remotely - I'm not sure.

Yes, you can use the same SD card from RP1 and use it on RP2. The second Pi will have the exact same configurations as the first one (including SSH connection). The only time you might run into problems is if you're using a really old image for Pi 1 and Pi 2 requires newer firmware or if you purchased any codec licenses.

Kenny
  • 101
  • 2
0

If you are setup to establish an ssh connection from RP1 to your notebook, N, you may be able to copy the disk right to N by disk dumping through this connection.

dd if=/dev/sda | ssh me@mydomain.com "dd of=/path_for_backup/RP2.iso"

Of course this approach has a lot of prerequisites, but if you already have easy ssh between you machines, it might be worth a try.

Following the comment from Maximilian, I realized that my solution as written assumes that N is a *nix machine. This solution is OK for Linux machines (and perhaps Macs as well). For Windows one would have to have an equivalent to dd. I've not done this sort of work with Windows, so I can't say how that would be done. I apologise for that limitation to my answer.

Mike Satteson
  • 141
  • 1
  • 5