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

Building USB Booting FOS Image

Scheduled Pinned Locked Moved
Tutorials
5
23
22.0k
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.
  • M
    mwarner
    last edited by Jul 13, 2017, 4:37 PM

    Thank you for this guide! Your script works very well - a lot better than cloning the (much older and more obscure) mac-boot Github repo. We ran into an issue with DHCP leasing but it’s certainly a lot farther than we got with previous attempts on our test Mac.

    G 1 Reply Last reply Jul 13, 2017, 4:45 PM Reply Quote 0
    • G
      george1421 Moderator @mwarner
      last edited by Jul 13, 2017, 4:45 PM

      @mwarner Can you provide an example of the troubles? A picture snapped with a mobile phone is helpful to tell the context of the error.

      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!

      M 1 Reply Last reply Jul 13, 2017, 4:46 PM Reply Quote 0
      • M
        mwarner @george1421
        last edited by Jul 13, 2017, 4:46 PM

        @george1421 I did not change the $myfogip variable in the script, so I will snap a picture if changing that does not work.

        G 1 Reply Last reply Jul 13, 2017, 4:47 PM Reply Quote 0
        • G
          george1421 Moderator @mwarner
          last edited by Jul 13, 2017, 4:47 PM

          @mwarner that is probably the root of your issue if it tries 3 times to get dhcp, acts like it gets dhcp and then tries again. FOS does a web call to the FOG server to see if its up. It uses that call to identify if the network is working or not.

          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!

          M 1 Reply Last reply Jul 13, 2017, 4:50 PM Reply Quote 0
          • M
            mwarner @george1421
            last edited by Jul 13, 2017, 4:50 PM

            @george1421 Yep, that’s exactly what was happening. I changed it and ran a full host registration successfully. I will try an image capture next.

            M 1 Reply Last reply Jul 13, 2017, 6:20 PM Reply Quote 0
            • M
              mwarner @mwarner
              last edited by Jul 13, 2017, 6:20 PM

              I just performed a capture and deploy and it worked flawlessly. Again, thank you so much.

              I do have one question: would it be possible to mount this on the partition of a hard drive? Or would that likely mess something up?

              G 1 Reply Last reply Jul 13, 2017, 6:30 PM Reply Quote 0
              • G
                george1421 Moderator @mwarner
                last edited by Jul 13, 2017, 6:30 PM

                @mwarner said in Building USB Booting FOS Image:

                mount this on the partition of a hard drive? Or would that likely mess something up

                Please define ‘this’

                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!

                M 1 Reply Last reply Jul 13, 2017, 7:02 PM Reply Quote 0
                • M
                  mwarner @george1421
                  last edited by Jul 13, 2017, 7:02 PM

                  @george1421 the .img file that your script generates (found in /tmp/fos-usb.img according to your script)

                  G 1 Reply Last reply Jul 13, 2017, 7:04 PM Reply Quote 0
                  • G
                    george1421 Moderator @mwarner
                    last edited by Jul 13, 2017, 7:04 PM

                    @mwarner and what do you need to do with it on a hard drive? Sorry I’m not seeing the intended use you are planning.

                    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!

                    M 1 Reply Last reply Jul 13, 2017, 7:40 PM Reply Quote 0
                    • M
                      mwarner @george1421
                      last edited by Jul 13, 2017, 7:40 PM

                      @george1421 we are using FOG in a business environment (~120 employees), and a few of our users have Mac Pro’s. That’s why we were looking for this USB stick as a solution. But instead of having those two people relying on a USB stick, I was wondering if we could simply mount this .img as a partition on their device’s hard drive so it would be easier for them when they want to backup their device.

                      G 1 Reply Last reply Jul 13, 2017, 9:16 PM Reply Quote 0
                      • G
                        george1421 Moderator @mwarner
                        last edited by Jul 13, 2017, 9:16 PM

                        @mwarner I really had to think about the answer to your task as to what is the right direction.

                        The 100% right answer is for when the iPXE guys are able to get the iPXE kernel to boot with the updated firmware that Apple has released. Then there will be no need for the USB drive. The MacPros will just PXE boot into the FOG iPXE menu. We are using the USB stick as only a stop-gap measure.

                        (Just me thinking out loud here) For FOG to backup a target computer the target computer’s OS must be stopped and the FOG linux (FOS) must be running on the target computer. So in “theory” if the MacPro was a uefi system, and you could create an at least 128MB partition formatted as FAT32, you could copy the contents of the usb drive to that partition. At this point all you would have to do is have the macpro boot from that partition. Once booted then FOG would take over.

                        It may be easier to just buy a handful of sandisk cruzer-fit install FOS on that and leave the fits plugged into the USB ports for when you need to image.

                        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
                        • S
                          sudburr
                          last edited by sudburr Oct 23, 2018, 10:38 AM Oct 23, 2018, 4:23 PM

                          Necro-bumping but I’m loving this solution; and as such I have feature requests.

                          I want two menus instead of the one. The first menu allows you to choose your FOG server from a list of options, clears the screen after your selection, then presents your existing menu as a second menu.

                          Next feature request, is a menu option to image directly without registering/rebooting.

                          Can these be done and how?

                          Orrrr, a prompt for user input prior to the existing menu that will be used to set myfogip .

                          [ Standing in between extinction in the cold and explosive radiating growth ]

                          G 1 Reply Last reply Oct 23, 2018, 4:44 PM Reply Quote 0
                          • G
                            george1421 Moderator @sudburr
                            last edited by Oct 23, 2018, 4:44 PM

                            @sudburr To do some of this you will need to become versed in grub menu design. Some can be done in grub. The deploy image function in grub is not so easy, that requires the integration of iPXE menus (which we avoided by creating a usb based tool). You can get pretty close but with static grub menus (as apposed to dynamic iPXE menus when you pxe 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
                            • S Sebastian Roth referenced this topic on Feb 20, 2023, 6:11 AM
                            • S Sebastian Roth referenced this topic on May 3, 2023, 6:14 AM
                            • G george1421 referenced this topic on May 30, 2023, 6:27 PM
                            • L louis.tasse referenced this topic on Jun 1, 2023, 4:35 PM
                            • G george1421 referenced this topic on Aug 12, 2023, 7:53 PM
                            • G george1421 referenced this topic on Aug 15, 2023, 11:56 AM
                            • G george1421 referenced this topic on Aug 15, 2023, 6:19 PM
                            • G george1421 referenced this topic on Sep 7, 2023, 10:46 PM
                            • M Manny Both-Hanz referenced this topic on Sep 28, 2023, 6:41 PM
                            • C catselbow referenced this topic on Apr 12, 2024, 4:56 PM
                            • J JamiesonCA092 referenced this topic on Nov 24, 2024, 6:27 PM
                            • G george1421 referenced this topic on Mar 20, 2025, 12:11 AM
                            • 1
                            • 2
                            • 1 / 2
                            • First post
                              Last post

                            288

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project