Pi Upgrade


#1

Hi All,

I have been running on a Raspberry Pi 2 and just ordered a Pi 3. Can I simply take the SD card out of the pi 2 and stick it into the pi 3, claim the new install on this site and go? Will all my stats and everything continue as they are now?


#2

If you are running a later version of the O/S, like Jessie, then the card should work.
Wheezy won’t work on an RPI3.

The stats are tied to the MAC address of the card. A new session will be created when you start up the new RPI.
You can search for forums for how to clone the MAC address so the stats continue.


#3

To spoof MAC address in RPi 2, I used following method (did not try with Pi3):
First copied the MAC address of my old Pi from my Flightaware stats page.
Then edited file cmdline.txt



~ $ sudo nano /boot/cmdline.txt


This file has only one line:



dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait


I added the following to the end of the line:
smsc95xx.macaddr=##:##:##:##:##:##
where ##:##:##:##:##:## is the MAC address of old Pi copied from Flightaware stats page.

The line will now look like this:



dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait smsc95xx.macaddr=##:##:##:##:##:##


Sae the file and reboot.