• Images partition is 1TB but only showing as 45GB in Fog

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    george1421G

    @Peter365 The only comment I can make is watch the permissions on the /images directory now. If you run into upload issues issue this command (note is a bit loose with the security, but its not too big of a risk) chmod -R 777 /images

  • DNSMASQ setup help

    Unsolved
    53
    0 Votes
    53 Posts
    34k Views
    P

    @Wayne-Workman a bit late in the day but have just setup Fog Imaging server. Could get Realtek Nics to work. Your post solved the issue.

  • Hardware Agnostic Mobile FOG

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    L

    I have been paying with this for a bit now and was working through a scenario where the OS doesn’t get an IP so trying to statically assign one, at least temporarily. I wasn’t able to get it to work but I think it just needs a little more time to work on this scenario. Otherwise, this works quite well. I did some minor tweaks so that my end user only had to boot to the USB drive and after the cron job runs keep an eye on the screen for the IP of the FOG server which I echo’ed out at the end of the script using: printf “The IP of the FOG server is: $IP \N” > /dev/console

    I sent it off to a co-worker in another location and asked them to just plug in the USB drive, boot to it, wait for the message then try another machine to see if he got the FOG menu. He did and was able to register the machine with FOG and pull an image down so I’m marking this:

    SOLVED!!!

    I may try to go back when I have some time to finish hashing through the statically assign an IP if you don’t get one scenario…

  • rcu_sched self detected stall on CPU when Deploying

    Solved
    19
    0 Votes
    19 Posts
    4k Views
    W

    Current Solution set Kernel to 4.19.64 and set global option in Fog Configuration–> FOG Settings --> General Settings --> Kernel ARGS to tsc=unstable

    Luckly this is the last year for these machines.

  • Capturar imagen en un segundo disco que he montado

    Solved
    23
    0 Votes
    23 Posts
    6k Views
    george1421G

    @oliver just so you know the linux user fog or fogproject should never be used for system administration. These accounts are owned by the fog program and will reset their passwords each time you install FOG.

    We are glad you have it working now.

  • Black screen and blinking cursor after selecting anything from FOG menu

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    S

    @Brad-Schumann From what you wrote so far I am fairly sure this is a different issue than we had before. Please open a new topic and post more details on when this is exactly happening. When there is a task scheduled or if you try to register the host or what?

  • NEED Help with Booting to fog wth UEFI

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    george1421G

    @darkxeno In the dell firmware switch the disk controller from Raid-on to AHCI mode. Unless you have more than one disk connected in a raid configuration raid-on mode doesn’t help you. There is a document issues between linux and intel controllers in raid-on mode. Once you have imaged with fog you can switch back to raid-on mode or leave it in ahci mode. It doesn’t matter to windows.

  • Things to know about Fishing Kayak

    Solved
    2
    0 Votes
    2 Posts
    410 Views
    george1421G

    @Celena said in I have a problems! I need your help:

    he computer reboots before Windows has a chance to set up completely.

    This is probably because you didn’t follow the guidance on the wiki about disabling the fog service on your reference image and then enabling it in your setupcomplete.cmd batch file.
    https://wiki.fogproject.org/wiki/index.php/FOG_Client#FOG_Client_with_Sysprep (but that’s just a guess)

  • Snap-In not deploying with Image

    Solved
    4
    0 Votes
    4 Posts
    689 Views
    D

    George,

    I have another question, this time about sysprep. Why do we need to go through OOBE for an installation that is all in the same locale? Wouldn’t it be easier to just generalize and be done? And if doing that, do I still need to disable the Fog Client Service before doing it?

    Thank you,
    Dave

  • Problema para inventariar uma maquina no virtual box

    2
    0 Votes
    2 Posts
    288 Views
    george1421G

    What device is your dhcp server. I’m going to guess it is a soho (home) router? The reason I think this is your gateway is 192.168.0.1 and your next server (from the picture) is also 192.168.0.1. Home (soho) routers will often say they are the pxe boot server and not the fog server.

  • Capture error Windows/Linux Partition Count Fail

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    Tom ElliottT

    @Sebastian-Roth if I had to guess it’s lvm setup.

  • 0 Votes
    7 Posts
    1k Views
    Jonathan CoolJ

    This old topic is solved !
    I was setup a new FOG stable server on a debian (on a new disk) and snapins works flawlessly.

    Solved ! 😉

  • Some Quick Reg questions.

    Solved
    4
    0 Votes
    4 Posts
    579 Views
    george1421G

    @slipke Well if you wanted to do it in the auto reg it will be a bit harder than manual registration, but here is the curl call in the fog.auto.reg program. https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.auto.reg#L73

    Before that curl call you will need to collect the serial number of the machine. The trick is the serial number is saved in the smbios in different locations for different manufacturers.

    If you look at this post it shows you how to get the serial number for the two chassis types I had to interact with: https://forums.fogproject.org/topic/6304/fog-2-0-request-advanced-host-naming/2 It also shows how to create a complex computer name based on several factors on the fly. So you will need to compute/collect the serial number and pass it along with the other arguments to the php file mentioned in the curl call. And then in the php code read that variable and place it in the hostname variable instead of the mac address.

    If you wanted to do this using the manual registration fog.man.reg where it asks for the user to input the host name into $host just use the dmidecode value to copy the serialno value into the host variable. https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.man.reg#L161

  • 0 Votes
    5 Posts
    1k Views
    R

    @aborn

    Good day.

    Did you get any resolution for this problem?

    I have Fog 1.5.7 on CentOS 7 with the specified partition sizes. All other settings as default, firewall and SELinux are disabled. My image name is W10E.

    I get the same results as you did, also with the image files appearing in the /images/dev folder, then in /images/W10E and then disappearing again.

    I sort of got around it by copying the /W10E folder to /W10E (copy), wait for /W10E to disappear and then rename the copy as /W10E. And I can deploy this image, absolutely no problem.

    Many thanks
    rarcher2

  • Client Stops Loading After refind_x64.efi

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    C

    Would just like to add to this - I recently ran into this same issue again. Racked my brain trying to figure out what I did wrong or what setting could have possibly changed. Here’s what I found out.

    I was using the above PC again after cleaning and prepping to capture another image. This PC was already registered in FOG. I deleted the host and attempted to PXE boot again and everything went smooth as butter. Looks like there’s an issue booting if the device is already registered. I’m not sure what the issue is, but deleting the host and re-registering solved it.

  • Multiple Partition Image - All disks > with Intel RAID

    Solved
    4
    +0
    0 Votes
    4 Posts
    1k Views
    K

    I have the same problem here, i have an Ubuntu client with multiple disks and partitions, and when I try to capture the image i have the same errors, I tried a lot of options without success.

  • mounting nfs failing

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    R

    Network similarities are as follows
    Same network same switch same router

    differences are as follows
    motherboard
    Bios
    network adapter
    CPU
    (everything)
    its a uefi bios

    the network adapter

    I have 4 different PC models scattered about the place and get different results on them all some boot and mount the nfs others time out

  • Quick Registration and Inventory Host - Lenovo T590

    Solved
    4
    0 Votes
    4 Posts
    603 Views
    george1421G

    @montesd Ok for that old version of FOG, you need to be on FOS Linux version 4.12.x to have the driver for the I219-LM or i219-V network cards. You can manually download the kernels from here: https://fogproject.org/kernels/

    You will want to download
    Kernel.TomElliott.4.12.3.64 and save it as bzImage
    and
    Kernel.TomElliott.4.12.3.32 and save it as bzImage32

    Watch your case because it is important. These files go into /var/www/heml/fog/service/ipxe directory. Rename the existing files in case you have to back up.

    Also you can try the latest kernels with
    Kernel.TomElliott.4.19.64.64 and Kernel.TomElliott.4.19.64.21.32 but there is no grantee that they will work with the older inits (YMMV). These would latest kernels would supported the newest hardware with the risk of incompatibility with the inits (FOS Linux virtual hard drive).

  • Working with a custom host registration form

    Solved
    3
    0 Votes
    3 Posts
    822 Views
    C

    So following the link in list item #1, I ran into some issues. I created the fog.patch.man.reg file as directed, copying the quoted text into the file and chmod’ing it to 755. Your step 4 mentions editing fog.postinit, which is a file I don’t have. I wondered if you were missing a step that indicated to run the patch script, so I ran it with # ./fog.patch.man.reg and got the following output:

    ./fog.patch.man.reg: line 12: /usr/share/fog/lib/funcs.sh: No such file or directory Testing path for our fixed file at fog.reg.man.fix ./fog.patch.man.reg: line 15: debugPause: command not found Failed to find file [fog.reg.man.fix] sorry. Copy Failed ./fog.patch.man.reg: line 26: debugPause: command not found

    I am thinking that my issue is possibly advice in this forum thread, which suggests that it’s safe to delete the contents of /images/dev/. The thread is from 2016, so perhaps dev gained more purpose than a temporary dumping ground for in-progress captures? I arrived at that thread some time ago, for the same reason as the OP - I was running out of disk space and found out it was because of occasionally-failing captures. Deleted the contents of the folder and everything was good again.

    Following the link to list item #2, “Using scripts” was a non-starter. I have /opt/fog, but don’t have utils within that directory. Instead, I have log, service, and snapins. I ran find -iname *image* and didn’t find FOGMountBootImage.sh in the results.

    I followed the instructions in the “By Hand” section for Version 1.0.0 and up. I had trouble running mount -o loop init{,_32} initmountdir as CentOS didn’t like that command, so I made the assumption that it was trying to mount two directories within initmountdir (init & init_32). I ran that command as such:

    mount -o loop init initmountdir/init mount -o loop init_32 initmountdir/init_32

    I then navigated to initmountdir/init{,_32}/bin and changed each fog.man.reg to the file I had created. It sort of worked after I packed everything up, in that things did change, but the registration didn’t act as expected. I entered a hostname as requested, left image ID blank and hit Enter, then it went to a blank line. I waited, but eventually hit Enter again, which then asked if I wanted to associate with groups. After that, when I hit Enter, it dropped to a new blank line, but didn’t continue the form. I possibly have a malformed file (I had a few errors along the way, fixed based on my knowledge of what was wrong). If you’d like, I can attach it. Any thoughts on some of the other issues above?

    Also, I was wondering, how would I create a new menu entry, so that my tests show up as a separate item from the primary full registration?

  • FOG Client Not Responding To New FOG Server

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    S

    @tech04 You don’t need to worry about the FOG Project certificate. This is for verifying the signature of the fog-client software components (needed as we provide auto update in SYSTEM context).

    FOG Server CA is the one you need to exchange.

    Location should be Local Machine\Trusted Authorities. But I don’t have a Windows PC at hand at the moment. This is just from the top of my head.

82

Online

12.4k

Users

17.5k

Topics

156.0k

Posts