Change SD-Card from RPi 3 to 2


I changed the SD-Card from RPi 3 to my 2.

Now i got :

login as: dietpi
dietpi@'s password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
-bash: /DietPi/dietpi/func/dietpi-globals: No such file or directory
-bash: /DietPi/dietpi/login: No such file or directory
grep: /DietPi/dietpi.txt: No such file or directory

The vice versa change was without problems, how can I fix it? and why does it happend?

Hmm, dietpi-ramdisk failed.

Could you check:

cat /var/tmp/dietpi/logs/dietpi-ramdisk.log
dmesg | grep 'mmcblk'
cat /etc/fstab
  • Check log of dietpi-ramlog
  • Check dmesg boot/kernel log on mounting the SDcard, although strange, I can’t find any hint of mounting /boot, even that it is mounted on my RPi2.
  • Check actual dev name, UUID, PARTUUID of the boot partition (should be mmcblk0p1)
  • Verify that fstab /boot mount entry matches the on from lsblk output. But that should be actually the case, if you switch the SDcard :thinking:. However just to assure.

However let’s see first what you get from the above.