Migration from pi3 to pi4

I have an pi3 working with a raspbian stretch. I must migrate the full system to a pi4b. I have copied the sd of pi3 (both the partitions) into 2 file with 'dd' in hd of my pc (debian). After, I have create the 2 partitions into a new sd card (same model) and copied the 2 image-files created before. Pi4 not work! Must I install a new image from repo (raspiann buster) and re-install, recompile all my software and reconfigure all?

Reply to
BIG Umberto
Loading thread data ...

On Thu, 24 Oct 2019 15:31:06 +0000 (UTC), "BIG Umberto" declaimed the following:

The R-Pi 4 requires Raspbian Buster (the foundation actually released a Buster based Raspbian some two weeks before Debian itself released Buster

-- because they had no working OS available when the R-Pi 4 hardware came out). The R-Pi 4 required significant changes to the booting logic.

--
	Wulfraed                 Dennis Lee Bieber         AF6VN 
	wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/
Reply to
Dennis Lee Bieber

Or you can do an in-place upgrade on the pi3 and then move to pi4. Just replace 'stretch' with 'buster' in you /etc/apt/sources.list then 'apt update' and 'apt dist-upgrade. It will take a while.

The reason is that as the pi4 was developed, it had different architectural featues from previous versions, so the choice was - modify stretch to accomodate and then finish the work on buster. So they eliminated one step.

Reply to
ray carter

You also need to follow that with an rpi-update otherwise the image will not have the additional files needed to boot the 4B.

---druck

Reply to
druck

OK.

Reply to
BIG Umberto

Yes. The boot partition of pi4 is much large respect the pi3.

Testing tomorrow for a hibrid mode: Boot of pi4 and second partition with files of pi3.

THANK.

Reply to
BIG Umberto

As my setup had been through many migrations between generations of Pi's my boot partition wasn't big enough for the RPi 4B files, so I had expand it to 256MB.

You should be able put a Pi 4B Buster back in to a Pi 3B, as it contains files for both.

---druck

Reply to
druck

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.