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

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ioBroker Raspberry Pi 4 und SSD

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

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

ioBroker Raspberry Pi 4 und SSD

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
raspberry pi 4ssdusb
41 Beiträge 6 Kommentatoren 6.1k Aufrufe 5 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.
  • AxelF1977A AxelF1977

    @paul53 said in ioBroker Raspberry Pi 4 und SSD:

    @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD

    cat /boot/cmdline.txt
    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=52e4cf4c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

    Das root-Verzeichnis hast du nach dem Formatieren auf die SSD kopiert (Schritte 10 - 12) ?
    Dann ändere die /boot/cmdline.txt in

    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
    

    Du musst die Datei beim Verlassen von nano auch speichern: CTRL + X und Y (when prompted to save).

    Ich habe es mal in die von Dir gepostete Zeile geändert in der cmdline.txt

    Ergebnis

    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=52e4cf4c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
    

    Also wieder die SD Karte.

    Ich habe das root Verzeichnis mit

    sudo rsync -avx / /media/meinordnername
    

    entsprechend in den neuen Ordner verschoben.

    paul53P Offline
    paul53P Offline
    paul53
    schrieb am zuletzt editiert von paul53
    #14

    @AxelF1977 sagte:

    geändert in der cmdline.txt
    Ergebnis

    Aber nicht erfolgreich gespeichert (Rechteproblem ?)

    sudo nano /boot/cmdline.txt
    cat /boot/cmdline.txt
    

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    1 Antwort Letzte Antwort
    0
    • AxelF1977A AxelF1977

      @paul53 said in ioBroker Raspberry Pi 4 und SSD:

      @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD

      cat /boot/cmdline.txt
      dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=52e4cf4c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

      Das root-Verzeichnis hast du nach dem Formatieren auf die SSD kopiert (Schritte 10 - 12) ?
      Dann ändere die /boot/cmdline.txt in

      dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
      

      Du musst die Datei beim Verlassen von nano auch speichern: CTRL + X und Y (when prompted to save).

      Ich habe es mal in die von Dir gepostete Zeile geändert in der cmdline.txt

      Ergebnis

      dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=52e4cf4c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
      

      Also wieder die SD Karte.

      Ich habe das root Verzeichnis mit

      sudo rsync -avx / /media/meinordnername
      

      entsprechend in den neuen Ordner verschoben.

      paul53P Offline
      paul53P Offline
      paul53
      schrieb am zuletzt editiert von paul53
      #15

      @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD:

      Ich habe das root Verzeichnis mit
      sudo rsync -avx / /media/meinordnername
      entsprechend in den neuen Ordner verschoben.

      Dann müssen die root-Verzeichnisse zu sehen sein, wenn /dev/sda1 mounted ist.

      ls -l /media/meinordnername
      

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      1 Antwort Letzte Antwort
      0
      • AxelF1977A Offline
        AxelF1977A Offline
        AxelF1977
        schrieb am zuletzt editiert von AxelF1977
        #16

        Ich bin jetzt nochmal alles durchgegengen, von anfang an.

        SD Karte neu aufgesetzt, neue Partition, gemountet

        ls -l /media/SSDBroker
        

        ausgeführt, und die Abfrage war positiv.

        cmdline.txt angepasst, geprüft, gespeichert.

        Reboot

        Jetzt sagt

        ls -l /media/SSDBroker
        

        folgendes: insgesamt 0

        Wenn das Laufwerk erneut mounte, dann kommt nach

        ls -l /media/SSDBroker
        

        folgendes

        insgesamt 88
        drwxr-xr-x  2 root root  4096 Sep 27 23:10 bin
        drwxr-xr-x  2 root root  4096 Sep 27 23:12 boot
        drwxr-xr-x  2 root root  4096 Sep 27 23:18 dev
        drwxr-xr-x 81 root root  4096 Sep 27 23:12 etc
        drwxr-xr-x  4 root root  4096 Jul 23 18:30 home
        drwxr-xr-x 16 root root  4096 Jul 10 02:09 lib
        drwx------  2 root root 16384 Jul 10 02:20 lost+found
        drwxr-xr-x  3 root root  4096 Sep 27 23:19 media
        drwxr-xr-x  2 root root  4096 Jul 10 02:03 mnt
        drwxr-xr-x  4 root root  4096 Jul 23 18:30 opt
        dr-xr-xr-x  2 root root  4096 Jan  1  1970 proc
        drwx------  2 root root  4096 Jul 10 02:03 root
        drwxr-xr-x  2 root root  4096 Jul 23 18:41 run
        drwxr-xr-x  2 root root  4096 Sep 27 23:10 sbin
        drwxr-xr-x  2 root root  4096 Jul 10 02:03 srv
        dr-xr-xr-x  2 root root  4096 Jan  1  1970 sys
        drwxrwxrwt  8 root root  4096 Sep 27 23:12 tmp
        drwxr-xr-x 10 root root  4096 Jul 10 02:03 usr
        drwxr-xr-x 11 root root  4096 Jul 10 02:21 var
        
        

        Also muss ich das Laufwerk bei jedem Neustart neu mounten? Hier lag wohl den ganzen Tag schon das Problem...

        Allerdings ändert das nichts, an dem angezeigten verfügbaren Speicher in ioBroker

        ASROCK Deskmini Intel I3 8100 16GB mit Proxmox VM ioBroker VM DIYHue| CCU piVCCU + FHEM auf Raspberry | Maria DB mit Grafana und Prometheus auf Tinker Board

        paul53P 1 Antwort Letzte Antwort
        0
        • AxelF1977A AxelF1977

          Ich bin jetzt nochmal alles durchgegengen, von anfang an.

          SD Karte neu aufgesetzt, neue Partition, gemountet

          ls -l /media/SSDBroker
          

          ausgeführt, und die Abfrage war positiv.

          cmdline.txt angepasst, geprüft, gespeichert.

          Reboot

          Jetzt sagt

          ls -l /media/SSDBroker
          

          folgendes: insgesamt 0

          Wenn das Laufwerk erneut mounte, dann kommt nach

          ls -l /media/SSDBroker
          

          folgendes

          insgesamt 88
          drwxr-xr-x  2 root root  4096 Sep 27 23:10 bin
          drwxr-xr-x  2 root root  4096 Sep 27 23:12 boot
          drwxr-xr-x  2 root root  4096 Sep 27 23:18 dev
          drwxr-xr-x 81 root root  4096 Sep 27 23:12 etc
          drwxr-xr-x  4 root root  4096 Jul 23 18:30 home
          drwxr-xr-x 16 root root  4096 Jul 10 02:09 lib
          drwx------  2 root root 16384 Jul 10 02:20 lost+found
          drwxr-xr-x  3 root root  4096 Sep 27 23:19 media
          drwxr-xr-x  2 root root  4096 Jul 10 02:03 mnt
          drwxr-xr-x  4 root root  4096 Jul 23 18:30 opt
          dr-xr-xr-x  2 root root  4096 Jan  1  1970 proc
          drwx------  2 root root  4096 Jul 10 02:03 root
          drwxr-xr-x  2 root root  4096 Jul 23 18:41 run
          drwxr-xr-x  2 root root  4096 Sep 27 23:10 sbin
          drwxr-xr-x  2 root root  4096 Jul 10 02:03 srv
          dr-xr-xr-x  2 root root  4096 Jan  1  1970 sys
          drwxrwxrwt  8 root root  4096 Sep 27 23:12 tmp
          drwxr-xr-x 10 root root  4096 Jul 10 02:03 usr
          drwxr-xr-x 11 root root  4096 Jul 10 02:21 var
          
          

          Also muss ich das Laufwerk bei jedem Neustart neu mounten? Hier lag wohl den ganzen Tag schon das Problem...

          Allerdings ändert das nichts, an dem angezeigten verfügbaren Speicher in ioBroker

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von
          #17

          @AxelF1977 sagte:

          Also muss ich das Laufwerk bei jedem Neustart neu mounten?

          Nein, das ist nur die Kontrolle, ob das Kopieren des root-Verzeichnisses auf die SSD erfolgreich war.

          @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD:

          Allerdings ändert das nichts, an dem angezeigten verfügbaren Speicher in ioBroker

          Dann wird immer noch von SD Card gebootet. Was sagt ?

          cat /boot/cmdline.txt
          

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          AxelF1977A 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @AxelF1977 sagte:

            Also muss ich das Laufwerk bei jedem Neustart neu mounten?

            Nein, das ist nur die Kontrolle, ob das Kopieren des root-Verzeichnisses auf die SSD erfolgreich war.

            @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD:

            Allerdings ändert das nichts, an dem angezeigten verfügbaren Speicher in ioBroker

            Dann wird immer noch von SD Card gebootet. Was sagt ?

            cat /boot/cmdline.txt
            
            AxelF1977A Offline
            AxelF1977A Offline
            AxelF1977
            schrieb am zuletzt editiert von AxelF1977
            #18

            @paul53 said in ioBroker Raspberry Pi 4 und SSD:

            @AxelF1977 sagte:

            Also muss ich das Laufwerk bei jedem Neustart neu mounten?

            Nein, das ist nur die Kontrolle, ob das Kopieren des root-Verzeichnisses auf die SSD erfolgreich war.

            @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD:

            Allerdings ändert das nichts, an dem angezeigten verfügbaren Speicher in ioBroker

            Dann wird immer noch von SD Card gebootet. Was sagt ?

            cat /boot/cmdline.txt
            

            Das gleiche wie vorher, es bleibt bei der PARTUUID von der SD Karte.

            ASROCK Deskmini Intel I3 8100 16GB mit Proxmox VM ioBroker VM DIYHue| CCU piVCCU + FHEM auf Raspberry | Maria DB mit Grafana und Prometheus auf Tinker Board

            paul53P 1 Antwort Letzte Antwort
            0
            • AxelF1977A AxelF1977

              @paul53 said in ioBroker Raspberry Pi 4 und SSD:

              @AxelF1977 sagte:

              Also muss ich das Laufwerk bei jedem Neustart neu mounten?

              Nein, das ist nur die Kontrolle, ob das Kopieren des root-Verzeichnisses auf die SSD erfolgreich war.

              @AxelF1977 sagte in ioBroker Raspberry Pi 4 und SSD:

              Allerdings ändert das nichts, an dem angezeigten verfügbaren Speicher in ioBroker

              Dann wird immer noch von SD Card gebootet. Was sagt ?

              cat /boot/cmdline.txt
              

              Das gleiche wie vorher, es bleibt bei der PARTUUID von der SD Karte.

              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von paul53
              #19

              @AxelF1977
              Da die Bootpartition der SD Card FAT32-formatiert ist, kann die Datei cmdline.txt auch unter Windows mit Notepad++ (kein Notepad oder Wordpad !!) geändert werden.
              Bitte auf die Statuszeile unten achten:
              Notepad++LF.JPG

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              AxelF1977A 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @AxelF1977
                Da die Bootpartition der SD Card FAT32-formatiert ist, kann die Datei cmdline.txt auch unter Windows mit Notepad++ (kein Notepad oder Wordpad !!) geändert werden.
                Bitte auf die Statuszeile unten achten:
                Notepad++LF.JPG

                AxelF1977A Offline
                AxelF1977A Offline
                AxelF1977
                schrieb am zuletzt editiert von AxelF1977
                #20

                @paul53 said in ioBroker Raspberry Pi 4 und SSD:

                @AxelF1977
                Da die Bootpartition der SD Card FAT32-formatiert ist, kann die Datei cmdline.txt auch unter Windows mit Notepad++ (kein Notepad oder Wordpad !!) geändert werden.
                Bitte auf die Statuszeile unten achten:
                Notepad++LF.JPG

                Ich hab mir die Datei mal im PSPAD Editor angesehen. Es steht genau das, was in der Konsole eingegeben wurde per SSH. Also an falschen Schreibrechten liegt es leider auch nicht .

                Ich habe es erneut nochmal nach neu aufgesetzt, alles wieder von vorne. Es bleibt bei dem Ergebnis, es scheint nicht zuu funktionieren.

                ioBroker ist erhablich schneller, aber der Speicherplatz der zur Verfügung steht, ist laut ioBroker immer nocvh der selber von der SD Karte.
                Belügt mich ioBroker? Gibt es andere Wege das zu prüfen?

                Es kann doch nicht sein, dass das System so so dagegen wehrt?

                Was mir noch aufgefallen ist, mache ich den Raspi per WINSCP und SSH auf, dann ist da zwar der angelegte und gemountete Ordner SSDBroker, aber der ist leer...

                d40f6d02-ed63-431e-bb92-9926a6d0147e-image.png

                ASROCK Deskmini Intel I3 8100 16GB mit Proxmox VM ioBroker VM DIYHue| CCU piVCCU + FHEM auf Raspberry | Maria DB mit Grafana und Prometheus auf Tinker Board

                1 Antwort Letzte Antwort
                0
                • AxelF1977A Offline
                  AxelF1977A Offline
                  AxelF1977
                  schrieb am zuletzt editiert von
                  #21

                  Ich habe es jetzt mit dieser Videoanleitung gemacht, ES GEHT.

                  https://www.youtube.com/watch?v=FM9wuFLufyA

                  Vielen Vielen Dank an @paul53 für die Ausdauer und Hilfe.

                  ASROCK Deskmini Intel I3 8100 16GB mit Proxmox VM ioBroker VM DIYHue| CCU piVCCU + FHEM auf Raspberry | Maria DB mit Grafana und Prometheus auf Tinker Board

                  1 Antwort Letzte Antwort
                  0
                  • R Offline
                    R Offline
                    RalfEngelberth
                    schrieb am zuletzt editiert von RalfEngelberth
                    #22

                    Hallo,
                    ich benötige mal eure Hilfe.

                    Ich habe ein bestehendes IoBroker mit einem auf einen Raspberry Pi 4
                    Mit diesem wollte ich auf eine neue SSD mit 400GB umziehen.

                    Als Vorlage zum Umziehen habe ich dieses Anleitung durchgeführt.

                    https://www.tomshardware.com/news/boot-raspberry-pi-from-usb,39782.html

                    1. Ich habe mir meine Device anzeigen lassen sudo fdisk -l

                    2. Dann habe ich mit sudo fdisk /dev/sda meine neue SSD (Disk /dev/sda: 440 GiB) formatiert.
                      Mit P ,d,n,p,1 und 2X Enter anschl. w

                    3. Mit sudo mkfs.ext4 /dev/sda1 habe ich meine SSD partitioniert

                    4. Mit sudo mkdir /media/newdrive habe ich das Verzeichnis newdrive unter media angelget

                    5. Anschl. habe ich mit sudo rsync -avx / /media/newdrive die Daten aus dem Root in das newdrive Verzeichnis kopiert.

                    6. Dann habe ich die cmdline.txt erweitert mit root=/dev/sda1 rootfstype=ext4 rootwait
                      Gesamt steht da jetzt console=serial0,115200 console=tty1 root=PARTUUID=5e3da3da-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles root=/dev/sda1 rootfstype=ext4 rootwait

                    7. Als letztes dann noch ein reboot

                    Das Raspberry bootet aber jetzt nicht durch.
                    Ein Kontakt über SSH ist nicht möglich

                    HomoranH paul53P 2 Antworten Letzte Antwort
                    0
                    • R RalfEngelberth

                      Hallo,
                      ich benötige mal eure Hilfe.

                      Ich habe ein bestehendes IoBroker mit einem auf einen Raspberry Pi 4
                      Mit diesem wollte ich auf eine neue SSD mit 400GB umziehen.

                      Als Vorlage zum Umziehen habe ich dieses Anleitung durchgeführt.

                      https://www.tomshardware.com/news/boot-raspberry-pi-from-usb,39782.html

                      1. Ich habe mir meine Device anzeigen lassen sudo fdisk -l

                      2. Dann habe ich mit sudo fdisk /dev/sda meine neue SSD (Disk /dev/sda: 440 GiB) formatiert.
                        Mit P ,d,n,p,1 und 2X Enter anschl. w

                      3. Mit sudo mkfs.ext4 /dev/sda1 habe ich meine SSD partitioniert

                      4. Mit sudo mkdir /media/newdrive habe ich das Verzeichnis newdrive unter media angelget

                      5. Anschl. habe ich mit sudo rsync -avx / /media/newdrive die Daten aus dem Root in das newdrive Verzeichnis kopiert.

                      6. Dann habe ich die cmdline.txt erweitert mit root=/dev/sda1 rootfstype=ext4 rootwait
                        Gesamt steht da jetzt console=serial0,115200 console=tty1 root=PARTUUID=5e3da3da-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles root=/dev/sda1 rootfstype=ext4 rootwait

                      7. Als letztes dann noch ein reboot

                      Das Raspberry bootet aber jetzt nicht durch.
                      Ein Kontakt über SSH ist nicht möglich

                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #23

                      @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                      Das Raspberry bootet aber jetzt nicht durch.

                      Beim Pi4 muss man noch von SD booten.
                      Die Funktion direkt von SSD zu booten ist noch nicht implementiert

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      R 1 Antwort Letzte Antwort
                      0
                      • HomoranH Homoran

                        @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                        Das Raspberry bootet aber jetzt nicht durch.

                        Beim Pi4 muss man noch von SD booten.
                        Die Funktion direkt von SSD zu booten ist noch nicht implementiert

                        R Offline
                        R Offline
                        RalfEngelberth
                        schrieb am zuletzt editiert von
                        #24

                        @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                        @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                        Das Raspberry bootet aber jetzt nicht durch.

                        Beim Pi4 muss man noch von SD booten.
                        Die Funktion direkt von SSD zu booten ist noch nicht implementiert

                        Die Anleitung ist doch für Boot über SD
                        Oder ist das nicht die richtige.

                        HomoranH 1 Antwort Letzte Antwort
                        0
                        • R RalfEngelberth

                          @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                          @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                          Das Raspberry bootet aber jetzt nicht durch.

                          Beim Pi4 muss man noch von SD booten.
                          Die Funktion direkt von SSD zu booten ist noch nicht implementiert

                          Die Anleitung ist doch für Boot über SD
                          Oder ist das nicht die richtige.

                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von Homoran
                          #25

                          @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                          Die Anleitung ist doch für Boot über SD

                          Aber nicht für Pi4. oder?

                          bei Pi2 und 3 klappt das

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          R HomoranH 2 Antworten Letzte Antwort
                          0
                          • HomoranH Homoran

                            @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                            Die Anleitung ist doch für Boot über SD

                            Aber nicht für Pi4. oder?

                            bei Pi2 und 3 klappt das

                            R Offline
                            R Offline
                            RalfEngelberth
                            schrieb am zuletzt editiert von
                            #26

                            @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                            @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                            Die Anleitung ist doch für Boot über SD

                            Aber nicht für Pi4. oder?

                            bei Pi2 und 3 klappt das

                            Was wäre denn der richtige Weg?

                            1 Antwort Letzte Antwort
                            0
                            • HomoranH Homoran

                              @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                              Die Anleitung ist doch für Boot über SD

                              Aber nicht für Pi4. oder?

                              bei Pi2 und 3 klappt das

                              HomoranH Nicht stören
                              HomoranH Nicht stören
                              Homoran
                              Global Moderator Administrators
                              schrieb am zuletzt editiert von
                              #27

                              @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                              Aber nicht für Pi4. oder?

                              Habe mir jetzt doch die Anleitung selber angesehen.

                              How to Run a Raspberry Pi 4 Off an SSD
                              The first thing you need to do is prepare your external drive so that all of the appropriate data is on it. To get started:

                              1. Connect your external drive to the Pi. Make sure to attach your drive to one of the blue-colored USB 3.0 ports.

                              Also doch für den Pi4.

                              Wenn du genau nach deren Anleitung vorgegangen bist kann ich dir auch nicht helfen

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              HomoranH 1 Antwort Letzte Antwort
                              0
                              • R RalfEngelberth

                                Hallo,
                                ich benötige mal eure Hilfe.

                                Ich habe ein bestehendes IoBroker mit einem auf einen Raspberry Pi 4
                                Mit diesem wollte ich auf eine neue SSD mit 400GB umziehen.

                                Als Vorlage zum Umziehen habe ich dieses Anleitung durchgeführt.

                                https://www.tomshardware.com/news/boot-raspberry-pi-from-usb,39782.html

                                1. Ich habe mir meine Device anzeigen lassen sudo fdisk -l

                                2. Dann habe ich mit sudo fdisk /dev/sda meine neue SSD (Disk /dev/sda: 440 GiB) formatiert.
                                  Mit P ,d,n,p,1 und 2X Enter anschl. w

                                3. Mit sudo mkfs.ext4 /dev/sda1 habe ich meine SSD partitioniert

                                4. Mit sudo mkdir /media/newdrive habe ich das Verzeichnis newdrive unter media angelget

                                5. Anschl. habe ich mit sudo rsync -avx / /media/newdrive die Daten aus dem Root in das newdrive Verzeichnis kopiert.

                                6. Dann habe ich die cmdline.txt erweitert mit root=/dev/sda1 rootfstype=ext4 rootwait
                                  Gesamt steht da jetzt console=serial0,115200 console=tty1 root=PARTUUID=5e3da3da-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles root=/dev/sda1 rootfstype=ext4 rootwait

                                7. Als letztes dann noch ein reboot

                                Das Raspberry bootet aber jetzt nicht durch.
                                Ein Kontakt über SSH ist nicht möglich

                                paul53P Offline
                                paul53P Offline
                                paul53
                                schrieb am zuletzt editiert von paul53
                                #28

                                @RalfEngelberth sagte:

                                Dann habe ich die cmdline.txt erweitert

                                Das ist falsch. Der Eintrag

                                root=PARTUUID=5e3da3da-02
                                

                                hätte ersetzt werden müssen durch

                                root=/dev/sda1
                                

                                oder durch die PARTUUID der SSD, was sicherer funktioniert als /dev/sda1.

                                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                R 1 Antwort Letzte Antwort
                                0
                                • paul53P paul53

                                  @RalfEngelberth sagte:

                                  Dann habe ich die cmdline.txt erweitert

                                  Das ist falsch. Der Eintrag

                                  root=PARTUUID=5e3da3da-02
                                  

                                  hätte ersetzt werden müssen durch

                                  root=/dev/sda1
                                  

                                  oder durch die PARTUUID der SSD, was sicherer funktioniert als /dev/sda1.

                                  R Offline
                                  R Offline
                                  RalfEngelberth
                                  schrieb am zuletzt editiert von RalfEngelberth
                                  #29

                                  @paul53 sagte in ioBroker Raspberry Pi 4 und SSD:

                                  @RalfEngelberth sagte:

                                  Dann habe ich die cmdline.txt erweitert

                                  Das ist falsch. Der Eintrag

                                  root=PARTUUID=5e3da3da-02
                                  

                                  hätte ersetzt werden müssen durch

                                  root=/dev/sda1
                                  

                                  oder durch die PARTUUID der SSD, was sicherer funktioniert als /dev/sda1.

                                  Dann steht als jetzt in der cmdline.txt
                                  console=serial0,115200 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles rootwait

                                  Was ist mit rootwait beibt das auch drin?

                                  paul53P 1 Antwort Letzte Antwort
                                  0
                                  • R RalfEngelberth

                                    @paul53 sagte in ioBroker Raspberry Pi 4 und SSD:

                                    @RalfEngelberth sagte:

                                    Dann habe ich die cmdline.txt erweitert

                                    Das ist falsch. Der Eintrag

                                    root=PARTUUID=5e3da3da-02
                                    

                                    hätte ersetzt werden müssen durch

                                    root=/dev/sda1
                                    

                                    oder durch die PARTUUID der SSD, was sicherer funktioniert als /dev/sda1.

                                    Dann steht als jetzt in der cmdline.txt
                                    console=serial0,115200 console=tty1 root=/dev/sda1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles rootwait

                                    Was ist mit rootwait beibt das auch drin?

                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    schrieb am zuletzt editiert von
                                    #30

                                    @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                    rootwait beibt das auch drin?

                                    Nur einmal rootwait, also am Ende löschen.

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    R 2 Antworten Letzte Antwort
                                    0
                                    • paul53P paul53

                                      @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                      rootwait beibt das auch drin?

                                      Nur einmal rootwait, also am Ende löschen.

                                      R Offline
                                      R Offline
                                      RalfEngelberth
                                      schrieb am zuletzt editiert von
                                      #31

                                      @paul53 sagte in ioBroker Raspberry Pi 4 und SSD:

                                      @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                      rootwait beibt das auch drin?

                                      Nur einmal rootwait, also am Ende löschen.

                                      Ok.
                                      Danke.
                                      Werde es heut Abend ausprobieren.
                                      Melde mich wieder

                                      1 Antwort Letzte Antwort
                                      0
                                      • paul53P paul53

                                        @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                        rootwait beibt das auch drin?

                                        Nur einmal rootwait, also am Ende löschen.

                                        R Offline
                                        R Offline
                                        RalfEngelberth
                                        schrieb am zuletzt editiert von
                                        #32

                                        @paul53 sagte in ioBroker Raspberry Pi 4 und SSD:

                                        @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                        rootwait beibt das auch drin?

                                        Nur einmal rootwait, also am Ende löschen.

                                        Hallo,
                                        hab das alles jetzt so gemacht.
                                        Er bootet nur bis zu den 3 PI

                                        Kann es sein, dass das mit dem Kopieren nicht richtig funktioniert hat?

                                        ![Bild Text](a12bad54-0275-4178-964b-53d8929ef6c8-image.png Bild Link)
                                        Hier nochmal meine Vorgehensweise

                                        1. Ich habe mir meine Device anzeigen lassen sudo fdisk -l
                                        2. Dann habe ich mit sudo fdisk /dev/sda meine neue SSD (Disk /dev/sda: 440 GiB) formatiert.
                                          Mit P ,d,n,p,1 und 2X Enter, Yes yanschl. w
                                        3. Mit sudo mkfs.ext4 /dev/sda1 habe ich meine SSD partitioniert
                                        4. Mit sudo mkdir /media/newdrive habe ich das Verzeichnis newdrive unter media angelget
                                        5. Anschl. habe ich mit sudo rsync -avx / /media/newdrive die Daten aus dem Root in das newdrive Verzeichnis kopiert.
                                        6. Dann habe ich die cmdline.txt geändert root=PARTUUID=5e3da3da-02 (PARTUUID der SD) geändert auf root=PARTUUID= f4a03c58-01 (PARTUUID der SSD)
                                          Oder auf root=/dev/sda1
                                          Die PARTUUID der SSD habe ich mir mit sudo blkid anzeigen lassen
                                          Cmdline.txt ändern mit sudo nano /boot/cmdlinetxt
                                          Gesamt steht jetzt
                                          console=serial0,115200 console=tty1 root=PARTUUID= f4a03c58-01 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

                                        Als letztes dann noch ein reboot

                                        Hier noch meine Abfrage mit blkid

                                        pi@raspberrypi4IoBroker:~ $ sudo blkid
                                        /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="9F2D-0578" TYPE="vfat" PARTUUID="5e3da3da-01"
                                        /dev/mmcblk0p2: LABEL="rootfs" UUID="efc2ea8b-042f-47f5-953e-577d8860de55" TYPE="ext4" PARTUUID="5e3da3da-02"
                                        /dev/sda1: UUID="ab6cec76-cff2-4002-962d-a29258e48652" TYPE="ext4" PARTUUID="f4a03c58-01"
                                        /dev/mmcblk0: PTUUID="5e3da3da" PTTYPE="dos"
                                        ```pi@raspberrypi4IoBroker:~ $ sudo blkid
                                        /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="9F2D-0578" TYPE="vfat" PARTUUID="5e3da3da-01"
                                        /dev/mmcblk0p2: LABEL="rootfs" UUID="efc2ea8b-042f-47f5-953e-577d8860de55" TYPE="ext4" PARTUUID="5e3da3da-02"
                                        /dev/sda1: UUID="ab6cec76-cff2-4002-962d-a29258e48652" TYPE="ext4" PARTUUID="f4a03c58-01"
                                        /dev/mmcblk0: PTUUID="5e3da3da" PTTYPE="dos"
                                        paul53P 1 Antwort Letzte Antwort
                                        0
                                        • R RalfEngelberth

                                          @paul53 sagte in ioBroker Raspberry Pi 4 und SSD:

                                          @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                          rootwait beibt das auch drin?

                                          Nur einmal rootwait, also am Ende löschen.

                                          Hallo,
                                          hab das alles jetzt so gemacht.
                                          Er bootet nur bis zu den 3 PI

                                          Kann es sein, dass das mit dem Kopieren nicht richtig funktioniert hat?

                                          ![Bild Text](a12bad54-0275-4178-964b-53d8929ef6c8-image.png Bild Link)
                                          Hier nochmal meine Vorgehensweise

                                          1. Ich habe mir meine Device anzeigen lassen sudo fdisk -l
                                          2. Dann habe ich mit sudo fdisk /dev/sda meine neue SSD (Disk /dev/sda: 440 GiB) formatiert.
                                            Mit P ,d,n,p,1 und 2X Enter, Yes yanschl. w
                                          3. Mit sudo mkfs.ext4 /dev/sda1 habe ich meine SSD partitioniert
                                          4. Mit sudo mkdir /media/newdrive habe ich das Verzeichnis newdrive unter media angelget
                                          5. Anschl. habe ich mit sudo rsync -avx / /media/newdrive die Daten aus dem Root in das newdrive Verzeichnis kopiert.
                                          6. Dann habe ich die cmdline.txt geändert root=PARTUUID=5e3da3da-02 (PARTUUID der SD) geändert auf root=PARTUUID= f4a03c58-01 (PARTUUID der SSD)
                                            Oder auf root=/dev/sda1
                                            Die PARTUUID der SSD habe ich mir mit sudo blkid anzeigen lassen
                                            Cmdline.txt ändern mit sudo nano /boot/cmdlinetxt
                                            Gesamt steht jetzt
                                            console=serial0,115200 console=tty1 root=PARTUUID= f4a03c58-01 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

                                          Als letztes dann noch ein reboot

                                          Hier noch meine Abfrage mit blkid

                                          pi@raspberrypi4IoBroker:~ $ sudo blkid
                                          /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="9F2D-0578" TYPE="vfat" PARTUUID="5e3da3da-01"
                                          /dev/mmcblk0p2: LABEL="rootfs" UUID="efc2ea8b-042f-47f5-953e-577d8860de55" TYPE="ext4" PARTUUID="5e3da3da-02"
                                          /dev/sda1: UUID="ab6cec76-cff2-4002-962d-a29258e48652" TYPE="ext4" PARTUUID="f4a03c58-01"
                                          /dev/mmcblk0: PTUUID="5e3da3da" PTTYPE="dos"
                                          ```pi@raspberrypi4IoBroker:~ $ sudo blkid
                                          /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="9F2D-0578" TYPE="vfat" PARTUUID="5e3da3da-01"
                                          /dev/mmcblk0p2: LABEL="rootfs" UUID="efc2ea8b-042f-47f5-953e-577d8860de55" TYPE="ext4" PARTUUID="5e3da3da-02"
                                          /dev/sda1: UUID="ab6cec76-cff2-4002-962d-a29258e48652" TYPE="ext4" PARTUUID="f4a03c58-01"
                                          /dev/mmcblk0: PTUUID="5e3da3da" PTTYPE="dos"
                                          paul53P Offline
                                          paul53P Offline
                                          paul53
                                          schrieb am zuletzt editiert von
                                          #33

                                          @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                                          root=PARTUUID= f4a03c58-01

                                          Da ist ein Leerzeichen zuviel.

                                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                          R 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          765

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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