• Cloned PC takes longer to boot

    12
    0 Votes
    12 Posts
    2k Views
    george1421G

    @bristow-0 Ok so what I’m working on is this rough outline of a script.

    If you run this command on your target computer it should return the uuid of the swap partition.
    blkid | grep swap | awk '{print $2}'

    So if we start building a script to automate the process it might start to look like this

    !#/bin/bash uuid=$(blkid | grep swap | awk '{print $2}') if grep -Fxq "RESUME=UUID" /etc/initramfs-tools/conf.d/resume then # if found replace with new uuid sed -i 's/^RESUME=UUID.*$/RESUME=${uuid}/' /etc/initramfs-tools/conf.d/resume else # if not found just append command to config file echo "RESUME=${uuid}" >>/etc/initramfs-tools/conf.d/resume update-initramfs -u

    This script would need to be executed on first boot of the target computer is what I’m thinking.

  • Custom kernel for ProBook 450 G8 - error 127 on makefile steps

    7
    0 Votes
    7 Posts
    1k Views
    S

    @Jacob-Gallant Great this is solved. Though I am still interested to know what went wrong when you followed the instructions on compiling your own kernel. Would you try again and post the error logs here?

  • PXE boot -> PF-Sense + FOG on different networks

    3
    0 Votes
    3 Posts
    587 Views
    S

    @kofaki said in PXE boot -> PF-Sense + FOG on different networks:

    brit.xxxxxxx.net.31036 > fog.xxxxxxx.org.tftp

    What’s in between those two (public?) IPs/systems? More routers/firewalls?

  • Unit nfs.service not found, nfs-kernel-server is installed

    Solved
    6
    0 Votes
    6 Posts
    6k Views
    george1421G

    @tkrusterholz I took care of marking it as solved. Its in the tutorial section but I guess that doesn’t imply all of them are solutions. I also marked this one as solved with the correct answer.

  • Adopter for FOG not working

    2
    0 Votes
    2 Posts
    293 Views
    S

    @2016davis-emmett What exactly do you mean by does not work?? Please take a picture of the screen and post the here.

  • Is there a way to make FOG compatible with LUKS encryption?

    18
    0 Votes
    18 Posts
    2k Views
    S

    @george1421 Ok, I added things with the latest commit to the official kernels. Let me know if you think there is anything else needed.

  • Change nic issue

    6
    0 Votes
    6 Posts
    962 Views
    S

    @michaelk said in Change nic issue:

    In case like that, should i do any changes in DHCP, PHP or SQL?

    If the only thing you are changing in your setup is the NIC then nothing else needs to be adjusted.

  • How to made a new kernel

    9
    0 Votes
    9 Posts
    2k Views
    S

    @Zaqen Find the instructions here: https://docs.fogproject.org/en/latest/reference/compile_fos_kernel.html (I also updated the wiki to point to the new docs)

  • Error PHP-FPM Debian 11

    2
    0 Votes
    2 Posts
    552 Views
    S

    @ultralivre said in Error PHP-FPM Debian 11:

    fogproject-1.5.9

    FOG 1.5.9 was released only after Debian 11 came out. Please use the latest development version (called dev-branch) which you find on github.

  • Linux FOG Client, Hostname Changer not working

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    S

    @aknisly said in Linux FOG Client, Hostname Changer not working:

    If I hadn’t been able to get what I wanted with that, I’d be happy to help with the fog-client and the HostnameChanger module, but as it is, unfortunately, I’m pressed to move on to other priorities.

    Thanks for being open and honest. Good you were not afronted by my last reply.

    I would be happy to make some notes in the wiki (which is still the first place I check) if that is an option. Apparently self-registering an account is disabled?

    We work on updating and moving all the contents from the wiki to https://docs.fogproject.org and you are very welcome to help us. Please send me a private message with your github account name and we’ll permit you to the fog-docs repo.

  • Cliente não inicia servidor Fog via rede

    20
    0 Votes
    20 Posts
    3k Views
    george1421G

    @ultralivre Ok I tell you that FOG gets very angry if you change the IP address of the fog server after you install FOG.

    I can see from your screen shot that the fog server was at 10.1.140.108 when fog was installed, and now IP address is 10.1.142.73.

    If your fog server will not stay at 10.1.142.73 then you need to fix FOG settings.

    Update the hidden file /opt/fog/.fogsettings with the correct fog server IP address.

    Now rerun the installfog.sh script. It will load the previous answers from the .fogsettings file. No bad things will happen when you rerun the fog install script. But the fixed IP address in the .fogsettings file.

    Now that the installer fixed some things you need to go to the web gui and then FOG Settings -> FOG Configuration. Now hit the expand all button. Search for the old IP address and fix with new IP address. Save your settings.

    One more place you have to look is in the storage configuration. Look in the default storage node. Fix the IP address there too.

    Now fog should be happy again.

  • Testing Internet connection....Fail

    2
    0 Votes
    2 Posts
    751 Views
    S

    @WT_101 Probably you have a proxy server in your network. Search the forums for proxy and you’ll find information on this.

  • GParted Live from FOG

    Solved
    12
    0 Votes
    12 Posts
    3k Views
  • GRUB Config Lost After Imaging

    2
    0 Votes
    2 Posts
    423 Views
    george1421G

    @bramen I can’t speak so much to the grub stuff.

    What I can tell you is that FOG has the ability to run a bash script after the image has been pushed to the target computer and before the computer reboots after completing the deployment. You can use this feature to tweak settings on the target computer before the computer is first booted into the target OS. This is used commonly with the windows environment to place hardware specific drivers onto the target computer that is used during the OOBE/WinSetup phase of windows. In linux we’ve used these scripts to rename linux computer and do some post install activities.

    The FOG imaging agent is Linux based so it can’t directly interact with ms windows, but it can leave bread crumbs behind for windows to act upon. For linux target computers it can do more things. I can’t say if it can run grub commands though.

    The concept of the fog post install script is that the script will need to mount the target computer media/file system, do whatever is needed then disconnect from the target media.

    For windows I have a tutorial here: https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed While this is windows specific the setup program would be very similar for linux.

  • Update CentOS 7

    3
    0 Votes
    3 Posts
    771 Views
    T

    @sebastian-roth Thank you for the response! I’m assuming I should keep EXT4. I haven’t updated this thing in a while. I was planning to take a snapshot first but wanted to have a little better clarity. I’m running 1.58 so I will also update to 1.5.9 as well.

  • FOG Post Deploy Script Rename Host (Linux)

    3
    0 Votes
    3 Posts
    669 Views
    george1421G

    @wt_101 If I can suggest you look at this post: https://forums.fogproject.org/topic/11126/using-fog-postinstall-scripts-for-windows-driver-injection-2017-ed

    it gives you an idea how to do this with windows. You can use the same concept, except for maybe look for the partition that has an /etc directory.

    Here is a bit older script that shows a few different techniques. https://forums.fogproject.org/topic/7740/the-magical-mystical-fog-post-download-script

  • Running both CloneDeploy and FOG?

    2
    0 Votes
    2 Posts
    610 Views
    george1421G

    @vertimyst said in Running both CloneDeploy and FOG?:

    but since I have CD on our server already I can’t get anything to boot to FOG over our network - it all defaults to CD.

    Its not clear exactly what you are doing here. FOG doesn’t use a CD/DVD it boots over the network. FOG is similar to CloneDeploy or Clonezilla but different.

    For FOG you will set dhcp options 66 to the IP address of your fog server and dhcp option 67 to the boot file name. The boot file name depends on what format your computer’s firmware is in. For a BIOS computer, dhcp option 67 is undionly.kpxe and for a UEFI computer the boot file name is ipxe.efi.

    Once those values are set in your dhcp server then you pxe boot your target computer into the FOG iPXE menu.

    I have a feeling since you referenced CD several times you might be doing something non-standard with FOG. Can you explain a bit more of what you are trying to do?

  • Unable to login as root

    6
    0 Votes
    6 Posts
    1k Views
    M

    @george1421 Hello! I fired up a new VM and installed Debian 10.11 (buster). I did a modified installation from the YouTube video you shared, I did partitioning based on this video - https://wiki.fogproject.org/wiki/index.php?title=Debian_8

    I installed 1.5.9 and setup the DB and changed the fog default password.

    My next question is - can I export my settings off of my old FOG server into the new one? Currently I have both VMs fired up so I can simply toggle between the two IPs in a tabbed browser.

    Once I get the new server setup, I am going to change my DHCP and PXE settings on my Windows network to test PXE booting my new computers that use the USB dongle. I am going to be beyond thrilled if this works as I have several hundred of these machines that need imaged.

    Thank you so much for your help and look forward to your response!

    Gratefully,

    Michael

  • Dual Images windows 10 and Ubuntu 16 with UEFI

    Solved
    35
    0 Votes
    35 Posts
    13k Views
    R

    Hello, I came to this topic because I was having this same issue with some new Dell computers that arrived here where I work, in my case I didn’t needed to repair the grub, but I could solve this by changing some bios configuration where there’s a option to add uefi boot option and there appears the .efi file of the grub and mark it to boot first. Hope it helps!

  • New User "fogproject" on ubuntu

    Solved
    3
    0 Votes
    3 Posts
    420 Views
    L

    @george1421 Ok, thanks.

    If so, i will not touch it:)

162

Online

12.3k

Users

17.4k

Topics

155.6k

Posts