Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

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

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

Migrating rapsberry pi 3+ to rpi 4 simple way

Geplant Angeheftet Gesperrt Verschoben ioBroker general
4 Beiträge 2 Kommentatoren 1.1k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    maniac_on_moon
    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antwort Letzte Antwort
          0
          Antworten
          • In einem neuen Thema antworten
          Anmelden zum Antworten
          • Älteste zuerst
          • Neuste zuerst
          • Meiste Stimmen


          Support us

          ioBroker
          Community Adapters
          Donate

          599

          Online

          32.4k

          Benutzer

          81.4k

          Themen

          1.3m

          Beiträge
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
          ioBroker Community 2014-2025
          logo
          • Anmelden

          • Du hast noch kein Konto? Registrieren

          • Anmelden oder registrieren, um zu suchen
          • Erster Beitrag
            Letzter Beitrag
          0
          • Home
          • Aktuell
          • Tags
          • Ungelesen 0
          • Kategorien
          • Unreplied
          • Beliebt
          • GitHub
          • Docu
          • Hilfe