• Capturar imagen en un segundo disco que he montado

    Solved
    23
    0 Votes
    23 Posts
    5k 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
    1k 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
    281 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
    538 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
    232 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
    373 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
    818 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
    940 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
    855 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
    498 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
    723 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
    1k 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.

  • IPXE Boot Problem - No such file or directory after installation of SSL

    Solved
    5
    0 Votes
    5 Posts
    663 Views
    L

    @Sebastian-Roth

    First, sorry for the delay of the answer, it was a busy day and I hadn’t access to the network this weekend.

    We continued to search for the problem and finally, we found there was a problem with the copy of a file from /path/to/fogproject_git_repo/packages/tftp to /tftpboot. The file “default.ipxe” was missing. We saw that with a capture of the trafic and the analyze of the pcap.

    So finally, everything works !

    To be sure to well understand, we made a new install from scratch and it’s work perfectly (Fog server & the SSL) !

    In resume, here is the steps I made :

    Install of fog with the “-S” option to activate SSL Copy of the certificate and the private key on the machine Edit the Vhost file with the path of the private key and the certificate (with a restart of Apache2) Modify the CA by default in the directories /etc/apache2/ssl/CA/ and /opt/fog/snapins/ssl/CA/ with our own CA Execute the script buildipxe.sh from the directory /path/to/fogproject_git_repo/utils/FOGiPXE/ And finally, copy the new binaries from /path/to/fogproject_git_repo/packages/tftp to /tftpboot (The step I missed 🙂 )

    Now the server is secured and, incidentally, it’s working !

    Thank you for the support !

  • 0 Votes
    5 Posts
    1k Views
    Tom ElliottT

    @Bill-Rice
    You are safe to run the install in /opt/fogproject as needed.

    I’d suggest

    Copy the current /opt/fog/.fogsettings file to /root/.fogsettings Delete the current /opt/fog Copy the original server’s /opt/fog to the new server into /opt/fog as well. Copy the /root/.fogsettings to /opt/fog/.fogsettings file. Rerun the install to be on the safe side.
  • Could not complete tasking (/bin/fog.upload)

    Solved
    5
    0 Votes
    5 Posts
    709 Views
    Tom ElliottT

    @AdamH From the sounds of things, the storage group item is not set on the image. The GUI tries to correct for this by applying the first storage group to the image, but if there is no actual value set, this message you see will still happen.

    I’d suggest updating the image even though it shows as though it is set.

    Thank you,

  • Error while creating new image: No space left on device

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    E

    Creating an image from scratch was the solution to my problem. So further trouble shooting/hacking is not necessary 🙂

    Thanks for the help!

181

Online

12.3k

Users

17.4k

Topics

155.7k

Posts