The 3B+ (and 3A+, IIRC) have the USB boot bit factory set, so no special arrangements are needed.
Code: Select all
sudo apt update
sude apt full-upgradeCode: Select all
ls -l /dev/disk/by-partuuidCode: Select all
HawaiianPi@Pi3SSD:~ $ ls -l /dev/disk/by-partuuid
total 0
lrwxrwxrwx 1 root root 10 Jan 5 11:27 13f2d64f-01 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 5 11:27 13f2d64f-02 -> ../../sda2
lrwxrwxrwx 1 root root 15 Dec 24 11:17 8debe07a-01 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Dec 24 11:17 8debe07a-02 -> ../../mmcblk0p2
HawaiianPi@Pi3SSD:~ $
Code: Select all
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=a1b2c3d4-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwaitCode: Select all
proc /proc proc defaults 0 0
PARTUUID=a1b2c3d4-01 /boot vfat defaults 0 2
PARTUUID=a1b2c3d4-02 / ext4 defaults,noatime 0 1
Code: Select all
proc /proc proc defaults 0 0
PARTUUID=00061ae7-06 /boot vfat defaults 0 2
PARTUUID=00061ae7-07 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for thatCode: Select all
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=00061ae7-07 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles quietCode: Select all
Raspberry Pi 3 Model B Plus Rev 1.3Code: Select all
Disk /dev/sdb: 119,2 GiB, 128034593280 bytes, 250067565 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00061ae7
Device Boot Start End Sectors Size Id Type
/dev/sdb1 8192 3781250 3773059 1,8G c W95 FAT32 (LBA)
/dev/sdb2 3781251 250067564 246286314 117,4G 5 Extended
/dev/sdb5 3784704 3850237 65534 32M 83 Linux
/dev/sdb6 3850240 3991551 141312 69M e W95 FAT16 (LBA)
/dev/sdb7 3997696 250067564 246069869 117,3G 83 LinuxCode: Select all
total 0
lrwxrwxrwx 1 root root 10 ene 5 22:57 00061ae7-01 -> ../../sdb1
lrwxrwxrwx 1 root root 10 ene 5 22:57 00061ae7-02 -> ../../sdb2
lrwxrwxrwx 1 root root 10 ene 5 22:57 00061ae7-05 -> ../../sdb5
lrwxrwxrwx 1 root root 10 ene 5 22:57 00061ae7-06 -> ../../sdb6
lrwxrwxrwx 1 root root 10 ene 5 22:57 00061ae7-07 -> ../../sdb7
lrwxrwxrwx 1 root root 10 ene 5 22:57 09b3f4fe-3509-4cc3-8f7f-cef058ae6a33 -> ../../sda1Code: Select all
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"Code: Select all
Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/LinuxNo, just bootcode.bin is usually enough. When it runs it will check for USB devices, and if one is found with the correct files it will continue the boot from that device. This works on any Pi.vinaypundith wrote: ↑Mon Jan 07, 2019 5:45 amAFAIK, you need to have the whole boot partition on the 64MB SD card, not just bootcode.bin. There are many more files needed to boot than just bootcode.bin, like config.txt, cmdline.txt, kernel.img, etc.
Your information is outdated. Using a bootcode.bin only SD card is now the officially documented procedure for USB booting Pi computers that do not support USB boot, or ones that are having trouble booting from USB. The big advantage is that the root filesystem automatic resize works with a bootcode.bin only SD card (it does not work with /boot on SD and the root filesystem on USB).vinaypundith wrote: ↑Mon Jan 07, 2019 5:45 amAFAIK, you need to have the whole boot partition on the 64MB SD card, not just bootcode.bin.
Thanks for the info and sorry for my mistake.HawaiianPi wrote: ↑Mon Jan 07, 2019 10:10 amYour information is outdated. Using a bootcode.bin only SD card is now the officially documented procedure for USB booting Pi computers that do not support USB boot, or ones that are having trouble booting from USB. The big advantage is that the root filesystem automatic resize works with a bootcode.bin only SD card (it does not work with /boot on SD and the root filesystem on USB).vinaypundith wrote: ↑Mon Jan 07, 2019 5:45 amAFAIK, you need to have the whole boot partition on the 64MB SD card, not just bootcode.bin.
Yes, and of that works, there is a way to make it a permanent change, but that is a few steps down the troubleshooting list.vinaypundith wrote: ↑Mon Jan 07, 2019 10:32 amOn the page linked in the above post, there is a line saying "If you have a problem with a mass storage device still not working even with this bootcode.bin, then please add a new file 'timeout' to the SD card....
I connected them to the same PSU that powers the Raspberry, but upstream of the Raspberry itself. What are you plugging the 2nd USB plug of your cable into? Another of the Raspberry's USB ports or directly to a power supply? Try checking the voltage at the both the USB ports that the drive is connected to (from the solder points on the bottom of the Raspberry). I think your cable should work though.Yotaphoner wrote: ↑Tue Jan 08, 2019 12:27 amVinaypundith, the cable you mention, the 2 power cables you get from the USB cable which goes to the PSU, they are joined with the power cables of the PSU of the Raspberry of do you have another PSU for that?
My bad ... read that wrong. Thanks for clarifying.Yotaphoner wrote: ↑Tue Jan 08, 2019 12:27 amFirst of all, have to make clear the microSD is 64MB, not 64GB. Is one of that old techy things you keep for melancholic purposes. I never thought I would do something usefull with it. And is formatted to FAT32.
PSU is unknown. Should be adequate, but I have found that switches on the low voltage side can cause voltage loss (it would need to be load tested to be sure).The SSD have been installed with the lattest version of Raspbian since you told it to me. And now this is what I have on the SSD.
The SSD: Crucial M4 (like 7 years old, but almost unused)
The cable: https://www.amazon.es/gp/product/B0718Y ... UTF8&psc=1
The PSU: Aukru 3A
It looks like your USB-SATA adapter has 2 USB-A plugs. One is for power and data, the other is for additional power. Connecting both to the Pi won't make a difference, as Pi3 computers have no per-port limits. You could try connecting the power-only plug to another power supply to give the SSD more juice, but that may introduces a small risk of damage from back-powering.Vinaypundith, the cable you mention, the 2 power cables you get from the USB cable which goes to the PSU, they are joined with the power cables of the PSU of the Raspberry of do you have another PSU for that?
Not true. All of the SATA adapters and enclosures I use with my Pi computers are USB 3.0, and all work fine when powered by the Pi3 USB port (with the official Raspberry Pi Universal Power Supply). I've even booted hard drives on some of those. The USB 3.0 power specification allows for more powerful devices, but an SSD won't necessarily draw more power just because it's on a USB 3.0 adapter.... if you buy a 3.0 you MUST give extra power to the SSD.
As I said above, the Pi3B/3B+ computers have no per-port power limits, so all 1.2A of the available USB power can come out of a single port, if needed. Which means connecting the 2nd cable to the Pi's USB ports doesn't increase power to the device, and won't help if it is a power issue.Anyways, the only SSD to USB cable available to arrive soon was one with double USB, and as I am connecting booth I suppose I don't have to have power problems.
Nope, the blinking pattern on a USB booted system is caused by the system polling the empty SD card slot, waiting for a card. You can stop that by either leaving a formatted but empty card in the slot (which also speeds up the boot process because it bypasses the 5 second wait for a card), or you can add the following to your /boot/config.txt file.Yotaphoner wrote: ↑Thu Jan 10, 2019 6:34 pm...
In both Raspbians, when no SD where plug a 3 green led blink code appeared during all the time, and according to this https://elinux.org/R-Pi_Troubleshooting ... ic_pattern , its means "start.elf not found". I have no idea what this means, but don´t care because without the SD it boots perfectly (respecting the tempo and the sequence)...
Code: Select all
dtoverlay=sdtweak,poll_once
Currently I use VNC without SSH, which (I think) makes it much more easy to configure it. I will see.HawaiianPi wrote: ↑Thu Jan 10, 2019 9:53 pmI understand you have vision problems, but configuring VNC is not difficult. Probably easier than trying to get your current NOOBS system working. You just need to add a file named ssh (or ssh.txt) to the card or SSD after writing the image to enable SSH logins, then you can SSH in and turn on VNC from the raspi-config utility. You should be able to do that from the Android eINK display (there are SSH apps for Android).