• 0 Votes
    1 Posts
    262 Views
    No one has replied
  • Issues Setting Up FOG Server with Hyper-V (Network Boot Fails)

    Unsolved FOG Problems
    3
    0 Votes
    3 Posts
    705 Views
    T

    @rodluz

    Alright it works thank you.

  • added a new storage disk but now I can only image and not restore

    Unsolved FOG Problems
    4
    0 Votes
    4 Posts
    922 Views
    I

    @JeremyL Hi, yes I am sure I have run Fog under Proxmox as well successfully but this time it didn’t want to work. Anyway once I switched to using Fog running under a Container, it uses much fewer resources and runs just as well.
    So I would recommend switching to running it under a container when possible.

  • Run script after OOBE

    Moved Unsolved Windows Problems
    6
    0 Votes
    6 Posts
    4k Views
    R

    @rodluz

    ok scrap the local GPO done this and it works

    reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v firstlogon /t REG_SZ /d powershell -noexit -ep bypass c:\users\admin\sysprep\firstlogon.ps1 /f
  • Portable Use of FOG

    Unsolved General
    5
    0 Votes
    5 Posts
    4k Views
    D

    @george1421 thanks for continuing to provide such detailed information.

    I believe the best way to learn is to do, so i am going to go shopping for an SSD (and perhaps some RAM to be safe). Once I have everything in place, I am going to do a test run on our machines as well as those of an associate just to see what happens when the network changes. Following this, I will check back with you if you don’t mind to go through the results.

  • Fog iPXE Menu no input

    Unsolved FOG Problems
    31
    0 Votes
    31 Posts
    17k Views
    T

    Hello,
    In my attempt to switch to HTTPS for the Fog server, I encountered the same issue of the keyboard being disabled in the iPXE menu. After several unsuccessful tests, I consulted Copilot. After reviewing all the scripts and .h files, it indicated that the issue stemmed from the size of the iPXE.efi file I was using. It was too large due to all the necessary modules for HTTPS, causing iPXE to deactivate the USB keyboard functionality during loading. Consequently, I opted for snponly.efi instead, and now the keyboard works perfectly.

    I modified the script buildipxe.sh :

    sed -i ‘s+#define USB_HCD_USBIO+//#define USB_HCD_USBIO+g’ config/usb.h
    sed -i ‘s+#define USB_KEYBOARD+//#define USB_KEYBOARD+g’ config/usb.h
    sed -i ‘s+//#define USB_EFI+#define USB_EFI+g’ config/usb.h

    May I propose a change in the console.h : Could you set the keyboard map to “dynamic” instead of “us” ? That way we can easily set our language in default.ipxe

    //#define KEYBOARD_MAP us // Default US keyboard map
    #define KEYBOARD_MAP dynamic // Runtime selectable keyboard map

  • Client hostname change problem

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    260 Views
    No one has replied
  • turning on secure boot after windows

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    361 Views
    No one has replied
  • how to turn off https support

    Unsolved FOG Problems
    7
    0 Votes
    7 Posts
    2k Views
    R

    @Tom-Elliott is there a way to find out where its failing

    i have the PCAP file if interested?

  • 0 Votes
    1 Posts
    332 Views
    No one has replied
  • images no size on web portal

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    242 Views
    No one has replied
  • Booting from SAN device 0x08 failed

    Unsolved FOG Problems
    7
    0 Votes
    7 Posts
    1k Views
    A

    I found out what’s causing the problem. The HP BIOS somehow configured the hard disk as a RAID by default. Removing the RAID, and the machine will boot to Windows after iPXE instead of looping.
    Thank you for your input.

  • Windows server 2008 virtual to physical

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    254 Views
    No one has replied
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    437 Views
    No one has replied
  • FOG Storage issues

    Unsolved FOG Problems
    1
    0 Votes
    1 Posts
    264 Views
    No one has replied
  • updating from stable to working branch but get schema error

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    330 Views
    R

    tbh i am running fog on centos 7 so maybe its time to re install the OS to rocky 9.5 or ubuntu 24

    what OS do you recommend?

  • FOG API question

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    459 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.

  • usb network boot ipv4 network disabled

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    389 Views
    R

    any help?

  • Building FOS to include Wi-Fi support?

    Unsolved FOG Problems
    2
    0 Votes
    2 Posts
    620 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