• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. red_john
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by red_john

    • RE: Newbe Fog installation issue

      @mstumpo

      You might want to check out this guide:
      https://youtu.be/nKoqTvuOJpw

      It does a good job of explaining the installation process and the best practice for file partitons.

      posted in Linux Problems
      R
      red_john
    • RE: capturing windows 10 images

      @Sebastian-Roth
      Thank you
      Its working now, I’ve updated the post with my steps.

      posted in General Problems
      R
      red_john
    • RE: capturing windows 10 images

      @Sebastian-Roth
      Thanks, looks like I’m getting somewhere now.
      I’ve set the DHCP server on in the installation of FOG.
      Also turned off the DHCP on the Virtual box adapter (to avoid any conflicts).

      It now pickes up the server when I reboot Windows over lan.
      0_1536648227942_7a9f99c4-58c4-424d-9868-315408ee52b9-image.png

      However I do seem to run into a new error.
      0_1536648101548_ca3b6729-3263-452f-8739-74cc6b8e0cb6-image.png

      If I look it up on the iPXE page it seems to point to a DHCP error again.

      Following the instructions on the wiki page:
      https://wiki.fogproject.org/wiki/index.php?title=Booting_into_FOG_and_Capturing_your_first_Image

      0_1536651211857_2f5e86ba-c5fc-412f-8067-1d15ddbcfad5-image.png

      it still seems to give the same error when I reboot windows.
      however when i shutdown the windows vm and boot it up I get to see the fog menu.
      I’ve now approved the host using this.
      yet when it reboots I get the same error message:
      0_1536656135997_9237c28d-c0bd-4c94-ac8c-a65da9fb033b-image.png

      I get the following options if I shutdown windows and start it up again:
      0_1536656427210_5ae57ecd-276b-4315-af47-bae46619cda1-image.png

      note that I don’t have the option to select “Perform Full Host Registration and Inventory.”

      posted in General Problems
      R
      red_john
    • RE: capturing windows 10 images

      Done a fresh installation of the FOG server on Debian in Virtual box.

      this time with two adapters to ensure there all setup correctly from the get go:
      One NAT for internet
      so the installation can be done without errors. (without a internet connection this errors out)

      And one host only
      (intelchip set with a DHCP server turned on)
      0_1536224335474_4aa85874-9c5a-443f-a4a4-67f0e107a670-image.png

      My Windows VM is configured with a host only adapter as well.
      So they are on the same network.
      This is confirmed once I ping them or open the FOG GUI in edge.

      However I’m still getting the following error on windows 10 after attemting a reboot over the network (PXE)
      0_1536223624067_7ba63526-b155-43d5-88b3-4a3c100a0702-image.png

      During the FOG installation I pointed it to the correct IP for the second adapter and pointed it to the second adapter afterwards (as it requested if I wanted a different one) by default it seemed to have picked up the nat adapter.
      Given the error I expect there’s still a misconfiguration somewhere…

      At what location can I edit the ip settings for the fog server?
      I assume there is a way to do this directly via the consle.

      posted in General Problems
      R
      red_john
    • RE: capturing windows 10 images

      @Sebastian-Roth
      thanks, seem to be getting closer to the root cause.

      Getting a PXE E53 error

      As per wiki:
      The DHCP request from the PXE client to timeout.
      •PXE-E53: No boot filename received. The client received at least one valid DHCP/BOOTP offer, but does not have a boot filename to download. There are several possible causes:
      •The DHCP Server and the PXE Server were located on the same server, but one of them was moved to a different server. This would result in an incorrect PXE Server configuration.
      https://wiki.fogproject.org/wiki/index.php?title=PXE_error_code

      Guess something must have gone wrong during the installation of the fog server that caused a misconfiguration in the network settings.

      To be continued, doing a fresh re-install

      posted in General Problems
      R
      red_john
    • capturing windows 10 images

      Is there any documentation regarding windows 10 (build 1803)?
      And how to configure it so fog can capture its image and deploy an image (on the same pc or on a new pc).

      I’ve followed the tutorial on how to setup FOG on debian (using Oracle box with a host only adapter)
      https://www.youtube.com/watch?v=nKoqTvuOJpw&t=2006s

      Next to that I’ve setup a fresh windows 10 (build 1803) with the fog client
      Now this seems to work as it shows up in the FOG gui.

      However when I want to capture the image windows gets stuck in a reboot loop and the scheduled task seems to stay as it is in the FOG gui.

      The analysis:

      Running in Virtual box:
      Debian 9 The fog server:

      Adapter 1 (NAT for internet):
      0_1536663864496_732690d0-e501-4ddb-a89e-3bd148d3d260-image.png

      Adapter 2 (Host only for the lab):
      0_1536663914296_d0568262-3e72-4291-be22-b0b04af6023d-image.png

      The windows 10 machine (the machine I want to image with FOG):
      0_1536663979928_d600a614-c35b-4e80-802a-cb1f5faf2834-image.png

      Now it appeared I ran into some issue’s while configuring the static IP adress using
      /etc/network/interfaces

      source /etc/network/interfaces.d/*
      
      # The loopback network interface
      auto lo
      iface lo inet loopback
      
      # The primary network interface
      allow-hotplug enp0s3
      iface enp0s3 inet static
            address 192.168.142.8
            netmask 255.255.255.0
            gateway 192.168.142.1
      
      allow-hotplug enp0s8
      iface enp0s8 inet dhcp
      

      However this turned out to throw a [FAILED] Failed to start Raise network interface.
      during startup, so I got some issue’s getting both my adapters to work.
      Any of the work arounds I found broke the installation of FOG.

      So I’ve decided to re-install debian this time with the GUI and Gnome.
      As such I’m able to configure the network interface using the gui:
      I also made sure the mac is also selected for both interfaces, as it didn’t show up when running ip addr in the command line.

      The first adapter is just set to DHCP.
      My second adapter is static.
      0_1536666032888_fb2663da-3d72-48c8-9fcb-38470b9a41ac-image.png

      The fog installation:
      0_1536667285608_efd138be-4ee5-4da0-8a6c-b6017dc18df1-image.png

      note the router is the VBox adapter ip (192.168.142.1)
      If you want to check yours go to global tools > Host network manager > properties > adapter and check the IPv4 address

      Next I install the Fog client on the windows machine (using sysprep so I can set it up before any users are made).
      see: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_with_Sysprep
      Note: make sure you remove the windows iso before you run the sysprep reboot.

      After this I finish off the installation of Windows 10 and setup a test user.
      Once you login the fog client shows up in the hidden menu on the task bar (so the installation went correct).

      At this point I got the error when rebooting windows and attemting a PXE boot.
      as it turns out this is a Exec format error
      see: https://wiki.fogproject.org/wiki/index.php?title=Booting_into_FOG_and_Capturing_your_first_Image

      To fix this run the following in the terminal:
      file /var/www/fog/service/ipxe/bzImage

      Note that the windows system still gives the same error if you do a restart.

      However a shutdown and startup from virtual box works
      Note, I made sure network boot was setup in the system settings
      0_1536669100542_25876433-c7f5-4fcf-83f4-574028271bc4-image.png

      It now allows me to approve the host.
      0_1536669134069_ab342b99-3888-483b-a812-8d8d0a5039e4-image.png

      once that process is complete it will reboot again (you get the same error again so instead boot it over the harddrive)

      I now created an image, associated it with the host and scheduled a capture task:
      0_1536669552713_8ecd07e3-fd02-4f21-8c96-2a961ac694c1-image.png

      The fog client will pop up in asking for a restart this shows the same error if you let it run.
      So instead shutdown the system and start it up again.
      it is now able to capture the image:
      0_1536669790153_676faaca-c1fb-4dfc-ab7b-6d0aace28da4-image.png
      0_1536669898473_2486d8e6-af74-48dd-93fc-5946f8c47b6e-image.png

      posted in General Problems
      R
      red_john
    • 1 / 1