jomaiz
Posts: 8
Joined: Sat Sep 29, 2018 8:48 pm

I can´t boot from usb in pi 4

Tue Jun 25, 2019 8:17 pm

First of all, sorry for my English.

My pi 4 runs well booting from SD but it doesn´t from usb. I write the Raspbian Buster ISO into the HDD, then I plug it to the pi in a usb port, 2.0 or 3.0, same result, and then I turn it on, the screen shows absolutely nothing, no strings, no rainbow, nothing.

The hdd has its own power supply and I use the official power supply for the pi 4. I have tried with other hdds and the same result.

It works with my pi 3 b+, what's going on? Thanks.

plugwash
Forum Moderator
Forum Moderator
Posts: 3439
Joined: Wed Dec 28, 2011 11:45 pm

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 8:21 pm

USB boot is not currently supported on pi4. It's on the list for a future firmware update (unlike earlier models the pi4 has updatable boot firmware).

jomaiz
Posts: 8
Joined: Sat Sep 29, 2018 8:48 pm

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 8:27 pm

A shame, thanks for your quick help

User avatar
thagrol
Posts: 1777
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 8:40 pm

plugwash wrote:
Tue Jun 25, 2019 8:21 pm
USB boot is not currently supported on pi4. It's on the list for a future firmware update (unlike earlier models the pi4 has updatable boot firmware).
Will the "SD card with just bootcode.bin" trick that works on pre Pi3 modesl work on the Pi 4?
This space unintentionally left blank.

User avatar
HawaiianPi
Posts: 4531
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 8:41 pm

You could probably do it the old school way with /boot on the SD card and / (rootfs) on the USB drive.

I wonder if the bootcode.bin only method will work? (EDIT: Ninja'd by thagrol)

I'll be testing this and other stuff when my back-ordered Pi4 computers arrive.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 8:53 pm

HawaiianPi wrote:
Tue Jun 25, 2019 8:41 pm
You could probably do it the old school way with /boot on the SD card and / (rootfs) on the USB drive.

I wonder if the bootcode.bin only method will work? (EDIT: Ninja'd by thagrol)

I'll be testing this and other stuff when my back-ordered Pi4 computers arrive.
"Old school way" is working for me :-)
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

LTolledo
Posts: 1766
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 9:28 pm

PeterO wrote:
Tue Jun 25, 2019 8:53 pm
HawaiianPi wrote:
Tue Jun 25, 2019 8:41 pm
You could probably do it the old school way with /boot on the SD card and / (rootfs) on the USB drive.

I wonder if the bootcode.bin only method will work? (EDIT: Ninja'd by thagrol)

I'll be testing this and other stuff when my back-ordered Pi4 computers arrive.
"Old school way" is working for me :-)
PeterO
now that is quite re-assuring!
thanks for the info!

just to confirm, its still the "old" bootcode.bin from before (the old boodcode.bin that I used to "USB boot" my RPi1B+) or it is a "new version" bootcode.bin?
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
thagrol
Posts: 1777
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: I can´t boot from usb in pi 4

Tue Jun 25, 2019 10:11 pm

LTolledo wrote:
Tue Jun 25, 2019 9:28 pm
just to confirm, its still the "old" bootcode.bin from before (the old boodcode.bin that I used to "USB boot" my RPi1B+) or it is a "new version" bootcode.bin?
No idea my 4B hasn't arrived yet. I'd start with the one from the latest Raspbian Buster then try the one from stretch if buster doesn't work.

Edit:

Based on this: https://www.raspberrypi.org/forums/view ... 5#p1485530 it might be necessary to have your USB device connected via the USB C port. Which means you won't be able to use that for power.

And probably means network boot is out unless you can connect a LAN951X based adaptor.
This space unintentionally left blank.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5862
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: I can´t boot from usb in pi 4

Wed Jun 26, 2019 12:07 pm

Pi 4 doesn't use bootcode.bin. The equivalent of bootcode.bin lives in the eeprom. You can't use the old bootcode.bin for this because it's entirely different hardware (USB3 and PCI controllers which didn't exist before).

User avatar
HawaiianPi
Posts: 4531
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: I can´t boot from usb in pi 4

Thu Jun 27, 2019 9:14 am

LTolledo wrote:
Tue Jun 25, 2019 9:28 pm
just to confirm, its still the "old" bootcode.bin from before (the old boodcode.bin that I used to "USB boot" my RPi1B+) or it is a "new version" bootcode.bin?
Nope. Old-school way is all of /boot on the SD card and / (root file system) on the USB drive, with cmdline.txt pointing to that. You should also edit /etc/fstab to mount the SD card as /boot, so that kernel and firmware updates are properly applied.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: I can´t boot from usb in pi 4

Thu Jun 27, 2019 9:49 am

HawaiianPi wrote:
Thu Jun 27, 2019 9:14 am
Nope. Old-school way is all of /boot on the SD card and / (root file system) on the USB drive, with cmdline.txt pointing to that. You should also edit /etc/fstab to mount the SD card as /boot, so that kernel and firmware updates are properly applied.
I forgot about changing fstab for /boot. I just checked and my fstab is pointing at the sdcard for both / and /boot, but cmdline.txt is overriding the / mount.
I'm surprised the boot partition on the sdcard is so big. It seems to have gone up from ~40M to ~250M ! At some point I will have to repartition the USB HDD as I susspect it may run out of space once we have USB booting available.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

angriest
Posts: 7
Joined: Fri Nov 15, 2013 9:24 pm

Re: I can´t boot from usb in pi 4

Thu Jun 27, 2019 8:17 pm

Thanks - had horrible thoughts my brand new Pi 4 was fried and the USB ports were broken.

For reference, the instructions on the 'old old' method of booting from USB are https://www.raspberrypi.org/forums/view ... hp?t=44177, although note that doing it via sdx is not recommend - use partuuid instead. I'd got used to the convenience of being able to boot from USB without a care in the world, but at least I'll get a touch of nostalgia doing it this way again...

Pitel
Posts: 25
Joined: Fri Jun 22, 2012 1:37 pm
Location: Brno, CZE
Contact: Website Facebook Google+ Skype Twitter YouTube

Re: I can´t boot from usb in pi 4

Thu Jun 27, 2019 8:33 pm

Just got hit by that. Brouight brand new Pi 4 and USB 3.0 flash drive home, prepared, USB, but not booting. Guess I'll wait for the new firmware then.

Does that also means, I'll still need some SD to do the boot firmware update?

kyliael
Posts: 12
Joined: Fri Jun 28, 2019 6:17 am

Re: I can´t boot from usb in pi 4

Fri Jun 28, 2019 6:38 am

Received my Pi4 yesterday and tried several times to boot from USB like I do with my Pi 3B+ ... before I decided to come here. By the way I now understand that I have to stop trying :cry:

Thank you guys for opening this thread but I'm wondering why the foundation released a product with a such regression. Looks like releasing an early access app... :evil:

kyliael
Posts: 12
Joined: Fri Jun 28, 2019 6:17 am

Re: I can´t boot from usb in pi 4

Fri Jun 28, 2019 6:53 am

plugwash wrote:
Tue Jun 25, 2019 8:21 pm
USB boot is not currently supported on pi4. It's on the list for a future firmware update (unlike earlier models the pi4 has updatable boot firmware).
Hi,
is there somewhere we can see and follow this kind of "future updates" ? I'm really disappointed with this regression :cry:

Thank you

smadger
Posts: 1
Joined: Sat Jun 29, 2019 5:21 pm

Re: I can´t boot from usb in pi 4

Sat Jun 29, 2019 5:38 pm

kyliael wrote:
Fri Jun 28, 2019 6:38 am
Received my Pi4 yesterday and tried several times to boot from USB like I do with my Pi 3B+ ... before I decided to come here. By the way I now understand that I have to stop trying :cry:

Thank you guys for opening this thread but I'm wondering why the foundation released a product with a such regression. Looks like releasing an early access app... :evil:
You guys need to calm down a little. I get it's little frustrating, but the feature is planned for development, it's not been taken away completely.

Given that there are (clunky) workarounds, and the hardware has a new firmware update feature - which is in itself a new feature I'm looking forward to seeing mature and perhaps the community get involved with - and, to be quite frank, this is a RPi not Apple, you have to give them a little leeway considering what they have just released. The 4 is an absolute beast, and it's £35!!

Please don't take this comment in an insulting manner, it's honestly not intended that way, but I think you guys need to need to chill, it's too hot to get angry, and by the sounds of it you still have other RPi's to play with in the meantime :)

kyliael
Posts: 12
Joined: Fri Jun 28, 2019 6:17 am

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 8:50 am

Hi there,

I understand this has not been fixed yet, but is there a way to get an official update / progress on this topic ? Maybe on github, or somewehere else already ?

Thanks

User avatar
rpdom
Posts: 14985
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 9:25 am

Please be patient. An announcement will be made in the official Blog when it is ready.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23338
Joined: Sat Jul 30, 2011 7:41 pm

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 10:25 am

kyliael wrote:
Mon Jul 08, 2019 8:50 am
Hi there,

I understand this has not been fixed yet, but is there a way to get an official update / progress on this topic ? Maybe on github, or somewehere else already ?

Thanks
Official report. No progress, we are busy on other stuff. I know some will be disappointed, this is a minority use case, but is not far from the top of the list.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2071
Joined: Thu Jul 11, 2013 2:37 pm

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 11:05 am

HawaiianPi wrote:
Thu Jun 27, 2019 9:14 am

Nope. Old-school way is all of /boot on the SD card and / (root file system) on the USB drive, with cmdline.txt pointing to that. You should also edit /etc/fstab to mount the SD card as /boot, so that kernel and firmware updates are properly applied.
^ Use this method to run the root filesystem from a USB attached storage device on Pi 4 until a native USB boot mode is implemented.
Rockets are loud.
https://astro-pi.org

Charles_M
Posts: 6
Joined: Sat Oct 26, 2013 4:47 pm

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 11:26 am

I found this easy to follow guide on how to boot from SD then pass control to SSD / HD

https://www.tomshardware.co.uk/boot-ras ... 61081.html

It worked for me for a RasPi 4 although I was just playing around really; I'll use SD only for now.

User avatar
PeterO
Posts: 4942
Joined: Sun Jul 22, 2012 4:14 pm

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 11:52 am

One thing to note is that the boot partition on the latest raspbian images is now 250M rather that 40M in the older versions.

You might want to make sure there is space on any hard disk you use for a root file system to add a boot partition later when usb boot becomes available.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
DougieLawson
Posts: 35793
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 12:19 pm

And that's a right proper PITA.

gparted can't resize FAT32 partitions smaller than 256MB. So you have to trash it or convert to ext4 before you can tinker with the disk layout.

That's why I'm leaving my two model 3Bs that boot from WD hard drives till last for the Buster upgrades.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

k-pi
Posts: 922
Joined: Sun Feb 12, 2017 1:46 pm
Location: Upper Hale, Surrey, UK.

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 12:19 pm

jamesh wrote:
Mon Jul 08, 2019 10:25 am
Official report. No progress, we are busy on other stuff. I know some will be disappointed, this is a minority use case, but is not far from the top of the list.
"A minor use case" - & yet this product is being advertised as a desktop system........ :lol:

Just wished you lot had told us that the software hadn't been written, when you launched the board, would have saved some annoyance. 8-)

User avatar
thagrol
Posts: 1777
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: I can´t boot from usb in pi 4

Mon Jul 08, 2019 12:34 pm

k-pi wrote:
Mon Jul 08, 2019 12:19 pm
jamesh wrote:
Mon Jul 08, 2019 10:25 am
Official report. No progress, we are busy on other stuff. I know some will be disappointed, this is a minority use case, but is not far from the top of the list.
"A minor use case" - & yet this product is being advertised as a desktop system........ :lol:

Just wished you lot had told us that the software hadn't been written, when you launched the board, would have saved some annoyance. 8-)
Booting from USB is not a requirement of a desktop system. Neither is rotating rust or SSD storage. (lol or otherwise)

For my money I'd much rather see the lack of boot via GPIO 3 toggle fixed, though again that might be a minor use case so I'm not holding my breath.
This space unintentionally left blank.

Return to “Troubleshooting”