• FOG & iPXE Anywhere - issues from boot menu

    Unsolved
    2
    0 Votes
    2 Posts
    360 Views
    george1421G

    @MichaelPower said in FOG & iPXE Anywhere - issues from boot menu:

    Just wondering if a working bzImage I can use that boots under Secure Boot?

    The issue is exactly that. bzImage is not signed so the uefi firmware will not boot it. That is the root of the issue. You could self sign ipxe and bzImage but then you will need to update the certificates in each computer to include your self signed certificate. Its possible but it is quite a bit of work to get it all setup.

  • FOG API question

    Unsolved
    2
    0 Votes
    2 Posts
    264 Views
    J

    Ok,

    I finally figured this out. I know it’s not the best method, but I prefer this than having the wording “plain text” Here’s what I did in case someone needs to do the same.

    I read that API tokens do not go well as a securestring. Here are some references:
    https://jamesone111.wordpress.com/2020/04/10/transformers-for-powershell-parameters-which-take-secrets/, and https://github.com/Azure/azure-powershell/issues/25533.

    So in order to get past this, I needed to create another variable as show below:

    $testapi1 = [pscredential]::new(“token”,$yourtoken)

    You’re basically adding the pscredential above like you’re going to setup a username, but you put something like “token” or any wording as a placeholder for the username, then put the token in.

    Then after you define the header you do something like this: $testheader.add(fog-user-token’,$testapi1.GetNetworkCredential().password)

    Again it’s not the best method, but I also read a way when you do read-host -aseecurestring and save your api there as a variable, you can dispose that variable so it doesn’t stay in memory.

    $test.disposeof

    If someone has any better ideas, please let me know as I’m always on here learning new things and want to share as well. This basically can be closed out.

  • Building FOS to include Wi-Fi support?

    Unsolved
    2
    0 Votes
    2 Posts
    348 Views
    george1421G

    @lucancurtismahoney First let me start with the yada-yada-yada. Imaging over wifi is not supported by the developers of FOG. Imaging over wifi has its use cases but also is not advised because wifi is a shared resource and your entire wifi network will suffer if you try to image over wifi. You would be better served to get a supported (by the manufacturer) usb ethernet adapter and pxe boot over that.

    With that said it might be possible to image over wifi if FOS is configured in an (unsupported) way. It will require a custom FOS Linux kernel and some tweaks to the virtual hard drive to add in the needed bits to configure wifi.

    Below is a FOG USB debug image that contains a modified bzImage and init.xz files. Use rufus to burn to a 1GB usb drive. The image is less than 500MB so don’t waste a large usb on this boot image.

    Understand this boot image WILL NOT WORK out of the box. We will use this for debugging your network adapter. Many network adapters need specific drivers to work with a linux kernel. We will find out what that firmware is with this debug usb.

    Use rufus to write the image file to the usb drive. Edit the grub.cfg file with notepad++ (not windows notepad) its located in the /boot/grub directory. At the top set the IP address of your fog server, and half way down the variable add in your wifi ssid and password. Remove the curly braces. Save the config file and then take it to your target computer. USB boot this image file on the target computer. You may see some error messages about networking, but that is expected. After a few screens you need to clear by pressing the enter key you will be dropped to a linux command prompt. See if you can see the wifi adapter with this command ip a s If you see something like wlXXXXX then the driver is loaded and you are done. If you only see the loop back (lo) adapter then continue. Key in the following command it will look through the startup messages for anything that mentions firmware. grep -i -e firmw /var/log/messages My bet is there will be a message from the intel wireless (iwlwifixxxxx) saying that it needs a specific firmware to load. Take a clear snapshot of the name of the firmware name with a mobile phone and post it here. I will patch the kernel with the required firmware and upload it with additional instructions.

    https://drive.google.com/file/d/1psCrPVzBTvlakLkCMvhdoScAEZp1CKE6/view?usp=drive_link

  • ASUS NUC14RV iPXE PXE boot

    Unsolved
    3
    0 Votes
    3 Posts
    586 Views
    Gordon TaylorG

    your right they do support PXE boot i found the option right at the bottom in the bios you can choose between PXE HTTP and iSCSI
    i didn’t do enough scrolling down last time i looked.

  • FOGTaskScheduler 100% CPU

    Solved
    3
    0 Votes
    3 Posts
    369 Views
    M

    So I have deleted the entry with no data

    DELETE FROM powerManagement WHERE pmMin = '' OR pmHour = '';

    The problem is resolved.
    I have backed up the table before 😉

  • Problems with storage nodes in the same system

    Unsolved
    1
    0 Votes
    1 Posts
    186 Views
    No one has replied
  • 0 Votes
    6 Posts
    719 Views
    I

    This can sometimes happen after you have sysprepped an machine and missed the boot menu prompt, entering the Out-of-box-experience. Trying to shutdown the device will leave the dirty bit resulting in the unclean error.

    To avoid having to sysprep again, allow the device to enter OOBE again and hit shift+F10 and enter “oobe\bypassnro” at the resulting command prompt. Once you hit enter, the system will perform a clean reboot, clearing the dirty bit and allowing Fog to capture the filesystem correctly.

    Hopes this helps someone else as some Dell machines are notorious for failing to get an IP from IPV4 PXE boot.

  • 0 Votes
    2 Posts
    402 Views
    I

    are they all in a clean shutdown state before starting?
    do they already have an OS?

  • srvpublic.crt has wrong IP

    Unsolved
    5
    0 Votes
    5 Posts
    861 Views
    I

    Just came across the same issue, did you fix it?

  • HP Pro SFF 400 G9 deploy very slow

    Unsolved
    1
    0 Votes
    1 Posts
    255 Views
    No one has replied
  • Queue problems when deploying

    Unsolved
    3
    1 Votes
    3 Posts
    507 Views
    DBailey635D

    @tian I’ve got exactly the same problem. The initial 10 queue items complete, but the next batch won’t start. I have to click the lightning bolt icon in the task list to force it to start. Am running up to date FOG software on a fully patched Ubuntu server.

  • Kernel Panic - Couldn't find valid RAM disk image

    Unsolved
    1
    0 Votes
    1 Posts
    254 Views
    No one has replied
  • Capture : Update Database Failed but :

    Solved
    5
    0 Votes
    5 Posts
    692 Views
    G

    Finally , @Tom-Elliott

    Reinstallation of fog solved the problem . I think the issue was linked to the fogproject account. This issue can be closed.

  • Windows 11 problems when deploying

    Unsolved
    2
    0 Votes
    2 Posts
    605 Views
    Tom ElliottT

    @infotech_22 Generally speaking, if you do setupcomplete.com, you should completely disable the FOGService as re-enable it as the final step of the setupcomplete.com script.

    The reason:

    FOGService will attempt to start up and perform its actions alongside anything else that’s occurring. Generally, when the system is setup and running just fine, things are okay because there’s no interactions, but when you pair it with the OOBE configuration stuff, where it could be changing ini’s and Registry thigns, then the FOG Client is saying “Hey restart to change the name and join the domain” or “Hey restart because I completed installing this Snapin” or whatever else may be going on, it can leave your machine in an unknown and cause issues.

    This isn’t something we’re able to fix in a codified manner unfortunately and we have given instructions many times to allow FOG Client while in OOBE state.

    https://wiki.fogproject.org/wiki/index.php/FOG_Client#:~:text=If you plan to use,the image deployment is complete.

    I don’t know if this is in the more modern Documentation, but it is in the original documentation as well.

  • Trouble imaging HP x360's

    Unsolved
    2
    0 Votes
    2 Posts
    429 Views
    Mr_____TM

    @Mr_____T Well, I have discovered a work around. According to our consultant, the legacy wrapper message in the 1st or 2nd image was kinda the key. the X360 has no wired nic port and the usb nic adabter is recognized as a legacy booting device. But the unit only boots efi. I followed this link for starters:

    Kernel runtime parameter:

    Next I added the MAC addresses from each usb dongle I have available. Then, from the fog web interface:

    list all hosts
    Select the host
    Basic Tasks tab
    Deploy tab
    Task (I first checked debug and followed the bread crumbs no issues)
    Imaging commenced.

    This is quite a bit more work than I was hoping to do just to image one machine. I was hoping someone out there could come out of the fog (pun intended) and provide some feedback.

    So this is not solved. But a work around that does. If you got this far Tx

  • Very slow image deploy to a Nutanix VM

    Unsolved
    2
    0 Votes
    2 Posts
    390 Views
    m144M

    Not sure why I did not just start with trying a pre 6.xx.xx kernel…

    Downloaded the the last 5.15.xx Linux kernel slapped it in /var/www/fog/service/ipxe/bzimage-5.15.98 updated the host kernel to bzimage-5.15.98 and BOOM 20GB/min.

    Still willing to do some testing if there is anything you need from me to see if this can be fixed in 6.xx.xx.

  • Selecting Deploy an image boots to text menu

    Unsolved
    1
    0 Votes
    1 Posts
    377 Views
    No one has replied
  • Lenovo 13W will not boot to fog after bios update.

    Unsolved
    6
    0 Votes
    6 Posts
    792 Views
    J

    @JJ-Fullmer We are using FOG 1.5.9 I have tried turning on the Mac passthough. I have tried all of the .efi bootfiles i have. We did get a machine back from Lenovo where they rolled back the biois and that one machine is working fine

  • Unclear how to drop devices into specific OUs on Domain Join

    Unsolved
    3
    0 Votes
    3 Posts
    513 Views
    JJ FullmerJ

    @joshua_mchugh George’s mention of using a post install script to do it is more advanced but very worth the effort. Having it domain joined via sysprep specialize simplifies things in the long run.
    That being said, you’re probably misunderstooding groups, because they’re a little confusing. Groups in Fog do not dynamically update the OU of the host members, but it can be used to set the OU in bulk on members. There is a plugin to change the behavior of groups if you want, but I’d try it the normal way first.
    But if you set the OU on the host, then when it joins the domain via the fog client, it will be in that OU. It will not move a host to a different OU, unless you do something like manually leave the domain and change the computer name and then the fog service will rename the computer back to what it is in fog and then join the domain in the set OU.

    I personally use a post install script now that grabs the OU from to host and Injects that into my unattend file. I believe I’ve posted some examples in the past. If I remember tomorrow when I’m at a computer and not a phone, I’ll link them.

  • Crashed Capturing Image Due To Low Disk Space, Cannot Log Back Into FOG

    Unsolved
    2
    0 Votes
    2 Posts
    305 Views
    JJ FullmerJ

    @argylega have you restarted the Mariadb and apache services, or the whole server?
    I also assume you mean you can’t login to the website. Is there anything in the apache error log?

191

Online

12.4k

Users

17.4k

Topics

155.9k

Posts