News for hackers. Stuff that matters.
Re:Raspberry Pi 4 can finally boot directly from USB by mmastrac on Friday September 18, 2020 @04:10PM (#24521368)
What are you using for a filesystem? NFS?

My worry would be saturating the older 100Mbit connections when downloading things like docker images.

Re:Raspberry Pi 4 can finally boot directly from USB by LeoPanthera on Friday September 18, 2020 @04:24PM (#24521510)
Yes, TFTP for the boot rom, and then NFS for the root fs.

I don't use docker or any other kind of container system because it's so easy to just reboot a Pi into a new OS on demand. Everything runs natively.

Re:Raspberry Pi 4 can finally boot directly from USB by Gibbon1 on Friday September 18, 2020 @10:35PM (#24524406)
That's what we did when developing our original Embedded Linux stuff. Once you get it working it's really nice. You have your standard tools, version control, etc running locally on your system.
Re:Raspberry Pi 4 can finally boot directly from USB by takeda on Friday September 18, 2020 @04:18PM (#24521457)
That's more a problem of docker than NFS though. You probably would be better if you just use it traditionally or use something like NixOS.

There was a project that I read about a while ago: https://matthewbauer.us/blog/nixiosk.html

Re:Raspberry Pi 4 can finally boot directly from USB by Dylan16807 on Saturday September 19, 2020 @06:24AM (#24526423)
> My worry would be saturating the older 100Mbit connections when downloading things like docker images.

Is that too slow? I feel like 30 seconds to fill up half the ram is a perfectly acceptable boot time.

Re:Raspberry Pi 4 can finally boot directly from USB by mkj on Friday September 18, 2020 @09:45PM (#24524102)
100mbit is similar to a slow sd card or usb stick anyway?
Re:Raspberry Pi 4 can finally boot directly from USB by threentaway on Friday September 18, 2020 @04:21PM (#24521488)
The Pi4 can do 300-350mbps, which is faster than most people's internet connection.
Re:Raspberry Pi 4 can finally boot directly from USB by bscphil on Friday September 18, 2020 @09:13PM (#24523848)
Actually, just tested on my local network, got ~940 Mbps sending and receiving. Pi4 has real Gbit now, not limited by the USB bandwidth any more.
Re:Raspberry Pi 4 can finally boot directly from USB by ehonda on Saturday September 19, 2020 @10:28AM (#24527654)
I can download large files from my pi at 900mb/s and upload around 800mb/s. The hard drives attached to the pie are formatted ext3. If you use an NTFS drive though, you will get speeds around what you are describing.
Re:Raspberry Pi 4 can finally boot directly from USB by vetinari on Friday September 18, 2020 @04:52PM (#24521771)
Netbooting and mounting NFS root would be done over local lan, the speed of internet connection has no relevance there.
Re:Raspberry Pi 4 can finally boot directly from USB by threentaway on Friday September 18, 2020 @04:58PM (#24521821)
Right, I was referring to my parent comment that talked about pulling Docker images which come from the internet unless you set up a proxy.
Re:Raspberry Pi 4 can finally boot directly from USB by vetinari on Friday September 18, 2020 @05:09PM (#24521897)
Ok, that depends on the docker images; things like pihole are relatively small (300 MB, including all layers); I would be more afraid of running containers over NFS slowed down by rpi ethernet, than downloading the images themselves.
Re:Raspberry Pi 4 can finally boot directly from USB by threentaway on Friday September 18, 2020 @05:19PM (#24521973)
Agreed. I'd have it set up so that there is some local storage via a USB3 thumb drive to hold the container images, which anecdotally pretty easily hits 80MB/s for reads, often hovering in the 100-110MB/s range.
Re:Raspberry Pi 4 can finally boot directly from USB by zbrozek on Friday September 18, 2020 @04:53PM (#24521781)
True, but if you're netbooting you're probably not going to the internet.