1

Is it possible to download any suitable os from network and install it same way like using pxe boot on pc?

Update: Reason for that is saving time when installin multiple Raspberries without need every time made a new sd-card if some program is changed etc.

Roger Wayne
  • 111
  • 3
  • What sort of research did you do on this? – abolotnov Oct 12 '19 at 01:23
  • Some. Nothing about _installing_ os from network. I want install os from network to sd-card or harddisk connected to this rpi. – Roger Wayne Oct 12 '19 at 06:11
  • Do you really want to use PXE boot? Then first of all you have to setup a netboot environment. Does the RasPi can boot from your network to load the installation program for the SD Card? – Ingo Oct 12 '19 at 09:49
  • What scenario are you thinking of where it'd be easier to network boot (including setting up a tftp server with the image, etc.) than to just swap out the SD card? Some additional details would be helpful. – Fred Oct 12 '19 at 10:13
  • I updated question. – Roger Wayne Oct 12 '19 at 10:33
  • If you're looking to make changes to multiple installs, have you looked at tools like puppet? E.g., http://frederickvandenbosch.be/?p=1843 – Fred Oct 12 '19 at 10:35
  • Maybe, if puppet-agent rpi can be moved away and it can be still work as regular installed rpi. – Roger Wayne Oct 12 '19 at 10:42

1 Answers1

2

I see mainly two possibilities for your needs. You can setup a debian repository. Then you only need an initial SD Card installation that can be updated with apt from your own repository. How to do it you may have a look at Debian Repository Setup.

You can setup a net booting infrastructure. This is more flexible than an repository because you can load complete different operating systems to the RasPi that may run from the network without a SD Card. Or you can run an installer program from the network that flashes an image to the SD Card and reboot to the SD Card. But net booting is limited to wired network connections. How to install a net boot infrastructure using Raspberry Pis you can look at Netbooting multiple “workers” RPi from a “master” RPi.

Ingo
  • 40,606
  • 15
  • 76
  • 189