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.
Re: I can´t boot from usb in pi 4
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).
Re: I can´t boot from usb in pi 4
A shame, thanks for your quick help
Re: I can´t boot from usb in pi 4
Will the "SD card with just bootcode.bin" trick that works on pre Pi3 modesl work on the Pi 4?
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
- HawaiianPi
- Posts: 7585
- Joined: Mon Apr 08, 2013 4:53 am
- Location: Aloha, Oregon USA
Re: I can´t boot from usb in pi 4
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.
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?
lots of pop-ups, and where is that annoying music coming from?
Re: I can´t boot from usb in pi 4
"Old school way" is working for meHawaiianPi wrote: ↑Tue Jun 25, 2019 8:41 pmYou 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.

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
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
Re: I can´t boot from usb in pi 4
now that is quite re-assuring!PeterO wrote: ↑Tue Jun 25, 2019 8:53 pm"Old school way" is working for meHawaiianPi wrote: ↑Tue Jun 25, 2019 8:41 pmYou 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.![]()
PeterO
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!"
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!"
Re: I can´t boot from usb in pi 4
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.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
- ShiftPlusOne
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6392
- Joined: Fri Jul 29, 2011 5:36 pm
Re: I can´t boot from usb in pi 4
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).
- HawaiianPi
- Posts: 7585
- Joined: Mon Apr 08, 2013 4:53 am
- Location: Aloha, Oregon USA
Re: I can´t boot from usb in pi 4
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?
lots of pop-ups, and where is that annoying music coming from?
Re: I can´t boot from usb in pi 4
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.HawaiianPi wrote: ↑Thu Jun 27, 2019 9:14 amNope. 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'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
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
Re: I can´t boot from usb in pi 4
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...
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...
Re: I can´t boot from usb in pi 4
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?
Does that also means, I'll still need some SD to do the boot firmware update?
Re: I can´t boot from usb in pi 4
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.kyliael wrote: ↑Fri Jun 28, 2019 6:38 amReceived 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![]()
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...![]()
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

Re: I can´t boot from usb in pi 4
Please be patient. An announcement will be made in the official Blog when it is ready.
Unreadable squiggle
Re: I can´t boot from usb in pi 4
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 Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: I can´t boot from usb in pi 4
^ 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.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.
Rockets are loud.
https://astro-pi.org
https://astro-pi.org
Re: I can´t boot from usb in pi 4
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.
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.
Re: I can´t boot from usb in pi 4
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
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
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
- DougieLawson
- Posts: 42313
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: I can´t boot from usb in pi 4
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.
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.
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
Re: I can´t boot from usb in pi 4
"A minor use case" - & yet this product is being advertised as a desktop system........

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

Re: I can´t boot from usb in pi 4
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.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
-
- Posts: 7
- Joined: Mon Jul 08, 2019 3:37 pm
Re: I can´t boot from usb in pi 4
I like that method its a bit weird but seems fine. Essentially you have to put the R Pi setup you want on an SD card and then copy over the contents to your "other drive". Because of some security issue you can't just put a fresh Raspian on the drive on the USB it ONLY works with a copy of what is on the SD card copied over as stated using the command "sudo rsync -avx / /media/newdrive" where you have mounted the other drive in the ".../newdrive" directory. The description on that website is good apart from a few fairly obvious typos such as "sudo nano /boot/cmdlinetxt" instead of "sudo nano /boot/cmdline.txt".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.
I do not see any downside to this method apart from perhaps issues once the proper method is working and one has run with the boot directory on the SD card and the rest of the system on the USB drive doing updates. I suppose then to change over care needed to copy "/boot" to the drive in the USB drive.
I intend using a fast 32GB SSD drive for the "system" and a big desktop 1TB for Data and setting up a desktop/server. (Both items purchased at low cost from Amazon and due to arrive tomorrow). For the 1TB drive I have one of those adaptors with an extra 12volt PSU.
So far I have tested using an old laptop 250GB drive and it works OK using the method from https://www.tomshardware.co.uk/boot-ras ... 61081.html
Can anyone see any snags to look out for (now or later)?
Re: I can´t boot from usb in pi 4
Nothing weird about that it's what you'd do to move the OS from one partition to another. It's also what you'd do when setting up a Pi for network booting.grayerbeard wrote: ↑Mon Jul 08, 2019 5:09 pmI like that method its a bit weird but seems fine. Essentially you have to put the R Pi setup you want on an SD card and then copy over the contents to your "other drive".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.
If you don't use sudo and rsync as indicated not everything you want will copy and nothing will have the correct ownership and permissions. So yeah, a security issue but also expected behaviour in linux. Some stuff you don't want may get copied over too.Because of some security issue you can't just put a fresh Raspian on the drive on the USB it ONLY works with a copy of what is on the SD card copied over as stated using the command "sudo rsync -avx / /media/newdrive" where you have mounted the other drive in the ".../newdrive" directory. The description on that website is good apart from a few fairly obvious typos such as "sudo nano /boot/cmdlinetxt" instead of "sudo nano /boot/cmdline.txt".
Not quite. You need to create a new FAT partition at the start of the HDD, copy the boot stuff there then update fstab to match. Creqating the new FAT partition may mean you'll have to resize and move the existing partition.I do not see any downside to this method apart from perhaps issues once the proper method is working and one has run with the boot directory on the SD card and the rest of the system on the USB drive doing updates. I suppose then to change over care needed to copy "/boot" to the drive in the USB drive.
Not a snag, but when partitioning your SSD it may be advisable to create the FAT partition for /boot now rather than have to muck about with partitions later. It can be left empty and unmounted.I intend using a fast 32GB SSD drive for the "system" and a big desktop 1TB for Data and setting up a desktop/server. (Both items purchased at low cost from Amazon and due to arrive tomorrow). For the 1TB drive I have one of those adaptors with an extra 12volt PSU.
So far I have tested using an old laptop 250GB drive and it works OK using the method from https://www.tomshardware.co.uk/boot-ras ... 61081.html
Can anyone see any snags to look out for (now or later)?
Also, you should be aware of the bandwidth limitations on the 4B's USB ports: "a total of 4Gbps of bandwidth, shared between the four ports". You'll never hit the maximum possible transfer speeds of SATA III with one drive let alone two.
Knowledge, skills, & experience have value. If you expect to profit from someone's you should expect to pay for them.
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
All advice given is based on my experience. it worked for me, it may not work for you.
Need help? https://github.com/thagrol/Guides
-
- Posts: 7
- Joined: Mon Jul 08, 2019 3:37 pm
Re: I can´t boot from usb in pi 4
Yes not quite full SSD speed but still rather faster than max possible with SD cards.Also, you should be aware of the bandwidth limitations on the 4B's USB ports: "a total of 4Gbps of bandwidth, shared between the four ports". You'll never hit the maximum possible transfer speeds of SATA III with one drive let alone two.
The potential seems so good I was rather surprised that getting "boot from usb" working has a lower priority I had wondered if the upgrade to USB3 on R Pi4 was instead of the approach adopted on other SBCs of other types of faster devices for drives. Also when I researched small SSDs I found the small 32GB ones are now quite cheap at around £20.