Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. Migrating rapsberry pi 3+ to rpi 4 simple way

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.6k

Migrating rapsberry pi 3+ to rpi 4 simple way

Scheduled Pinned Locked Moved ioBroker general
4 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maniac_on_moon
    wrote on last edited by maniac_on_moon
    #1

    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

    rpi4, 32Bit Rasbian, iobroker, node-red, RasBee, Volkszähler, Graphana, aws, php und nginx.

    UncleSamU 1 Reply Last reply
    0
    • M 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

      UncleSamU Offline
      UncleSamU Offline
      UncleSam
      Developer
      wrote on last edited by UncleSam
      #2

      @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.

      Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
      ♡-lichen Dank an meine Sponsoren

      M 1 Reply Last reply
      0
      • UncleSamU 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 Offline
        M Offline
        maniac_on_moon
        wrote on last edited by maniac_on_moon
        #3

        @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

        rpi4, 32Bit Rasbian, iobroker, node-red, RasBee, Volkszähler, Graphana, aws, php und nginx.

        UncleSamU 1 Reply Last reply
        0
        • M 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

          UncleSamU Offline
          UncleSamU Offline
          UncleSam
          Developer
          wrote on last edited by
          #4

          @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.

          Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
          ♡-lichen Dank an meine Sponsoren

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Support us

          ioBroker
          Community Adapters
          Donate

          746

          Online

          32.5k

          Users

          81.7k

          Topics

          1.3m

          Posts
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
          ioBroker Community 2014-2025
          logo
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Home
          • Recent
          • Tags
          • Unread 0
          • Categories
          • Unreplied
          • Popular
          • GitHub
          • Docu
          • Hilfe