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

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • 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

Комментарии • 67

  • @JimMendenhall
    @JimMendenhall 2 года назад +41

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

    • @bsvenss2
      @bsvenss2 2 года назад +1

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

    • @sargetester99
      @sargetester99 2 года назад +3

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

    • @jyvben1520
      @jyvben1520 2 года назад +2

      @@sargetester99 a Windows server ?

    • @sargetester99
      @sargetester99 2 года назад +2

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

    • @jaapvisser2337
      @jaapvisser2337 2 года назад +2

      yes by all means..

  • @LegacyInBlood
    @LegacyInBlood 2 года назад +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 2 года назад +3

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

  • @John.0z
    @John.0z 2 года назад

    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.

  • @davidg5898
    @davidg5898 2 года назад +6

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

    • @jocelynve3jct436
      @jocelynve3jct436 2 года назад +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 !!!

  • @gunterpietzsch3995
    @gunterpietzsch3995 2 года назад

    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 RUclips channel.

  • @pfitz4881
    @pfitz4881 2 года назад +4

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

  • @CMDRunematti
    @CMDRunematti Год назад

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

  • @0605hector
    @0605hector 2 года назад

    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

  • @ScienceANDesign
    @ScienceANDesign 2 года назад +1

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

  • @ASFokkema
    @ASFokkema 2 года назад +4

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

  • @send2gl
    @send2gl 2 года назад

    Fascinating.

  • @samaitcheson7057
    @samaitcheson7057 2 года назад

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

  • @cenuijza
    @cenuijza 2 года назад +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 2 года назад

      I second this request.

  • @fasti8993
    @fasti8993 Год назад

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

  • @joegee2815
    @joegee2815 2 года назад

    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.

  • @KhajaMoinuddinNadaf
    @KhajaMoinuddinNadaf 2 года назад +2

    Yes please make that video

  • @daves4026
    @daves4026 2 года назад

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

  • @gregingram3698
    @gregingram3698 Год назад

    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 Год назад +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?

  • @jeffsadowski
    @jeffsadowski 2 года назад +1

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

  • @dubz5149
    @dubz5149 10 месяцев назад

    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.

  • @depmod3
    @depmod3 2 года назад

    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.

  • @samuelds1989
    @samuelds1989 2 года назад

    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

  • @k.p.bastola3878
    @k.p.bastola3878 2 года назад

    Do a speedtest between exynos 2200 vs A15 !

  • @BOBRAPHTONEAFWATA
    @BOBRAPHTONEAFWATA 2 года назад +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 ?

  • @tomasberky3379
    @tomasberky3379 Год назад

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

  • @jyvben1520
    @jyvben1520 2 года назад

    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 ...

  • @arnoldroyal9758
    @arnoldroyal9758 2 года назад

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

  • @user-qc6yq1jh4j
    @user-qc6yq1jh4j 5 месяцев назад

    can you combind the 2 cpus in to one?

  • @Dwagie629
    @Dwagie629 Год назад

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

  • @benverdel3073
    @benverdel3073 2 года назад

    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 2 года назад

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

    • @benverdel3073
      @benverdel3073 2 года назад

      @@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.

  • @pepeshopping
    @pepeshopping 2 года назад +2

    PXE boot has always only needed the MAC address.

  • @fabioamado6725
    @fabioamado6725 Год назад

    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 :)

  • @samsungemployee5243
    @samsungemployee5243 Год назад

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

  • @marcoraap733
    @marcoraap733 Год назад

    we need this for a pi 3

  • @harmitchhabra989
    @harmitchhabra989 2 года назад

    👍👍👍👍👍

  •  2 года назад +2

    Yes, show how to boot from nas server.

  • @hpgramani
    @hpgramani 2 года назад

    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  2 года назад +5

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

    • @hpgramani
      @hpgramani 2 года назад +1

      @@GaryExplains oh thanks for the reply😅

  • @ownmicelio
    @ownmicelio 2 года назад

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

    • @GaryExplains
      @GaryExplains  2 года назад

      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 2 года назад

      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?

  • @bartdenturck5134
    @bartdenturck5134 Год назад

    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  Год назад

      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 Год назад

    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.

  • @dirkdiggler5622
    @dirkdiggler5622 Год назад

    ITS JUST A LIVE PERSISENR BOOT BUT NOT AS GOOD

  • @kunalkumarsahoo8786
    @kunalkumarsahoo8786 2 года назад

    Unbelievable

  • @naeemakhter5666
    @naeemakhter5666 2 года назад

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

  • @Dwagie629
    @Dwagie629 Год назад

    Nah

  • @alexxx4434
    @alexxx4434 2 года назад

    Just make sure that your network pipes are fat!

  • @sargetester99
    @sargetester99 2 года назад +2

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

  • @Rahat2995
    @Rahat2995 2 года назад

    Speed test g is dead. No video since 3 months