Hallo zusammen,
ich möchte meinen Raspberry Pi 3B+ dazu bringen das Raspberry Pi OS Lite via USB zu booten und verzweifel daran.
Ich habe die Anleitung befolgt: https://www.raspberrypi.org/documentation/…ootmodes/msd.md - ohne Erfolg.
Der USB SATA Adapter wird mir angezeigt:
root@raspberrypi:/home/pi# lsusb
Bus 001 Device 005: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
In der config.txt, sowohl auf der MicroSD als auch auf der SSD habe ich am Ende folgendes eingetragen:
Auch ein Firmware Upgrade sowie Update des Systems ist durchgelaufen
Der Parameter stimmt auch:
In der /etc/fstab auf der SSD habe ich PARTUUID für die beiden Partition der SSD eingetragen:
root@raspberrypi:/home/pi# blkid
/dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="7581-8A48" TYPE="vfat" PARTUUID="61bda340-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="fa37d505-e741-4d35-bcec-4580aef395e1" TYPE="ext4" PARTUUID="61bda340-02"
/dev/mmcblk0: PTUUID="61bda340" PTTYPE="dos"
/dev/sda1: LABEL_FATBOOT="boot" LABEL="boot" UUID="7581-8A48" TYPE="vfat" PARTUUID="e562434e-01"
/dev/sda2: LABEL="rootfs" UUID="fa37d505-e741-4d35-bcec-4580aef395e1" TYPE="ext4" PARTUUID="e562434e-02"
root@raspberrypi:/home/pi# mount
.
.
.
/dev/sda1 on /home/pi/boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda2 on /home/pi/root type ext4 (rw,relatime)
root@raspberrypi:/home/pi# cat /home/pi/root/etc/fstab
proc /proc proc defaults 0 0
PARTUUID=e562434e-01 /boot vfat defaults 0 2
PARTUUID=e562434e-02 / ext4 defaults,noatime 0 1
In der cmdline.txt auf der SSD in der Boot-Partition habe ich noch folgndes eingefügt: (usb-storage.quirks=152d:0578)
root@raspberrypi:/home/pi# cat boot/cmdline.txt
usb-storage.quirks=152d:0578 console=serial0,115200 console=tty1 root=PARTUUID=e562434e-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Was ich jetzt noch machen kann weiß ich nicht. Wisst Ihr noch was?
Leider habe ich kein Monitor an dem ich den Raspberry anschließen könnte - er ist nur via Netzwerkkabel an der FritzBox dran.
Die "SSH-Datei" wurde ebenso in der Boot-Partition erstellt.
Der Raspberry ist mittels originalem Raspberry Pi Netztel angeschlossen und die SSD mittels USB SATA 2,5 Case. Könnte es daran liegen, dass es ein USB3 Kabel ist? Aber ich kann auf die Daten ja zugreifen, wenn ich mittels MicroSD boote und die Partitionen "mounte"
Lieben Dank & Gruß,
Matheus