• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Automatic Provision of Raspberry Pi

Scheduled Pinned Locked Moved
General
2
4
869
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    wuast94
    last edited by Sep 11, 2020, 9:35 PM

    Im googling for a wile now and not finding what im searching for so I hope someone here can help me

    I am new to FOG and just starting to working me into this topic.

    I have serveral Raspberrys around and for years I have the one big Problem, I pi is starving and then I need to do a new install, install all the software, configure it and so on. It would be much nicer to deploy them, and a bit worser, automatically.

    Is it possible to make a image from a raspberry with FOG, and bind it to an MAC or IP address so that the raspberry when boot can automatically get the image, boot it, and run.

    This way I could easily change a raspberry, bind the new IP/MAC and all is done, and can handle backups from my raspberrys on my server with much better backups than an sd card.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Sep 11, 2020, 5:08 PM Sep 11, 2020, 11:08 PM

      FOG may not be the right tool for you with the PIs. Its not so much FOG but the PIs themselves.

      First of all until the Pi3 the previous models did not support PXE booting. The Pi3 did kind of support pxe booting but you had to stuff to make it work. What I hear the Pi4 does a better job with PXE booting.

      Understand that FOG is a block level imaging tool. So at best you can backup and restore to the SD card.

      What it sounds like what you want is to netboot (boot the computer without the SD card and run the system on a ram disk) the Pi. There are instructions for doing that and you could use bits of the FOG server to support netbooting. So its possible with the Pi3 and later, but not directly supported by the FOG Project.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 0
      • W
        wuast94
        last edited by Sep 12, 2020, 8:57 AM

        Yes you understood what I want to do 🙂

        You say there are instructions to boot with ram disc over network and I can use bits from FOG to support this, have you links to that? when I get it to work I would also make a new post here as a how to (when wanted) so that others don’t have to ask the same question again.

        G 1 Reply Last reply Sep 12, 2020, 11:52 AM Reply Quote 0
        • G
          george1421 Moderator @wuast94
          last edited by Sep 12, 2020, 11:52 AM

          @wuast94 This is what I found when I was researching this issue for another poster in the forum: https://linuxhit.com/raspberry-pi-pxe-boot-netbooting-a-pi-4-without-an-sd-card/

          There were a couple of other ones that I found but it appears I didn’t save the links.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post

          202

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project