Network Boot One Raspberry Pi From Another One - No SD Card needed using PXE Boot, TFTP & NFS

Sdílet
Vložit
  • čas přidán 16. 02. 2022
  • It is possible to boot a Raspberry Pi over the local area network (LAN) and so remove the need for an SD card. In this video I show how to boot a Raspberry Pi from another Raspberry Pi using PXE along with its friends TFTP and NFS.
    Step by step instructions: github.com/garyexplains/examp...
    Let Me Explain T-shirt: teespring.com/gary-explains-l...
    Twitter: / garyexplains
    Instagram: / garyexplains
    #garyexplains

Komentáře • 67

  • @JimMendenhall
    @JimMendenhall Před 2 lety +41

    Yes please, please make a video showing how to boot form a synology nas, etc!

    • @bsvenss2
      @bsvenss2 Před 2 lety +1

      OT: I switched from Synology to Asustore (AS6604T). The best decision ever. ;-)

    • @sargetester99
      @sargetester99 Před 2 lety +3

      I prefer the video to make, to be with windows instead

    • @jyvben1520
      @jyvben1520 Před 2 lety +2

      @@sargetester99 a Windows server ?

    • @sargetester99
      @sargetester99 Před 2 lety +2

      @@jyvben1520 yes sir,, both please, server and client working together.

    • @jaapvisser2337
      @jaapvisser2337 Před 2 lety +2

      yes by all means..

  • @LegacyInBlood
    @LegacyInBlood Před 2 lety +4

    This is the best tutorial out there period!!!!
    Please do a tutorial for Linux and windows as a server and raspberry pi as client

  • @sujithsuresh2152
    @sujithsuresh2152 Před 2 lety +3

    So many quality contents still not getting enough subscibers this guy deserve to have atleast 10 M subscribers

  • @davidg5898
    @davidg5898 Před 2 lety +6

    Yes, do a PXE video of various systems, please!

    • @jocelynve3jct436
      @jocelynve3jct436 Před 2 lety +1

      Your videos are outstanding. I concur with David, and in particular I'd love to see how to use Mac OS as a server for this. Thanks !!!

  • @John.0z
    @John.0z Před 2 lety

    Thank you for the training. I am still scratching my head about how I will use it... although I have a 24x7 Raspberry Pi 4 server running.

  • @gunterpietzsch3995
    @gunterpietzsch3995 Před 2 lety

    This really sounds interesting and I would like to check this out. But unfortunatly at the moment I couldn't even order some PIs as there are none available. So watching this videos is somehow like window shopping. But this is not your fault - so please goahead with your great CZcams channel.

  • @pfitz4881
    @pfitz4881 Před 2 lety +4

    I would interested in a video showing how to boot form a Synology NAS.

  • @0605hector
    @0605hector Před 2 lety

    This is thee best guide ive found so far from many weeks of research and it works! this might be too much asking but, could you make a video using NFS and tftp server on a ubuntu linux machine? i have a cluster of Raspberry pi back home and would love love to pxe boot all of them :3

  • @ASFokkema
    @ASFokkema Před 2 lety +4

    Cool video, love the idea! could you also explain how to set this up for multiple cliënts on multiple architectuur?

  • @CMDRunematti
    @CMDRunematti Před rokem

    Hah i finally found this video again! I just got a Synology Nas and pi4 8gb, definitely gonna do this. Maybe even this week!

  • @samaitcheson7057
    @samaitcheson7057 Před 2 lety

    Hi Gary. A video on booting a Pi from a QNAP NAS would be great. Thanks.

  • @ScienceANDesign
    @ScienceANDesign Před 2 lety +1

    Excellent..!!!!!! Thank you...!!!!!!

  • @cenuijza
    @cenuijza Před 2 lety +2

    Thanks for the video! I would like to see a version where you boot from iSCSI instead of NFS, and maybe using LVM and thin provisioning on the server side to provide the iSCSI block devices 🙏

    • @dktol56
      @dktol56 Před 2 lety

      I second this request.

  • @gregingram3698
    @gregingram3698 Před rokem

    just came across this. good stuff! do you have docs/examples on how to boot another board from raspberry pi like a beaglebone black? thx

  • @rodnussbaumer2398
    @rodnussbaumer2398 Před rokem +1

    Pretty good video, but it would be nice to see more of the configuration aspects, especially on the server side. I know, there are numeorus server platforms that can be used, but one can usually extrapolate from one setup to another. A question: can the PXE bootloader use an initramfs/initrd in-memory filesystem, rather than NFS mounted root filesystem? Where would you specify that? In x86 PXE, the PXE bootloader uses a configuration file that allows you to specify the filesystem image to retrieve from the TFTP server. It seems like the PXE bootloader is a permanent part of the Pi, rather than downloaded from the TFTP server. Is there a PXE bootloader for the Pi, which would work in a similar way?

  • @fasti8993
    @fasti8993 Před rokem

    Yes, please do make a video on how to boot tie pi from TrueNAS

  • @send2gl
    @send2gl Před 2 lety

    Fascinating.

  • @KhajaMoinuddinNadaf
    @KhajaMoinuddinNadaf Před 2 lety +2

    Yes please make that video

  • @daves4026
    @daves4026 Před 2 lety

    Yes please make a video to show booting from a qnap Nas and how to configure using Ansible

  • @depmod3
    @depmod3 Před 2 lety

    Hi Gary, I''d like to see a tuturoial to boot from a linux server or if possible via a docker container to do it. Thanx.

  • @dubz5149
    @dubz5149 Před 8 měsíci

    FYI: There is a tool you can flash from Raspberry Pi Imager that takes only a minute or so, then boot it up. It will change the boot order for you with zero intervention. This is especially helpful if you have several Pis to change, as once it's created you just boot to it and wait for the fast green flashing light (anything else is an error code). It takes seconds to reconfigure this way. Overall still much faster than installing Raspbian OS, booting, configuring, and rebooting just to change one setting.
    Edit: Same goes for USB boot, or reverting back. Flash the option you want, boot, done.

  • @joegee2815
    @joegee2815 Před 2 lety

    Yeah, I think I'd like to do this from a Qnap NAS. I have a couple utility RPis, print server, Pi hole, and want to add some more for VPN, Home Automation, cameras, etc.

  • @samuelds1989
    @samuelds1989 Před 2 lety

    Hi i would like to boot a rasberry pie via pxe linux or Windows ,and get a few programs installed on a client like pie hole would you be able to make a script that would compile some sort of image with a few added applications would be wonderful...great video

  • @tomasberky3379
    @tomasberky3379 Před rokem

    i would like to know how to boot rpi from the image on my synology nas via network

  • @jyvben1520
    @jyvben1520 Před 2 lety

    What if most of the "files" under the /nfs directory are just symbolic links to the server's files,
    would only need some extra files/folders with the unique configs for the netbooting rpi4 ?
    first problem, how to make all those links and all the sub-folders ... except /tmp and other tmp folders ...

  • @k.p.bastola3878
    @k.p.bastola3878 Před 2 lety

    Do a speedtest between exynos 2200 vs A15 !

  • @BOBRAPHTONEAFWATA
    @BOBRAPHTONEAFWATA Před 2 lety +2

    Hello @Gary Explains can you show in the next video, if possible how android aosp can also be booted from a network in the same manner ?

  • @user-qc6yq1jh4j
    @user-qc6yq1jh4j Před 4 měsíci

    can you combind the 2 cpus in to one?

  • @arnoldroyal9758
    @arnoldroyal9758 Před 2 lety

    Gary we are waiting for your exynos 2200 tests. Please upload asap

  • @jeffsadowski
    @jeffsadowski Před 2 lety +1

    Did this about a year ago. I have an ubuntu VM that I point my pi's to.

  • @samsungemployee5243
    @samsungemployee5243 Před rokem

    Well I have a g4 MacBook 💻 can it be a bootserver?

  • @benverdel3073
    @benverdel3073 Před 2 lety

    Great. Thanks for the video. Could this be the re-birth of the "Linux Terminal Server Project" ? I used that around year 2000. Loved it. Nowadays everything is Virtual Machines.

    • @neils132
      @neils132 Před 2 lety

      LTSP is still alive and had a significant rewrite/update. For RPi look at PiServer from the RaspberryPi Foundation.

    • @benverdel3073
      @benverdel3073 Před 2 lety

      @@neils132 THAT is very good to hear. Thanks. I'll certainly look into that as ltsp still keeps a little place in my heart due to nostalgia. In about one year I'll have to equip an orphanage with a dozen terminals and I'm thinking of RPIs with "whatever". Probably Emmabuntu or Roxeo.

  • @Dwagie629
    @Dwagie629 Před rokem

    On model b that model with Esther net and that blue headphone jack I need usb boot

  • @fabioamado6725
    @fabioamado6725 Před rokem

    Hello, I would like a video tutorial of booting from a Synology NAS, from a linux PC, from a Mac, from a Windows PC... Thank you :)

  • @pepeshopping
    @pepeshopping Před 2 lety +2

    PXE boot has always only needed the MAC address.

  • @marcoraap733
    @marcoraap733 Před rokem

    we need this for a pi 3

  • @harmitchhabra989
    @harmitchhabra989 Před 2 lety

    👍👍👍👍👍

  • @hpgramani
    @hpgramani Před 2 lety

    What happens if there are two servers in the same network serving files for same serial number of Raspberry board? How would Raspberry know which sever to connect to?

    • @GaryExplains
      @GaryExplains  Před 2 lety +5

      That would be a bad configuration and the results would be unknown.

    • @hpgramani
      @hpgramani Před 2 lety +1

      @@GaryExplains oh thanks for the reply😅

  • @ownmicelio
    @ownmicelio Před 2 lety

    5:43 Is there a more secure alternative than tftp?

    • @GaryExplains
      @GaryExplains  Před 2 lety

      Not that I know of. For more security the best thing to use is UEFI and HTTPS boot. I will likely do a video on UEFI network booting for the Pi at some point.

    • @sidewind131258
      @sidewind131258 Před rokem

      Just curious, what more secure can you be than having your RP directly cabled to your server (even if a switch/router are in the up/down stream), it is not like you are out on the big bad internet asking remptely to boot it?

  •  Před 2 lety +2

    Yes, show how to boot from nas server.

  • @bartdenturck5134
    @bartdenturck5134 Před rokem

    Considering the number of people who get stuck with a rpi that will not boot any more after a power outage or forced down of a frozen rpi, using one as a server does not look like a good idea to me.
    Pls consider a NAS. It probably has redundance on board.

    • @GaryExplains
      @GaryExplains  Před rokem

      I have been running Pi units for years, 24x7, and I have never had a Pi that won't reboot after a power outage. Even if that happens, you just need to setup a new SD card and carry on where you left off.

  • @8eck
    @8eck Před rokem

    Doesn't it going over all steps when booting? There should be boot order. If there is no sdcard, then boot from usb and if not, then boot from network.

  • @kunalkumarsahoo8786
    @kunalkumarsahoo8786 Před 2 lety

    Unbelievable

  • @dirkdiggler5622
    @dirkdiggler5622 Před rokem

    ITS JUST A LIVE PERSISENR BOOT BUT NOT AS GOOD

  • @naeemakhter5666
    @naeemakhter5666 Před 2 lety

    Ummm....professor where are speed test g vidoes

  • @alexxx4434
    @alexxx4434 Před 2 lety

    Just make sure that your network pipes are fat!

  • @sargetester99
    @sargetester99 Před 2 lety +2

    I prefer the video to make, to be with windows instead

  • @Dwagie629
    @Dwagie629 Před rokem

    Nah

  • @Rahat2995
    @Rahat2995 Před 2 lety

    Speed test g is dead. No video since 3 months