6

I have a TFTP server, and I want to install any new Raspberry Pis on my network to use the TFTP server to install the OS. How do I got about doing this, I checked the Documentation on the official website and I can't find the documentation.

Also how can I do this so I can reimage an existing raspberry pi if I don't have physical access to it.

6
  • Interested to see if this is possible :)
    – Wilf
    Commented Oct 16, 2015 at 19:35
  • 2
    If not is it possible to remotely reimage an operating system, if you don't have physical access to. Assuming you have SSH. Commented Oct 16, 2015 at 19:41
  • There might be a sneaky way to reimage the card if you run the OS from external storage. WRT installing an OS that way, obviously you have to have an OS running, so either you do the same thing (run from a USB stick, etc) or else you have a look at how NOOBs or BerryBoot works. Either way, there's not going to be a simple recipe to follow for this.
    – goldilocks
    Commented Oct 16, 2015 at 19:57
  • 1
    Since in all cases you would have to have an OS installed and running on the pi first, you might want to stop and consider XY problem -- if you just want to configure/update the system and backup/restore it online, there are better options than having to burn a whole card or partition image.
    – goldilocks
    Commented Oct 16, 2015 at 20:00
  • How about TFTP boot instead? I can turn this into a fully fledged answer, if it meets your needs. Commented Oct 22, 2015 at 9:50

1 Answer 1

2

Only the Raspberry Pi 3 can boot from network without special software on an inserted SD Card (you need to use U-Boot or a sepcial bootcode.bin on older models).

The instructions for the Pi 3 are here. Since you have a Pi2 , an alternative approach is to use a rootfs over NFS , as demonstrated by PiNet.

BerryBoot (Linux only) supports booting via iSCSI or from Samba/Windows Shares.

Because the nature of the Pis booting process , you still cannot skip the official second-stage start.elf bootloader (which now gets delivered over network).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.