• 0 Votes
    1 Posts
    404 Views
    No one has replied
  • How to configure pfSense for netbooting

    Tutorials
    1
    0 Votes
    1 Posts
    9k Views
    No one has replied
  • HyperV Gen1 Hangs on iPXE Initializing Devices

    Tutorials
    4
    2 Votes
    4 Posts
    2k Views
    L

    @Gerrit-Anderson Thanks for this – fixed this issue for me! I used to get stuck on Init, but can get further now into the actual boot menu like you. I too have lost my custom background but really that’s a non-issue.

    However, when I try to deploy an image, it asks me for a password (which is the FOG webUI username & password of course). I don’t recall this happening with my old TFTP boot files – I guess they must have had the password embedded in there somehow? Anyone know how I can fix this?

  • Using FOG to boot Sergei Strelec over Network

    Tutorials
    1
    0 Votes
    1 Posts
    453 Views
    No one has replied
  • Bootres-dll Error

    Tutorials
    1
    0 Votes
    1 Posts
    291 Views
    No one has replied
  • WinGet installation as a snapin

    Tutorials
    2
    0 Votes
    2 Posts
    938 Views
    R

    Copy and pasted for the Chocolatey wrapper ChocolatePy
    Pretty much same same. Just Chocolatey won’t neccessarily give an error on the exit code on failure if a program is already installed.

    https://github.com/mediocreatmybest/FOG-O-Matic/blob/main/FOG-Snapins/ChocolatePy.py

  • 0 Votes
    2 Posts
    606 Views
    george1421G

    @mmw_canada lspci and lsusb is already built into the FOS Linux image. You should only need to patch fog.auto.reg if you need extra stuff. There is no need to unpack and repack init.xz unless you really want you. I have a tutorial on dynamically patching the init.xz file here: https://forums.fogproject.org/topic/14278/creating-custom-hostname-default-for-fog-man-reg

  • 0 Votes
    2 Posts
    772 Views
    george1421G

    @gafferwiles When you use a NAS as a storage node there are a few things that happens.

    FOS Linux (the OS that runs on the target computer) loads the image from the target computer onto the storage node (FOG or NAS) using NFS. The files are uploaded using NFS to /images/dev directory which is read write access. Now the user ID and password comes into play. The management user ID and password is used because the FOS Linux OS connects to the storage node using FTP to move the raw data files from /images/dev/<mac_address> to /images<image_name> directory. So you need to make sure the management user ID and password has rights on the NAS to login via FTP and can execute the mv command to move the files.

  • Storage with NFS share on NetGear ReadyNAS

    Tutorials
    1
    1 Votes
    1 Posts
    811 Views
    No one has replied
  • FOG Post install script for Win Driver injection

    Pinned Tutorials
    69
    8 Votes
    69 Posts
    68k Views
    JJ FullmerJ

    @Coolguy3289 Sorry for the crazy delayed reply, I just saw this, I must have missed the notification

    This is what my general structure looks like. You would not need to recreate that with the + pseudo wildcards, that is part of my windows side matching that I have now actually replaced with this modellist method. The grep line will search each model folder in the given make folder regardless of its name. I will probably end up changing those folders to be something like HP ElitePro G# or something like that.

    e880c851-3f3c-418d-adb9-8ff886199667-image.png

    Then say I have a HP Elite Mini 600 G9 Desktop PC

    This bit

    makePth="/images/drivers/${make}" cd $makePth;

    Should get me into the /images/drivers/hp folder

    Then this listFile=`grep -il "$model" ./*/*-ModelList.txt` should search each HP ModelList.txt for that model string using grep and return the matching modelList file with a match. In this case it would match /images/drivers/hp/HP + +00 G9+/HP + +00 G9+-ModelList.txt as that file looks like this where I have various possible matching model names these drivers apply to including the one being searched for

    HP Elite Mini 600 G9 Desktop PC HP Elitedesk 600 G9 DM HP Elite Mini 800 G9 Desktop PC HP Pro Mini 400 G9 Desktop PC HP EliteOne 840 23.8 inch G9 All-in-One Desktop PC

    And then this remotedriverpath="$makePth/${listFile%/*}" should point to the parent path of where the found ModelList.txt file was found and it will then proceed to inject that folder to `C:\Out-Of-Box Drivers\HP + +00 G9+

    And as to creating those modelList.txt files, it’s easier than it sounds, especially if you use the fog api powershell module FogApi (see my signature).

    For example, to get all my current HP (and any other make that stores the friendly name of their model in system-product-name) model names as they are detected by fog you would setup the FogApi module in powershell

    Install-Module FogApi; Set-FogServerSettings -interactive

    Then this one liner would get all your fog host inventories, select just the sysman and sysproduct fields, and then sort it to unique model names giving you a list of model names you have in your inventory

    (get-foghosts).inventory | select-object sysman,sysproduct | sort-object sysproduct -Unique

    You’d also what to run these other 2 commands to get lists of other model names stored in system-version or baseboard-product-name

    (get-foghosts).inventory | select-object sysman,sysversion | sort-object sysversion -Unique (get-foghosts).inventory | select-object sysman,mbproductname | sort-object mbproductname -Unique

    You could probably expound from there to programatically create to folder structure and the modelList files of your current hosts, but I don’t have time at the moment to get that deep into it. I don’t have that many different models and already had the folder structure so just getting those lists was all I needed to construct the model list files

  • Powershell and fog

    Tutorials
    8
    0 Votes
    8 Posts
    2k Views
    S

    @jamaal said in Powershell and fog:

    . I’m not sure on how to check the apache error logs.

    You need console access (e.g. SSH) to your FOG server. See my signature on where to find the logs files.

  • Image Manager Definition

    Tutorials
    3
    0 Votes
    3 Posts
    794 Views
    Z

    @sebastian-roth thx for ur info

  • WAPT snapins

    Tutorials
    4
    1 Votes
    4 Posts
    897 Views
    F

    I use WAPT to deploy softwares but i don’t understand your use case.
    Why not just deploy WAPT agent and use command like “wapt-get install tis-yourPackage” ?

  • Windows 7 Deployment FOG- SAD2 Driver tool

    Tutorials
    228
    4 Votes
    228 Posts
    484k Views
    R

    @george1421 Thanks for the tutorial, i’ll try it.. .

  • 0 Votes
    3 Posts
    721 Views
    D

    @fog_newb Thanks a lot,

  • ESXi PXE UEFI boot RTS error workaround

    Tutorials
    6
    0 Votes
    6 Posts
    10k Views
    Anubis.DraculA

    @george1421

    Huh, your Google-fu is stronger than mine. I searched on google but didn’t find the link you provided. Thank you for the quick reply 🙂

  • Spec pc deploy

    Tutorials
    1
    0 Votes
    1 Posts
    428 Views
    No one has replied
  • Set Ipxe Menu selected Item conditionally

    Tutorials
    6
    0 Votes
    6 Posts
    2k Views
    T

    Forget about it. It seems there is no easy way to do it and it’s not a big deal even if this kind of boot menu isn’t set up.
    Thanks for your guidance.

  • 0 Votes
    6 Posts
    4k Views
    D

    @george1421 Ah ok I misread the OP. Well last time I checked, True Image can still create a boot image ISO with Windows kernels in addition to Linux kernels. If I’m not mistaken I believe you need to have the Windows ADK suite installed in order to create a WinPE boot ISO.

    @Pitohui
    How big is the ISO file? Perhaps you can try the sanboot or memdisk methods?

  • Alteração de tema cores do menu do ipxe do FOG

    Tutorials
    1
    0 Votes
    1 Posts
    316 Views
    No one has replied