Raspberry Pi does what Microsoft can't!
Vložit
- čas přidán 7. 06. 2024
- The new beta of Network Install is here, and I'll tell you how it works, which Pis are compatible, and why it matters.
Mentioned in this video:
- How the Raspberry Pi 4 boots: www.jeffgeerling.com/blog/202...
- Network install beta test feedback thread: forums.raspberrypi.com/viewto...
- Pi netboot guide by Wendell from Level1Techs: forum.level1techs.com/t/the-u...
Support me on Patreon: / geerlingguy
Sponsor me on GitHub: github.com/sponsors/geerlingguy
Merch: redshirtjeff.com
2nd Channel: / geerlingengineering
#RaspberryPi
Contents:
00:00 - Network Install
01:51 - Testing the beta on your Pi
03:24 - Imaging a microSD card
05:10 - Imaging a USB drive
05:40 - Thumb drive ISOs
06:22 - How secure is it?
07:23 - Limitations
08:31 - A new era for Pi - Věda a technologie
3:14 Missed opportunity to call that the Green Screen of Life.
One upside to there being no available pi’s anywhere is that when you do find one in the future this should be on its eeprom!
Prices have skyrocketed in my country. Have seen it for $350. Dwfuq. :(
@@bitstream_ same here.. 284€ as the only offer I can find
insanity
@@permagnusandersson6052 I'm writing down all the stores/vendors that have overpriced to not ever buy from them again. I understand the supply/demand balance for pricing, but it's just an abuse to do that, and more with something that was supposed to be affordable. Hope you get a decently priced one soon 🤙I need 8 :( waiting for a decrease in price
Just grabbed a raspberry pi 4 2gb model for $95 after a huge sale (initially $180). The base price for this model should be $65 CAD. They have raised the price 3x. Oh well they are sold out everywhere.
@@bitstream_ ya total scam atm
The Mouse that Roared! Wonderful capabilities being added to such a fabulous and cost effective platform. Very interesting to see where their development road map leads them.
Your videos inspire me to tinker with my pi everyday. I love your content!
just flashed the beta bootloader on my Pi400 with rpi-eeprom-update (pointing it to the beta bootloader file on the Pi) and it worked great. even without having any SD card inserted or DOK, the imager loaded, and once inserted a SD card, it recognized it immediately. great stuff from Raspberry
Really looking forward to the PXE boot especially with clusters of Pi4s and CM4s. Way back in the day I made multiscopic displays with synchronized rendering over clusters with Linux and PXE.
This is a great guide. I read about this on the raspberry pi newsletter(I think, maybe it was an article) and this really goes into detail. Great guide!
Extremely helpful. Thanks Jeff!
Jeff, your channel is quickly becoming the best channel on CZcams for all things RPi!
This is great! It reminds me of the day of iOS 8.0 when I discovered PXE boot. I was able to boot any network computer right from my phone and able to reset admin passwords on windows xp and 7
Aye yooo, I didn't realize how sick this actually is. This is super cool, useful and can reduce initial clutter.
Thanks for making this, will definitely update the bootloader post beta. I find myself flashing SD's more often than I thought.
Thank you for covering the security concerns!
I love the QOL updates that are coming to this space, especially in recent years. I remember being TERRIFIED of overwriting something when I first got into Linux, and then the same feeling years later with Pi operating systems. Seems like those scary new user feelings of "am I formatting the right drive" or "is this the right text config" where forums tell a new user to pop open the terminal are slowly coming to a close :)
This is something I didn't touch on in the video, but I'm right there with you.
I think that's one huge distinguishing factor between Pi and other SBCs-I still have that dreadful feeling of "oh my gosh I might brick this thing by not following step 7 of 24 correctly to get it running"
Versus with my Pi's, it's been at least 5 years since I bricked one. Red Shirt Jeff found his own way to cope with the stability, though...
Amazing developments !
@@JeffGeerling Yes that's 100% true, the Pi team has removed a ton of those feelings, and it's an amazing spot to be in! I've considered other boards in the past, especially with the shortages now, but the user experience just brings me back. I can't say I've ever bricked a Pi, so maybe that's further testament to the platform as a whole.
Red Shirt Jeff would be very proud of all of the linux installs I've bricked over the years however ;)
@@duke_ferdinand3758 Hhmmm maybe we need a Red Shirt Jeff and a Red Shirt Duke video comparison? Topics for the video could include ... who has bricked more devices .... who has bricked the most Pis and a bonus would be who has done more physical damage to devices ????? 🙂
Love your videos. Plain and straight forward to follow. Thanks Buddy
I'm pretty excited for this. I hope the final will include an option to input a download link to images. Maybe with a security warning on that option.
Nice new features, thanks for bringing them up
Like always I leave with a new thing to try with my Pi.
This is, once again, a fascinating video.
Thanks, Jeff! Another interesting video about the Raspberry Pi 😊.
Good step in the right direction!
Not ready for production-roll-out though, but I will keep a close eye to this ...
Awesome addition to the Pi4 family. I will be experimenting with it soon.
I did this with my new Pi 400. Works like a charm. Did it 2 days ago with the new 64bit OS. It was a great way to install the OS.
Excellent video as ever, Jeff - can't wait for your netboot video, interested to see that working on non-CM4s, maybe Pi0W and some others? :)
Thanks for this video! I was completely unaware of this feature. Way cool!
BTW, This appears to now (May, 2022) be out of beta and is now available under "Misc utilities" / "Bootloader".
After flashing the EEPROM, remove the SD card and reboot the Pi. An Ethernet connection and an attached keyboard are required. Once the RPi-imager has been downloaded you can reinsert the SD card and proceed as normal.
Heads up: after writing the OS to the SD card and verifying, your Pi will automatically reboot into the OS. This startled me the first time.
This is a seriously cool feature. I can see this will make bouncing between OS images way faster with the custom image loader. Looking forward to testing.
I love these updates from the raspberry pi news network :)
Awessome video Jeff !!!! Thanks for explaining, will have to try.
A network install looks cool. I just did the uSD card shuffle to get 64-bit OS onto my 8GB Pi4 which boots from a NVME-USB drive. Took about 45 minutes to get it going. A network install right to an SSD would have been very useful.
The least i would want on my new PC is a direct hardcoded connection to Microsoft servers so it can download and install windows
Heh, though if you're running Windows, and you haven't spent a bunch of time severing those connections already, it might as well be on their internal network :P
@@JeffGeerling true, but not from factory... The raspberry mecanism is open source and os agnostic... I don't picture it on a PC bios, specially since the last time it was "improved" with secure boot, it botched any os that weren't Microsoft's for years...
@@darioampuy you have a closed source firmware from MS in your Pi tho
@@retrocomputing you meant the visual studio secret code microsoft injected into raspbian that sends telemetry to their servers? well, it doesn't come integrated in the firmware and you can avoid it by installing plain debian for example, something that can't happen if that code came in the "bios" of the board from factory
@@darioampuy nnnope, I'm talking about ThreadX
Actually, Microsoft has started doing this on new devices from different vendors.
Vendor can put a URL in bios to connect to and download a Boot.vim file directly from Microsoft.
Shhhhhh. Year of the Linux Desktop is here. Any day now. ;-)
If I ever find a Microsoft URL in a BIOS I'll take them to court!
And you've been able to do it on your own for over a decade if not decades too... It's not new in either camp.
@@1pcfred Any modern computer contains code and certificates from MS in the UEFI boot loader as MS is currently the only company who has set up a signing authority for secure boot. It's not that they want to be the only one with that ability, it's that no one else is willing to invest the money to set up an independent signing authority.
@@Hans-gb4mv I run Linux and use legacy BIOS.
Awesome! Thank you for another useful video. You never cease to amaze me with your knowledge and ability to explain technology.
The internet recovery on macs is also part of the firmware (just like this new Pi feature), not of the built-in storage (as suggested in the video)
Jeff, I would love to have a working walk through for net booting. Everything I tryed so far was not working well for me. So you have my 10 fingers up for this ;-) Thanks for you fantastic work. T'care out there 🤗
This is good to deploy a new version of a system. I have a few raspis running the same code in a building, and today I have to login in every raspi to update their system and custom code, solve dependency problems and what not. With netboot I can walk with a pendrive and deploy a new system (already tested) in a single process. Of course I could pre-flash a bunch of SD and replace those in production, but now we have one more option.
This sounds like one step closer to emmc on the Pi so you don't need the sd card. Plug in to the network and with no OS, the Pi does the network install and allows you to choose from a list and pulls down an OS, installs it to emmc and uses that as the boot device. If you manage to screw up the image, holding down a key on boot enables network install to get a different image.
Nice, looking forward to you doing one on netbooting, the last one I was was over the top, and required me to replace my ISP's router - not an option here (it does 4G backup & voip)
They could make the community explode even more by letting people offer complete turn key installs. Buy Pi, plug it into power and network, select Pi w/Pi Hole image. Boot into OS, a few config options and done!
4:08 missed opportunity to add a "Press to run setup" prompt.
Thanks Jeff! This is the best Pi feature since the RPi 4! Now, If I can just get the Pis to use it with
Amazing, a semi-normal install process for a Pi!
Awesome! I love this feature!!
Great video Sir.
Great job 👌
Nice, i am going to try this out on weekend
Dear Jeff, thanks for your effort with each video, they are great!
I wanted to start again with Raspberries, but then I saw that prices have increased a lot (pi4, 8gb went from 80€ -> 140€ in Europe).
Do you know where this came from / can you do a video about it?
Cheers
Oh God! That's amazing... now I'm just waiting to get my hands on some new pi's to work with. In the meantime, I want to thank you for sharing with us and i hope to have some more time to start with ansible (yes, i bought that book too 😉
Happy automating!
I just bookmarked your video and will watch when Pi will be back in stock.
The thing I love about this channel most is that dude's haircut
Ahh Jeff..I do enjoy your videos....beyond learning something every time...You NEVER tell us you will GO AHEAD. If nothing else I love that.
So awaiting feature on raspberry pi, I ordered a pi 4 8G and waiting for more than a month, hope it will reach when this feature is out of beta.
Ventiy is a game changer for installing images to bios/uefi computers :D would be cool though if you could download any image within ventoy, though its basically just as fast to just download it and copy onto the drive :D
Verrry interesting - and Thank You!
I've got netboot setup already - but this is pretty cool! If you could select an NFS share to write the image to and then have the Pi boot to that NFS share, that would be REALLY cool. (i.e. set up netboot from the beginning.) All I'd need would be for the NFS share to be available with enough space for the image to be written to that directory.
I've only been in the pi community for about two years now. But I swear the level of progress is getting bigger and faster.
Currently the biggest stumbling block for brand new Pi owners is, well, actually being able to buy any Pi to *become* a brand new Pi owner. :(
@@Quickcat21MK Smartphones have locked bootloaders, don't support Linux in any convenient way if you manage to unlock it, and are quite lacking in I/O ports (and lack any GPIO pins,) all for maybe 3x the price of an equivalent Raspberry Pi.
Actually a new feature that impresses me. It's been a while.
Looking forward to this when I find a compute module board I want and a compute module for a good price.
1:10 : This is exactly the same as the Pi. [Option] + [R] will boot to recovery from the hard drive, but [Option] + [Alt] + [R] will boot from the internet. Yes, technically this is only possible because a tiny bootloader is embedded in storage soldered on to the mac, but we are not talking about the SSD. We are talking about the firmware, just like on the Pi. If you have an older mac where the hard drive is removable you can replace the drive with a drive from Newegg, boot while holding [Option] + [Alt] + [R] and re-install Mac OS entirely from the internet.
now this will help me alot, since i don't like getting a but ton of SD card just for OS
I saw something like this like 10 years ago on a Dual Socket 2011 board from Supermicro - it was around €600 for the board alone if I remember right. You could simply load any ISO into memory by supplying an UNC, HTTP or FTP address. The ISO stayed resident until total power failure or unloaded from BIOS. And the BIOS was available over the Network too. I always wondered why such a useful option never made it into more mundane boards.
Also there are Ready-to-Run Containers (look for iPXE PXE ISO) for normal servers which add this function for any PXE client. It even has a nice interface to select different Images. One can debate if this is different from booting an ISO without an PXE wrapper but from a client/enduser perspective it is definitely the same.
This feature is actually pretty damn cool.
Hmm, your channel has interesting videos. Subscribed. 😮
That's a pretty good idea, I'm surprised most PC makers still haven't incorporated this option into the BIOS. Dell has this feature with their PC laptops.
Finally! A great reason to have procrastinated for so I long, after getting my Pi 3B...
Now that I have the time-and most of the accessories-but, I’d be screwed, if I were to go looking for one, today...
The product page connected to my order is no longer even there...
= Hooray for procrastination!!!
Thank you!💪
Nice! This makes me even more excited for the future of Pi. Come on Pi5!!!
Although to be fair, when I deploy a Pi I deploy it headless. So while I don't have to swap a drive from PC to Pi I do now have to connect a monitor to the Pi which is a bigger inconvenience. Hum...I need a way to simply connect the Pi to something like my iPad to make it more convenient.
Same sort of thing here. I have the additional problem that none of my monitors have HDMI, so I either have to plug it into the TV in the living room, or find my adapter for VGA.
You know, if I'm setting up my rPis as "headless", perhaps I should name a couple of them "Mami" and "Tomoe"? Yeah, bad joke.
Why is deployment a problem at all? Micro SD cards are really cheap. Just prepare any OS and prepare SSH or VNC. Then clone that. The clone will work the same but they get another ip address. You can keep some spares and just use the one you like
@@alexruedi1995 It's not a problem. They are just making it even easier by not needing another machine....ever. For me though I don't use SD cards. They usually crap out in about a year with all the reading and writing my deployments do.
@@JustinEmlay Yeah my sd cards do not live long neither..
Just tried to help..if you setup vnc you can see the screen on your ipad. not sure how or why it is advantage to not have to use another machine. My "other" machine is much faster, even at writing to sd cards, always running and the tool to use (whenever i need a display). Always use your advantages. In your case maybe some script that mounts your ssd and copies from sd card. Anyway, those two commands will be faster on my main computer and the installation includes this. So even in best case, it will take me longer
I need this to be an API I can hit with a "pictl" binary or something of the like.
Being able to automate all of this with ansible would be awesome.
That + ansible config for k3s, is cloud like infrastructure provisioning!
I never knew Steve Bushemi made CZcams videos about the pi... I'll have to check out future videos
This Feature is similar what Debian Linux had in the past with the Netboot Image where you just had the installer on your drive and the rest was downloaded from the internet while installing.
Cool. Thanks for the video. BTW, Sun Microsystems/Oracle systems have had this feature (wanboot) for at least 20 years.
Amazing content. Really like how easy you explain it but keep the details correct. A big thank you for creating tutorials!
Just one question: Did you ever work with competitors of RPi? Like iMX8 based boards or some with Amlogic S905?
Neither of those; have only done Pi, Hardkernel, Rockchip.
@@JeffGeerling Sorry my brain is already doing weekend 😀 Hardkernel Odroid C2 is built with S905 chip. It could be a good replacement as the raspberrys are sold out. Anyway my question was about something else. Do you have any idea why in general, stuff is that crippled?
Like new notebooks that run at lower network speeds (hp omen), windows vs ubuntu when download off unstable 4G, or odroid c2 vs raspberry 3 iperf benchmarking? Or about audio_effects.xml on android phones (sound effects that make sound bad), spotify applying audio effects (that make it sound "good" for most people but strange for old tracks), really low sample rate configs or just about any system files that hide in plain sight (check total commander on android..)? Or about video playback and the loss of quality during "compression" (patterns on anything out of focus or partial and inaccurate screen refresh? Or about MIPI (something like HDMI but proprietary and needed for any modern screen above 800x600)? After using linux for some time, how come, even the cursor seems to lag on windows?
If you still read... Use jlsounds sound card and order displays off alibaba "with hdmi to mipi board". It will be a big improvement. Also, install clean operating system, uninstall pulseaudio. Make it yours
Network boot on MacOS can be done with blank storage on Macs with replaceable system storage. The utility doesn't live on system storage, I'm not 100%, but I think it's part of the UEFI. It was added at a later date on some Macs and is independent of system storage
I mean pxe boot is usually a feature of the nic, and so it has to be enabled in uefi, but like on my machines running chelsio offload nics, I can enable it’s pxe boot functionality directly from its uefi plugin. Either way though, I’m missing which part of this Windows can’t do? I work at msft and network imaging is literally how we install or setup EVERYTHING. They even have it worked out so machines shipped from OEMs boot into a tool to load the current image the first time after unboxing rather than shopping with an OS installed. Plus it’s always been possible to use other bootloaders to my knowledge. Either way tho, this seems more like hardware/firmware than an OS feature to begin with.
For Mac's I believe they have a "mini shell" built into the BIOS that lets you do basic things like format and secure erase disks, plus install the OS. It is possible that this "mini shell" is stored on a partition on the disk though and maybe takes up so little space (like under 100MB) that it's not noticed when you format or look at the disk space free after formatting as most people probably assume it's consumed by the file system (as you do lose a percentage of your total available disk space on average to the file system, regardless of file system: FAT, EXT, NTFS, etc).
@@amnesia5490 confusing names: NetBoot vs Network Booting.
As I understand it:
NetBoot is PXE, and you’re right it depends on the on NIC. It pulls typically (always?) from a server on the local network. And you can determine which server it pulls from and configure what it’s going to pull. In my understanding, this doesn’t install the OS locally although from what you said it seems that might not always be the case. 🤷
Network Booting is pulling the OS from across the Internet and installing it locally after which it runs entirely from the local storage on that machine. As implemented on Raspberry Pi and macOS, the server it pulls from is specified in the motherboard firmware and it can only pull from that server. It is absolutely not user configurable. So it’s a another way to get a standard image from the computer manufacturer installed on the local storage. It doesn’t permit you to specify any other image including an image that you have created.
@@HR-wd6cw a Mac can start the process from a completely blank unformatted brand new disk so it’s not relying on something storied locally on a disk. It’s firmware based.
Dell is doing internet install of Windows 10, though I think it's mainly on their business class equipment. Also, can you set the hostname, wifi, and locale in the network installer like you can with the advanced settings in rpi imager?
The Pi 5 and Pi 500, will be glorious… Good job!
Thanks!
I tried this out today and it worked first try. I did try to install twister OS from a thumbdrive without being connected to the network but it was a no go. It needs the network to download and boot into rpi imager. Wouldn't it be sweet if you could install rpi imager onto my the eeprom and that way you would not need network at all. Just boot into imager and install from a thumbdrive.
TTBOMK, Apple internet recovery does not rely on the soldered down SSD. It was already available on my MBA2011 even without a functional SSD installed. So it’s doing it from eeprom as well.
True, but what I mean is the install target (at least on most of the newer M1 macs) is the internal soldered-in storage. On the Pi, it's pretty agnostic as to what you install to (NVMe, USB device, eMMC, microSD).
Well on a pc the issue is that you would either have it somehow universal, or only on MS PCs because i am not sure if i wanted an MS thing so deep on a pc
This is so much handy
How did you get macOS to have those really dark menus and window borders?
I walked into a Micro Center in Maryland and, behold, two pi 4s were sitting there, all alone. Sure, they were 2GB, but getting them allowed me to use one of them as my RetroPie set up and the 8GB one as my desktop. But, yeah, it was just random luck that they had those.
The local MC manager told me they get shipments every now and then... they're just sold out within minutes every time. You did, indeed, get lucky!
Hopefully it won't take luck though as we get further into the year. This shortage has been painful!
Is the PI Imager literally needed? Or is there no difference compared to switching to "beta" in /etc/default/rpi-eeprom-update and run rpi-eeprom-update -a?
You can do it that way too... I probably should've mentioned it in the video, oops!
Absolutley it will become the main way for alot of owners to install the PI, a nice feature :)
I can also see this being very useful for children who have a Raspberry Pi, but don't have any other computers.
Hello Jeff, I tried to start my raspberry PI4 Modell with this bootlaoder, but it doesn't. I tried with the "SC, then Network" also as with the "SD, than usb" boot images. Both will not start the raspyimager when not find the sd card.
in the boot screen, I see, that the net has not become a IP address direct after startup the bios. but, a little later in the boot process, after the second try to get the sd card, the interface also got an ip from DHCP. But this only when using the "Network after SD fails" Image. What can be wrong? kind regards, gerald
I don’t understand half of these combinations of words but I’m excited
remote pi imager url web your router your ethernet pi4 the tiny eprom storage with the net/usb boot loader to start loading pi 'stuff'
The RPi Foundation should be focusing their efforts into either pushing Broadcom to release the bootloader's source code or developing their own open source clone bootloader rather than putting up with Broadcom's gag order and developing these features behind closed doors.
I'm sure they signed an NDA. If we want the details I am pretty sure the only way would be to file a class action suit on behalf of Pi owners.
@@joshuahigginbotham6745 Signing an NDA doesn't prevent the RPi Foundation from developing a clean room alternative and this exact situation has already been tested in court when IBM tried to sue everyone that sold IBM PC clones and argued the BIOS was their IP. They lost.
Great feature, now can install Raspberry Pi OS directly into my HDD
Wait, now that i think about it, how isn‘t this a bios feature of pcs. You give it a https address, it downloads that file interprets that file as an iso and boots it?
This new feature of Rpi is really awesome.
Searching for "network install protocol" is wonderfully useless. Do you have more information on this protocol / standard?
Thank you. How do I hide the Samaba version number?
This is great! 😊
Jeff: Good luck finding a RPi
Also Jeff: Cutting RPi gore-ly like no tomorrow
Tried it today, can't find it in beta option anymore. Maybe on release channel?
You are a national treasure my friend
I think Windows is good to use as a primary, main, or gaming computer and Raspberry Pis are good for diy code, projects, servers, clusters. Although I do think it does seem ridiculous for Windows to have a huge system size. Great Video.
What year is that strat in the background?
Its going to be wonderful feature...Pi is now advancing to more and more feasible features..
Speaking of configuration issues, how do I tell my rpi4b to use USB audio at startup? I must've been out that day.
Actually, cool story. On intel macs, internet recovery has no requirement for anything to be on the drive. It uses code in the EFI BootROM that downloads the kernel directly from the internet, which then downloads the base install system directly from the internet.
This works even if there is no internal storage installed (or working).
Apple Silicon Macs are a whole different story.
Hi Jeff, is it possible to do the same with the new Pi5?