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

    Provisioning Raspberry Pis with FOG

    Scheduled Pinned Locked Moved
    General
    5
    25
    6.4k
    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.
    • george1421G
      george1421 Moderator @Junkhacker
      last edited by george1421

      @junkhacker well that is not helpful (the Pi not you). I do have a pi 2 running fog but its been several years since I set it up. I do remember copying the image file from my linux system to the micro sd card to load the OS. I never checked to see if the Pi could pxe or usb boot.

      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
      • D
        danteHaversham @Junkhacker
        last edited by

        @junkhacker That’s not the case - it’s possible to boot the Pi via network.

        JunkhackerJ george1421G 2 Replies Last reply Reply Quote 0
        • JunkhackerJ
          Junkhacker Developer @danteHaversham
          last edited by

          @dantehaversham without a bootloader on a SD card? i’d love to see proof of this.

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          D 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @danteHaversham
            last edited by

            @dantehaversham Excellent can you show us the setting in the firmware. Also we probably should understand what Pi you are using.

            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!

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @george1421
              last edited by

              @george1421 I was personally thinking that it should support network booting, because I have seen projects where they created a supercomputer out of Pi nodes. But I never looked into the mechanics of the super computer.

              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!

              D 1 Reply Last reply Reply Quote 0
              • D
                danteHaversham @Junkhacker
                last edited by

                @junkhacker My Pi downloads the bootloader via TFTP and then mounts the OS via NFS. So no SD-Card needed. But I’m looking for a solution to provide the Rasp-Image to SD-Cards via network. So I thought maybe FOG could solve my problem

                JunkhackerJ 1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer @danteHaversham
                  last edited by

                  @dantehaversham perhaps my information about the pi is outdated, but how do you choose the boot volume? there is no cmos or bios like system on a pi, is there?

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • D
                    danteHaversham @george1421
                    last edited by

                    @george1421 Yep - but you have to do a little reconfiguration.

                    https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net.md

                    The process of making a Pi bootable via network is well documentated.

                    I’m using a Raspberry Pi 3 Model B.

                    JunkhackerJ george1421G 2 Replies Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer @danteHaversham
                      last edited by

                      @dantehaversham ah, just looked it up as well. it’s model pi 3 only. looks like i need to buy some more pi lol

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        danteHaversham @Junkhacker
                        last edited by

                        @junkhacker yes - with model 3 it’s possible without having a sd-card in use.

                        JunkhackerJ 1 Reply Last reply Reply Quote 0
                        • JunkhackerJ
                          Junkhacker Developer @danteHaversham
                          last edited by Junkhacker

                          @dantehaversham just read some of the documentation on network booting the pi. it should be possible to get this working with fog, actually. with exceptions. it would be able to push images down, but without the finesse that we do on PCs. the ipxe menu systems and dynamic configuration parts wouldn’t work.

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          1 Reply Last reply Reply Quote 1
                          • george1421G
                            george1421 Moderator @danteHaversham
                            last edited by

                            @dantehaversham OK now that we know the Pi3 can pxe boot. What I want you to do is this.

                            1. Manually register the hardware mac of the network adapter.
                            2. Schedule a debug deploy or capture task. It doesn’t matter which because we are going into debug mode. When you schedule the task be sure to check the debug check box.
                            3. PXE boot the Pi3.
                            4. After a few key presses on the pi’s keyboard you will be dropped to a linux command prompt.
                            5. At the linux command prompt we need to collect a few bits of into.

                            Data to collect

                            1. ip addr show ensure the Pi is getting an IP address in FOS
                            2. lsblk collect what FOS sees for disks

                            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
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              I think all the PXE binaries and FOS need compiled for ARM for this to work??

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              george1421G 1 Reply Last reply Reply Quote 1
                              • george1421G
                                george1421 Moderator @Wayne Workman
                                last edited by

                                @wayne-workman Ugh, good point. I was only thinking ia86 compatible.

                                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!

                                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman @george1421
                                  last edited by

                                  @george1421 Right, and then there’s the problem of DHCP giving out the right binary, and that binary requesting the right kernel and init.

                                  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!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  JunkhackerJ 1 Reply Last reply Reply Quote 2
                                  • JunkhackerJ
                                    Junkhacker Developer @Wayne Workman
                                    last edited by

                                    further reading on the new network boot option for the raspberry pi 3 makes me think that it can not be easily made to work with fog. Broadcom is not releasing the source for the network boot files.

                                    signature:
                                    Junkhacker
                                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                    Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman @Junkhacker
                                      last edited by

                                      @junkhacker said in Provisioning Raspberry Pis with FOG:

                                      Broadcom is not releasing the source for the network boot files.

                                      Broadcom just lost brownie points in the open-source world…

                                      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!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @Junkhacker
                                        last edited by

                                        @junkhacker Other issues as Wayne pointed out. The Pi is an ARM processor.

                                        [enable brain storming mode]
                                        So the ipxe files need to be recompiled for ARM (cortex) processors. From what I found there are ARM compatible iPXE boot files. The developers would need to cross compile the iPXE boot files to include the FOG scripts into ARM version of iPXE.

                                        Also FOS is currently based on IA86 arch, meaning FOS (bzImage) and init.zx need to be cross compiled for ARM. I’ve done a little work with buildroot (used to create FOS) and buildroot does support cross compiling for Cortex processors.

                                        So technically its possible to have FOG deploy to raspberry pi systems. The last bit we would have to deal with is the motivation of the developers to go down this path. (not speaking for the developers, only my opinion) I’m not seeing the “market share” of deployments required to go down this path. I really see this as a one off solution, were there are other documented and proven ways to deploy to the Pis. I do agree that it would be a really neat feature to add, but again not as a focus for the developers. There are enough issues with new “bleeding-edge” IA86 compatible systems coming out to keep them very busy as it were.
                                        [disable brain storming mode]

                                        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!

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 2
                                        • Wayne WorkmanW
                                          Wayne Workman @george1421
                                          last edited by

                                          @george1421 said in Provisioning Raspberry Pis with FOG:

                                          were there are other documented and proven ways to deploy to the Pis.

                                          We have ARM devices we use embedded linux on at work, they have multiple block devices in them (one could substitute with a permanent USB Flash on a Pi). We instruct the devices what block device to boot from. When we want to image, we boot to a special block device that has everything we need to image the other local block device.

                                          So, one might say that my current job could possibly use FOG to image ARM devices. But we already have a successful strategy for doing this now.

                                          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!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            MMOD
                                            last edited by

                                            here is some one that pxe booted the pi or some thing like pxe
                                            https://blog.mythic-beasts.com/2016/08/05/sneak-preview-from-mythic-labs-raspberry-pi-netboot/

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project