Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. Migrating rapsberry pi 3+ to rpi 4 simple way

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Migrating rapsberry pi 3+ to rpi 4 simple way

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maniac_on_moon last edited by maniac_on_moon

      Read some threads but none worked for me.
      Last try was
      https://raspberrypi.stackexchange.com/questions/103841/how-can-i-move-a-working-raspbian-buster-installation-from-pi-3-to-pi-4
      but resizing and moving using "gparted" didn't work for me. So i was stuck with a 45M /boot partition.
      These steps worked for me (got a linux laptop and a second SD card, but shifting data with one card will work too):

      1. Create a new 32bit image for rpi4 on new SD card and boot it on the rpi4.
      2. Copy /etc/fstab to /boot/ on rpi4.
      3. Mount both partition of both SD cards on the laptop.
      4. Clear rpi4 /root partition using "rm -rf *".
      5. Copy the content of the rpi3 /root SD to rpi4 /root.
      6. Copy the saved rpi4 "/etc/fstab" from rpi4 /boot back to rpi4 /root.
      7. Insert rpi4 card into rpi4, it should boot right now.
        Update:
      8. run "raspi-config" and renew the settings for the new pi4 (eg serial, ports, etc)

      (condensed: create new 32 bit image, boot on pi4, save fstab, copy contents from old / to new /, restore fstab of new card)

      I didn't test BT and Wifi.

      HTH
      Maniac

      UncleSam 1 Reply Last reply Reply Quote 0
      • UncleSam
        UncleSam Developer @maniac_on_moon last edited by UncleSam

        @maniac_on_moon Thanks for your input.

        In general, I would suggest starting with a new Raspberry Pi OS image and then simply install ioBroker with the one line command. Of course you need to have a backup of ioBroker (done with the backitup adapter or with the command line iobroker backup.

        M 1 Reply Last reply Reply Quote 0
        • M
          maniac_on_moon @UncleSam last edited by maniac_on_moon

          @unclesam Hi, thanks for your reply. I agree if it is only the iobroker you are dealing with. Starting on my pi 1 B back in 2012 with a bunch of hand tailored scripts in various languages, it meanwhile monitors and controls a major part of our house including central heating, solar thermal, lights, louvers, solar power, construction dryer and the charging of the emobile via wallbaox. So a quick and painless migration was required.

          On the other hand, is there a clear technical requirement for a new installation?

          Thanks and kind regards
          Maniac

          UncleSam 1 Reply Last reply Reply Quote 0
          • UncleSam
            UncleSam Developer @maniac_on_moon last edited by

            @maniac_on_moon sagte in Migrating rapsberry pi 3+ to rpi 4 simple way:

            On the other hand, is there a clear technical requirement for a new installation?

            What do you mean with this? Hardware requirements?

            ioBroker generally runs everywhere where Nodejs runs. After that, the question is, what adapters you have and how many instances are running. On a smaller home, a Raspi 4 with 4GB RAM should suffice, if you have a lot of stuff going on, running it on a NAS or even a server running e.g. Proxmox is advisable. Using an SSD and not a SD card should be obvious.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            540
            Online

            31.8k
            Users

            80.0k
            Topics

            1.3m
            Posts

            2
            4
            876
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo