Page 22 of 22

Re: STICKY: USB boot now working on Pi3

Posted: Tue Feb 26, 2019 11:16 pm
by radnor302
davidcoton wrote:
Tue Feb 26, 2019 11:15 pm
radnor302 wrote:
Tue Feb 26, 2019 10:59 pm
Now it sends me a "B" in morse code (3 short flashes followed by a long from the green led next to the power led)
Isn't that "V", as in Beethoven's 5th symphony? IIRC "B" is dah-di-di-dit. :ugeek:
Yes, Sir! Shows how active I've been.... TNX OM

Re: STICKY: USB boot now working on Pi3

Posted: Wed Feb 27, 2019 12:09 am
by HawaiianPi
radnor302 wrote:
Tue Feb 26, 2019 10:59 pm
Thank you the reply.

Still no joy..... Did every step.

Once I did the FAT32 with bootcode.bin I had the rainbow screen.
Then I added the file timeout (empty file) to the FAT32 partition.

Now it sends me a "B" in morse code (3 short flashes followed by a long from the green led next to the power led)
As I recall, 4 flashes means the kernel is not loading.

What kind of USB drive are you using?

What are you using for a Pi power supply?

Re: STICKY: USB boot now working on Pi3

Posted: Wed Feb 27, 2019 12:11 am
by radnor302
PNY 32G
PS that came with Pi

I deleted timeout and retried. - black screen
reforated FAT32 and copied bootcode.bin, usb - black screen
So, I dont know if it wrote anything to usb.


Putting it down for the evening.

Thanks again

Re: STICKY: USB boot now working on Pi3

Posted: Wed Feb 27, 2019 12:47 am
by HawaiianPi
radnor302 wrote:
Wed Feb 27, 2019 12:11 am
PS that came with Pi
That is not helpful. Exactly what power supply is it?
  • Brand?
  • Model?
  • Rated power specs?
  • Does it have a built-in power cable or require a separate micro USB cable?
  • Is there a power switch on the cable?

There are a lot of cheap phone chargers being marketed as Raspberry Pi Power Supplies (phone chargers are not a power supplies).

Model of the PNY 32GB might be helpful as well. PNY makes a ton of different USB flash drives, and some of them are ludicrously slow (like the Attaché series).

Re: STICKY: USB boot now working on Pi3

Posted: Wed Feb 27, 2019 1:57 am
by radnor302
PS vilros adapter 2.5a. No power switch or detachable cable.

Pny is turbo 3.0. Might be attache.

Also tried pny 128g microsd card elite-x in USB adapter

Re: STICKY: USB boot now working on Pi3

Posted: Sun Mar 10, 2019 2:00 am
by HawaiianPi
kingbily wrote:
Mon Mar 04, 2019 5:23 pm
Boot your Raspberry Pi from the USB mass storage device.
After five to ten seconds, the Raspberry Pi should begin booting and show the rainbow splash screen on an attached display.
Note that if the USB boot bit is set, you do not need to insert an SD card into the Raspberry Pi for USB boot to work.
It would be nice if it was really that simple, but for a lot of people it's not. The Raspberry Pi boot-loader is not compatible with all USB mass storage devices, resulting in problems for some people. Symptoms are either not booting at all, or cold boot works but reboot does not. And people who want to boot from a hard drive can have additional problems due to their power consumption and long spin-up times.

There used to be a USB 3.0 to SATA III adapter cable from a company called ELUTENG that was the Holy Grail of USB booting for the Pi. I tested it on more than a dozen SSD and HDD models from 6 different manufacturers and it worked on every drive I tried (powered only by the Pi's USB port). But alas, that adapter has been replaced by a new model that does not work as well. However, there appears to be an identical product available from TNP on Amazon USA, but not Amazon UK. I tested the TNP with SSD models from Silicon Power and Crucial, and HDD models from Toshiba and Western Digital, and it worked with all of them.

Oh, and the USB boot OTP bit is already set from the factory on the newer 3B+ and 3A+ models.

Re: STICKY: USB boot now working on Pi3

Posted: Thu Mar 14, 2019 1:14 pm
by radnor302
Yeah, I'm 1 that cannot get it to boot from usb for anything...

I just recently added an external case and put in it a SSD. No joy :(

So, I'm giving up on USB boot for my Pi.

Re: STICKY: USB boot now working on Pi3

Posted: Wed Mar 20, 2019 5:44 am
by regroers
Does it work on pi 2?

Re: STICKY: USB boot now working on Pi3

Posted: Wed Mar 20, 2019 10:58 am
by HawaiianPi
regroers wrote:
Wed Mar 20, 2019 5:44 am
Does it work on pi 2?
The later version Pi2B v1.2 has the same SoC as the Pi 3B, so I believe it supports no-SD card USB boot. The earlier version 1.1 would need a FAT32 SD card with the bootcode.bin file on it (you can USB boot any consumer Pi model that way, even the Pi Zero).

Re: STICKY: USB boot now working on Pi3

Posted: Fri Mar 22, 2019 6:31 pm
by Yeahthisisausername
$30-ish, 120 GB Kingston A400 SSD works flawlessly on my 3B+. Boots and reboots just fine. Now you know.

Re: STICKY: USB boot now working on Pi3

Posted: Fri Mar 22, 2019 6:41 pm
by HawaiianPi
Yeahthisisausername wrote:
Fri Mar 22, 2019 6:31 pm
$30-ish, 120 GB Kingston A400 SSD works flawlessly on my 3B+. Boots and reboots just fine. Now you know.
And what USB-SATA adapter are you using?

Because SSD boot problems are almost always the fault of the USB-SATA adapter (now you know).

Re: STICKY: USB boot now working on Pi3

Posted: Sun Apr 07, 2019 9:17 pm
by WarLion
Hi guys i got 3 raspberry pi 3b+ a year ago i decide to change my sd-card to a usb drive on my old rpi 3 , everything works fine , but today i decide to make a copy of my pi to another one but with sd-card

after reading and writing with win32Diskimage i place the sd-card on another pi , but i get error

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,2)

is there a way to clone the usb drive back to sdcard?

i try changing the cmdline.txt but now the pi stuck on unnamed net_device

thanks guys

Re: STICKY: USB boot now working on Pi3

Posted: Mon Apr 08, 2019 5:30 pm
by HawaiianPi
WarLion wrote:
Sun Apr 07, 2019 9:17 pm
is there a way to clone the usb drive back to sdcard?
Use the SD Card Copier utility included with desktop versions of Raspbian (with New Partition UUIDs checked)..

Re: STICKY: USB boot now working on Pi3

Posted: Thu May 30, 2019 6:12 am
by sushant_ocv
Hey mate,

Will booting from my external HDD minimize file system corruption issues which right now coming through SD Disk when power is gone?
Please provide your views.

Re: STICKY: USB boot now working on Pi3

Posted: Thu May 30, 2019 7:25 am
by HawaiianPi
sushant_ocv wrote:
Thu May 30, 2019 6:12 am
Hey mate,

Will booting from my external HDD minimize file system corruption issues which right now coming through SD Disk when power is gone?
Please provide your views.
No it will not.

Power loss without a proper software shutdown always has the risk of data loss or corruption with most commonly used operating systems (Raspbian, Windows, Mac OS, etc.). There are some threads about making the Raspbian root file system read-only, which should protect the OS, but that will not protect user data that's being written when power is lost. You could also try Tiny Core Linux, that runs entirely from RAM, which would also protect the OS from corruption, but user data is still at risk.

There is no way to completely protect a system from unscheduled power loss unless no data is ever written.

Re: STICKY: USB boot now working on Pi3

Posted: Tue Jun 25, 2019 2:44 pm
by jamesking
Hello. My first post here.

I am hoping I can get some help with USB boot. I wish to boot "Hass.os" from USB. ( https://www.home-assistant.io/hassio/installation/ and https://github.com/home-assistant/hassos)

At the moment, I understand this OS will not boot if installed to an SSD for USB mount, but will work when installed on to a MicroSD card for SD card mount.

Can anyone tell me what the requirements are for an image to be USB bootable, so I can request that the Home Assistant Project applies these changes to Hass.Os?

Related feature request on Home Assistant Forums: https://community.home-assistant.io/t/h ... -4b/123462


Thank you,

James

Re: STICKY: USB boot now working on Pi3

Posted: Fri Jul 05, 2019 10:13 pm
by HelenMcCall
Hello. Looks like I'm the first to ask this question:

Will the USB boot work on the new model 4B?

Helen

Re: STICKY: USB boot now working on Pi3

Posted: Fri Jul 05, 2019 10:22 pm
by davidcoton
HelenMcCall wrote:
Fri Jul 05, 2019 10:13 pm
Hello. Looks like I'm the first to ask this question:

Will the USB boot work on the new model 4B?

Helen
Sorry to dissappoint, but you are not. Probably not even in the first hundred, it's much asked in the Pi4 threads (actually OT for this thread). :o

Short answer: Not now, will soon, when it's ready.

Re: STICKY: USB boot now working on Pi3

Posted: Fri Jul 05, 2019 10:37 pm
by DougieLawson
HelenMcCall wrote:
Fri Jul 05, 2019 10:13 pm
Hello. Looks like I'm the first to ask this question:

Will the USB boot work on the new model 4B?

Helen
You're only about TWELVE days late asking that.
USB boot isn't in the early factory shipped firmware, it will be enabled later with a bootloader eeprom update.