• iPXE open command line

    11
    0 Votes
    11 Posts
    5k Views
    O

    @george1421 Thanks, I really appreciate your help!

  • Inventory

    6
    0 Votes
    6 Posts
    843 Views
  • Image Size differences -Legacy/Uefi

    4
    0 Votes
    4 Posts
    750 Views
    george1421G

    @fatbunny I think I would take this approach. Recreate your master image using the smallest disk possible. Make sure the root lvm volume is the last one allocated on the disk. Capture with FOG it will still capture as RAW. Then using a post install script that detects either the image name or linux issue the LVM commands to extend the lvm volume to the size of the (new) disk and then extend the root lvm volume to the size of the lvm disk. Its a bit strange on how to handle it, but it should work.

    The basic idea is to create your source image as small as possible then expand it post deployment.

  • Invalid Storage Group

    Solved
    17
    0 Votes
    17 Posts
    4k Views
    D

    I know this is kind of old, but I had this same issue yesterday. I fixed it by running the installer and upgrading.

    I think it would have been fixed by simply re-running the installer if I didn’t have to upgrade. I was only one version behind. I’ve notice most issues with Fog can be fixed this way.

  • New Fog server set up

    17
    0 Votes
    17 Posts
    3k Views
    JJ FullmerJ

    I just figured out that sending stuff out with the image doesn’t work as well as one would like. None of the fog hosts seem to be working and the like. I try to make it grab the new image off one of the clients and it doesn’t actually grab them.

    What do you mean by this? Do you see anything in the C:\fog.log on the clients? Or are you saying that they aren’t imaging correctly?

    For that example snapin, if you’re just wanting that file to show up in C:\users a simple snapin pack. I’d take a look at the link @george1421 gave on snapinpacks and make a zip with a script that copies that file to C:\users.

    As a simpler test you could create a powershell or batch script that just makes a hello world text file and see if that works.

    i.e. powershell

    "Hello World!" | Out-File -encoding oem -filePath C:\users\public\Desktop\hello.txt -force;

    So put that into a file called hello.ps1 and make a new snapin with the Powershell template and upload the simple script. The snapin read-only command at the bottom should look like this
    powershell.exe -ExecutionPolicy Bypass -NoProfile -File hello.ps1
    Then add it to a host and deploy it as a single snapin task and see if it works.
    You can deploy it then if you have access to the host you can run this in powershell to open up a dynamic version of the fog log to watch what’s happening on the client

    cat C:\fog.log -wait ##cat is an alias for get-content. You can also do this with Get-FogLog if you install the FogApi powershell module
  • FOG In Remote Environment

    6
    0 Votes
    6 Posts
    742 Views
    N

    @george1421 Yeah, I think having a FOG server at the 3 locations is probably the logical option. Which weirdly enough building those out and ongoing support would still be significantly cheaper than the ongoing subscription we have with SmartDeploy.

  • Unkown character appears; UEFI boot "ipxe.efi�"

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    S

    @george1421
    Thank you very much, thats all i need to know.

  • Wrong interface for host registration

    8
    0 Votes
    8 Posts
    1k Views
    george1421G

    @Julien-asv I’m glad you have a working path. Yes you will need to get in contact with your network admins to enable port-fast on every network port that you need to pxe boot from. This is a common error when people leave the default settings enabled on their network switches. So we have seen it before that is why I had you try the “time fixed it” path for debugging.

  • HP desktops/latops no Windows boot manager after imaging

    2
    0 Votes
    2 Posts
    454 Views
    P

    I didn’t have time to test the rEFInd downgrade yet but found a workaround for the issue with the missing boot entry in the BIOS.

    Rebuilding the BCD obviously solves the “problem” (which only HP BIOSes have).

    Recovery process in short:

    Boot to recovery console Assign drive letter to EFI partition rename old BCD (\EFI\Microsoft\boot\BCD) bcdboot c:\Windows /l en-us /s [Assigned letter]: /f ALL

    Still I’m wondering why this is an HP only issue.

    Edit: I’m almost sure that “bcdboot C:\Windows /addlast” will also do it but currently do not have a victim to test upon.

  • Not able to capture Image

    15
    0 Votes
    15 Posts
    3k Views
    george1421G

    @Chad said in Not able to capture Image:

    My biggest pain point was letting my Check Point firewall handle DHCP. All options were set properly, however the TFTP file name was never passed to the host, so it got an IP, but didn’t know what to do next.

    This is what I’m thinking about the sonicwall, or its not configured correctly for dhcp options 66 and 67. Also what we find in most firewalls is that they only support static dhcp options. So with static dhcp options you have to pick either bios or uefi support.

    I solved this by creating a separate subnet and then letting FOG handle DHCP on that network.

    This is not necessary if you install dnsmasq on your FOG server. DNSMASQ only supplies pxe boot info overriding anything the dhcp server tells the client. We find most soho routers will always send the lan interface as the boot server instead of the FOG server. DNSMASQ will fix this broken behavior.

    If the OP has the sonicwall configured correctly and the target computer still isn’t pxe booting we have a tutorial on configuring the FOG server to capture the pxe booting process so we can see what is going wrong.

    Sonicwall help shows how to configure the sonicwall for pxe booting: http://help.sonicwall.com/help/sw/eng/published/1334883822_5.8.1/PANEL_dhcpStatProps.html Relevant steps are 18 == ipxe.efi and 19 == fog server IP (I know it says dns name, use the ip address here). Note you may also need to configure the generic options in step 20 for dhcp options 66 and 67. Some dhcp implementation steps 18 and 19 are configuration for bootp and step 20 is for dhcp booting. They are two different protocols.

  • FOG with UEFI HP

    6
    0 Votes
    6 Posts
    1k Views
    george1421G

    @ricardomartins So you are using the FOG server for dhcp services? If so then its already configured for dynamic pxe booting between uefi and bios. There is nothing else you need to do then.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Change FTP on fog server to SFTP??

    5
    0 Votes
    5 Posts
    1k Views
    S

    @george1421 said in Change FTP on fog server to SFTP??:

    So that means FOG would need to compile lftp for the FOG host server during install. I have not checked the lftp from FOS Linux but we would also need to ensure that lftp in FOS supports ssl too. We have a bit more control of FOS Linux support of ssl than the FOG Host server.

    From my point of view FTPS (FTP with SSL) is no better than FTP from a firewall/network/security point of view and I wouldn’t spend a second on trying to make this work.

    If we really think about making this part more secure I would want to push this down the SSH/SCP/rsyncOverSSH way instead! I have not looked into this yet but I could imagine we can make this work for 1.6.x some weeks down the road.

  • Default profile - LDAP connection

    4
    0 Votes
    4 Posts
    614 Views
    Wayne WorkmanW

    I think he’s asking for a default role via the access control plugin. @Fernando-Gietz any thoughts on that?

  • Associate an image with a site

    3
    0 Votes
    3 Posts
    493 Views
    Wayne WorkmanW

    This is interesting, I can see how it could be useful, though understand it would take valuable developer cycles for a thing that perhaps could be achieved in another way using existing features, without development efforts. @Nicolas-Bricet have you considered the following? setting an image for hosts in a particular site via groups, such that when imaging happens, the host’s image which is already set is used.

  • 0 Votes
    6 Posts
    776 Views
    C

    @george1421 To be honest, I would rather not go with a custom n12 image as I want this to be as easy as possible for anyone to use this… The plugin/snapin method seems like it would be the cleanest way to handle things. I am currently looking for such a plugin to allow me to add “boot to PE” as an option on the same level as deploy and capture. the people using this most are already familiar with that process and if I could just throw this in, the same way then I feel like this would be the more sensible outcome.

  • Please help me to path the fix number of image

    3
    0 Votes
    3 Posts
    273 Views
    K

    @Sebastian-Roth Please help me to delete it. Thanks!

  • How to fix number image

    9
    0 Votes
    9 Posts
    1k Views
    K

    @Wayne-Workman
    Can you give me a path to insert this code? Many Thanks!

  • Booting accros networks

    2
    0 Votes
    2 Posts
    337 Views
    george1421G

    @ZrytyADHD said in Booting accros networks:

    You have a number of problems here.

    FOG doesn’t like it when you change the fog server’s IP address after FOG is installed. There are several steps that you must do if you decide to change the FOG server IP address after fog is installed.

    Why are you mixing WDS and FOG in your booting process? You can do manage it but I would go about it a bit differently.

    Your section of the isc dhcp server is just wrong in my opinion.

    if exists user-class and option user-class = "iPXE" { filename "http://10.0.0.68/boot.php"; } else { if option arch = 00:00 { filename "undionly-mj2.kpxe"; } else { #UEFI Bootujemy z WDS UEFI next-server 10.249.4.20; filename "boot\\x64\\wdsmgfw.efi" } }

    a. I’m not aware of a user class in the dhcp discover packet. There is a vendor class
    Vendor class identifier: PXEClient:Arch:00007:UNDI:003016

    b. The following line is wrong for several reasons

    filename "http://10.0.0.68/boot.php";

    b.1 you are telling the PXE rom to load a http protocol. Almost all PXE roms use tftp not http.
    b.2 The path to the boot.php is wrong if you are trying to call the boot.php on the fog server the path is <fog_server_ip>/fog/service/ipxe/boot.php

    For this I would just use filename "default.ipxe"; but that still will not work because you don’t mention the boot loader (undionly.kpxe or ipxe.efu)

    c. You are saying if the option is bios then load undionly-mj2.kpxe (not a fog supplied boot loader) but if everything else call WDS. But only do this if user-class == “iPXE”

    d. uefi pxe booting into FOG is not supported

    There are ways to fix this, dhcp booting, but please explain why you are mixing FOG and WDS. What is your goal of doing this? Will it be a for ever solution?

  • Increase LDAP plugin logging

    15
    0 Votes
    15 Posts
    2k Views
    S

    @jdmiller323 @jmvela2x Is this still causing you trouble or were you able to set it up?

152

Online

12.3k

Users

17.4k

Topics

155.6k

Posts