• How to upgrade an existing fog to latest stable ?

    2
    0 Votes
    2 Posts
    2k Views
    T

    I took the initiative an I upgraded it to 1.5.4
    By downloading the latest version from https://github.com/FOGProject/fogproject/archive/1.5.4.tar.gz

    tar -xzvf 1.5.4.tar.gz
    cd fogproject-1.5.4/bin
    sudo ./installfog.sh

  • Installing FOG in a Docker container

    6
    1 Votes
    6 Posts
    11k Views
    george1421G

    @gabriel-de-souza Very nice!. This question might show my ignorance of Docker, but how are you handling NFS port redirection? NFS is not a very “firewall” friendly protocol.

    If you can successfully run FOG in a Docker, you could potentially run FOG under MS Windows in a Docker container.

    Since you have a history with FOG in a docker container, what transfer rates are you able to achieve pushing an image to a target computer?

  • Compiling iPXE boot kernels

    1
    4 Votes
    1 Posts
    3k Views
    No one has replied
  • iPXE Setup For Many OS's Under BIOS and UEFI

    16
    0 Votes
    16 Posts
    10k Views
    Z

    CentOS 7.4 and 7.5

    Works with: UEFI or BIOS

    To start we need the installation files in our /tftpboot/os/centos directory. This can be done by manually copying the required content from a CentOS iso or by using rsync to sync from an online mirror. A list of official mirrors with rsync links can be found here. The following will presume the latest version of CentOS (at this time 7.5.1804) but altering the version to your desired version in the steps should work.

    You do not have to do the steps in BOTH “Using Files from ISO” and “From rsync”, its one or the other.

    Using Files from ISO:

    Create the directory for CentOS/version if it doesnt already exist: mkdir -p /tftpboot/os/centos/7.5.1804 Mount the ISO and copy the required files to the above directory: mount /{path to the iso}/filename.iso /mnt/iso/ cp -R /mnt/iso/* /tftpboot/os/centos/7.5.1804 umount /mnt/iso

    Using rsync:

    Do not create the subdirectory for the CentOS version, just have /tftpboot/os/centos ready, rsync will create the subdirectory.

    run the rsync command using a rsync url from the list of mirrors you want to use. This can take hours to run:

    rsync -avzP --log-file=/var/log/rsync_cron/rsync_yum_mirror.log --delete --include="/7.5.1804" --include="/7.5.1804/**" --exclude="*" rsync://mirrorurl/centos/7.5.1804/os/x86_64/ /tftpboot/os/centos

    feel free to change the path/name of the log file. I use this rsync to also pull updates allowing me to use my FOG server as a local YUM repo as well. If interested in doing so change the rsync path to be rsync://mirrorurl/centos/ instead. This will make the amount of data downloaded much greater, but will later let you use the FOG server as a YUM repo. I placed the rsync command above in my crontab -e without the -P switch for rsync and have it sync once a day. Doing so is a bit beyond the context of this guide though.

    Also note that if the mirror is down the command can fail, you may need to switch to another mirror or if setting up cron having it sync multiple mirrors just in case.

    Adding iPXE entry:

    From the FOG web GUI, create a new iPXE entry (or edit an existing one) as follows:

    Menu Item: name as desired (ex: os.centoslatest) Description: as desired (ex: CentOS 7.5.1804 - Install). Note: This is what is seen in the iPXE menu on the host machine! Parameters:

    Manual or rsync without wanting YUM server too:

    kernel http://${fog-ip}/os/centos/7.5.1804/images/pxeboot/vmlinuz initrd http://${fog-ip}/os/centos/7.5.1804/images/pxeboot/initrd.img imgargs vmlinuz initrd=initrd.img root=live:http://${fog-ip}/os/centos/7.5.1804/LiveOS/squashfs.img repo=http://${fog-ip}/os/centos/7.5.1804 boot || goto MENU

    With rsync pulling all data for YUM:

    kernel http://${fog-ip}/os/centos/7.5.1804/os/x86_64/images/pxeboot/vmlinuz initrd http://${fog-ip}/os/centos/7.5.1804/os/x86_64/images/pxeboot/initrd.img imgargs vmlinuz initrd=initrd.img root=live:http://${fog-ip}/os/centos/7.5.1804/os/x86_64/LiveOS/squashfs.img repo=http://${fog-ip}/os/centos/7.5.1804/os/x86_64 boot || goto MENU Menu Show With: as desired. Save changes

    Alternate directions here.

  • 2 Votes
    1 Posts
    3k Views
    No one has replied
  • Single iPXE Menu Entry for Both BIOS/UEFI

    2
    2 Votes
    2 Posts
    2k Views
    Z

    As an additional note: each label you use must be unique across all of your menu entries.

    IE: If you make a menu entry for ESXi 6.5 and another for 6.7, then these lines:

    iseq ${platform} efi && goto esxi_efi || goto esxi_bios :esxi_efi ... :esxi_bios ...

    must have unique labels, for example esxi65_efi vs esxi67_efi instead of both having esxi_efi (or esxi_bios).

    If you use the same label in 2 different menu entries than iPXE will go to whichever is listed first in your boot.php.

  • Compiling dnsmasq 2.76 if you need uefi support

    15
    2 Votes
    15 Posts
    12k Views
    F

    My two cents.

    In RHEL7 I have compiled the dnsmasq 0.78 version using these instructions and doing some changes.

    Install the necesary packages:

    sudo yum install nettle-devel sudo yum install libidn2-devel sudo yum install libnetfilter_conntrack-devel sudo yum install dbus-devel

    config.h options:

    /* #define HAVE_LUASCRIPT */ #define HAVE_DBUS /* #define HAVE_IDN*/ #define HAVE_LIBIDN2 #define HAVE_CONNTRACK #define HAVE_DNSSEC

    Compiling and starting the service:

    sudo make install sudo systemctl start dnsmasq sudo systemctl status dnsmasq

    Output:

    dnsmasq -v Dnsmasq version 2.78 Copyright (c) 2000-2017 Simon Kelley Compile time options: IPv6 GNU-getopt DBus no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify This software comes with ABSOLUTELY NO WARRANTY. Dnsmasq is free software, and you are welcome to redistribute it under the terms of the GNU General Public License, version 2 or 3.
  • Use fog, to restore Windows 10 to a saved configuration

    5
    0 Votes
    5 Posts
    1k Views
    K

    What you want to achieve is getting into the realms of software like AppSense. May be worth a look but from experience I know that it ain’t cheap!

  • Fog Wiki account

    2
  • Simplest tutorials

    6
    0 Votes
    6 Posts
    2k Views
    S

    @Tiagoluz Could you please post an english translation as well.

  • Custom Full Host Registration Menu for 1.4.0.rc2 and later

    7
    1 Votes
    7 Posts
    3k Views
    george1421G

    @jgallo We must be aware of a few things here.

    The github site always contains the latest release. So (currently) the files contained are for FOG 1.5.0. If you are working on a down level version of FOG then you need to take the route of extracting the inits. You don’t need to repack the inits, because you only need the file you want to tweak. Once you have the file you want to patch, then you may unmount the loop directory and remove the unpacked init. The structure of files may change from release to release. In the case of FOS, it was split out into its own branch. The correct path (as of 1.5.0) to the file in question is: https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.man.reg (full disclosure, it took me a bit to find the right path too). The only caution is as newer versions of FOG are released, your patch file may become stale, where you might need to update a newer versions of fog.man.reg as newer versions of FOG are released. The risk is that you might be applying an older version of fog.man.reg over an updated version fog.man.reg breaking FOG without a clue why.

    The rest of the instructions by @JGallo are still accurate (at least for 1.5.0). You can still use the post init scripts to “patch” the current FOS image as in the original post.

  • Adding on and Additional Drive

    3
    0 Votes
    3 Posts
    2k Views
    imagingmaster21I

    @Wayne-Workman
    https://forums.fogproject.org/topic/1900/how-to-add-a-second-hard-drive-to-fog-server/6

    https://www.youtube.com/watch?v=69gJvHjTKNQ

    I think the video would be the best option? Would I be adding in the additional storage node linking to the path.

  • How to setup Microsoft AD LDAP for FOG 1.5.0~

    6
    3 Votes
    6 Posts
    4k Views
    m144M

    @wayne-workman Sounds good… I’ll see what I can do when I find some free time.

  • Poblema al activar windows 10 1709

    4
    0 Votes
    4 Posts
    1k Views
    T

    Thanks for responding so quickly, it was very helpful. The procedure was the one described in this post and this forum. Sorry for the Spanish, is it possible to change the title?

  • How do you install 1.5.0 rc?

    3
    0 Votes
    3 Posts
    1k Views
    D

    thanks man

  • How to use Accesscontrol plugin?

    2
  • PXE Booting into MS Windows 7 setup

    9
    3 Votes
    9 Posts
    13k Views
    HaRDH

    Thank you, I will look over them; now I need to get some more work done, or my boss will chew me out for chatting 🙂

    Best regards,
    M. M.

  • Using Conspy to View remote PC imaging progress

    1
    1 Votes
    1 Posts
    882 Views
    No one has replied
  • How to add live cd iso to Fog 1.2 on Ubuntu 12.04

    35
    0 Votes
    35 Posts
    46k Views
    D

    @sebastian-roth Thanks I’ll open a new thread. I tried removing the $ sign but it just takes me back to the menu.

    The new thread has been opened up here

  • netbooting winbuilder WINPE 7 ISO

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied

90

Online

12.2k

Users

17.4k

Topics

155.6k

Posts