Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker Raspberry Pi 4 und SSD

    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

    ioBroker Raspberry Pi 4 und SSD

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RalfEngelberth @paul53 last edited by 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?

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @RalfEngelberth last edited by

        @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

        rootwait beibt das auch drin?

        Nur einmal rootwait, also am Ende löschen.

        R 2 Replies Last reply Reply Quote 0
        • R
          RalfEngelberth @paul53 last edited by

          @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 Reply Last reply Reply Quote 0
          • R
            RalfEngelberth @paul53 last edited by

            @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"
            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @RalfEngelberth last edited by

              @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

              root=PARTUUID= f4a03c58-01

              Da ist ein Leerzeichen zuviel.

              R 1 Reply Last reply Reply Quote 0
              • R
                RalfEngelberth @paul53 last edited by

                @paul53 sagte in ioBroker Raspberry Pi 4 und SSD:

                @RalfEngelberth sagte in ioBroker Raspberry Pi 4 und SSD:

                root=PARTUUID= f4a03c58-01

                Da ist ein Leerzeichen zuviel.

                Habe ich geändert.
                Jetzt bootet er
                Der Boot dauert ab ca. 20min
                Er macht erst eine Diskcheck

                .IMG_0033.jpg

                Wenn ich in der grafischen Oberfläche bin, den Dateimanager aufrufe und z.B. in das Verzeichnis von IoBroker gehe, sehe ich die LED an der SSD blinken.
                Aber es dauert alles sehr lange.

                Über SSH bekomme ich noch keine Verbindung und IoBroker startet auch noch nicht

                1 Reply Last reply Reply Quote 0
                • opossum
                  opossum last edited by

                  Hallo,
                  wenn das alles sehr lange dauert, kann es sein, dass der USB-Adapter nicht korrekt arbeitet. Wenn Du ihn in den USB 3.0 connected hast, fahre mal runter und stöpsel um auf USB 2.0. Vielleicht ist er dann schneller.

                  Wenn Du den PI sauber einrichten möchtest, kann ich Dir nur folgenden Link empfehlen: https://www.raspifun.de/viewtopic.php?t=4
                  Ist etwas länger, aber der Autor erklärt von Anfang bis Ende, wie man Raspian installiert.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    RalfEngelberth @opossum last edited by RalfEngelberth

                    @opossum sagte in ioBroker Raspberry Pi 4 und SSD:

                    Hallo,
                    wenn das alles sehr lange dauert, kann es sein, dass der USB-Adapter nicht korrekt arbeitet. Wenn Du ihn in den USB 3.0 connected hast, fahre mal runter und stöpsel um auf USB 2.0. Vielleicht ist er dann schneller.

                    Wenn Du den PI sauber einrichten möchtest, kann ich Dir nur folgenden Link empfehlen: https://www.raspifun.de/viewtopic.php?t=4
                    Ist etwas länger, aber der Autor erklärt von Anfang bis Ende, wie man Raspian installiert.

                    Der Tipp mit dem USB Port war gut.
                    Er bootet jetzt und ist auch sehr schnell.

                    Was könnte ich denn jetzt noch machen, damit der USB 3.0 (Blau) auch funktioniert?
                    Die SSD kann ja USB 3.1

                    1 Reply Last reply Reply Quote 0
                    • opossum
                      opossum last edited by

                      Hallo,

                      es funktionieren anscheinend nicht alle Adapter mit USB 3.0. Schau mal hier rein, da findest Du Informationen zu Adaptern.

                      https://jamesachambers.com/raspberry-pi-4-usb-boot-config-guide-for-ssd-flash-drives/

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RalfEngelberth @opossum last edited by

                        @opossum sagte in ioBroker Raspberry Pi 4 und SSD:

                        Hallo,

                        es funktionieren anscheinend nicht alle Adapter mit USB 3.0. Schau mal hier rein, da findest Du Informationen zu Adaptern.

                        https://jamesachambers.com/raspberry-pi-4-usb-boot-config-guide-for-ssd-flash-drives/

                        Hallo,
                        das muss ich mir aber erst mal in Ruhe ansehen.
                        Denke, dass ich heute Abend dazu kommen.
                        Melde mich dann wieder.
                        Aber nochmal Danke für den Tipp mit dem USB.

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Homoran last edited by

                          @opossum

                          Die Anleitung war aber IMHO für den 3.0 port

                          @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                          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.
                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RalfEngelberth @Homoran last edited by

                            @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                            @opossum

                            Die Anleitung war aber IMHO für den 3.0 port

                            @Homoran sagte in ioBroker Raspberry Pi 4 und SSD:

                            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.

                            Das habe ich doch gehabt
                            Über die blaue Buchse habe ich die Änderungen vorgenommen.
                            Die graue Buchs habe ich verwendet, nachdem alles drauf war.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Slaine74 last edited by

                              Hallo!
                              Ich bin neu hier und auch was den Raspi angeht noch Anfänger. Ich habe eine Raspi 4 und wollte ihn mit SSD nutzen, allerdings sind bei mir die PARTUUID der SSD und der SD-Card identisch. Hat jemand einen Tip für mich, wie ich das ändern kann? Neu Partitionieren und Formatieren hat leider keine Abhilfe geschaffen.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              493
                              Online

                              31.8k
                              Users

                              80.0k
                              Topics

                              1.3m
                              Posts

                              raspberry pi 4 ssd usb
                              6
                              41
                              5929
                              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