• HireBootCD add progrmas

    4
    0 Votes
    4 Posts
    1k Views
    george1421G

    @dietrich07 Please don’t misunderstand what I say. What you ask is not the main focus of the FOG Project, but I also give you an idea how to get these missing CD based programs into the live environment. You need to just add them to the boot.wim file. Then when the liveos boots your programs will be there too.

  • Fog Server won't shrink partition

    11
    0 Votes
    11 Posts
    2k Views
    george1421G

    @anieto93 There was a fixed that was pushed out just recently in FOG 1.5.9.120 (or later that should also address this). Starting with FOG 1.5.9.110 in the dev branch that fixed an issue that existing in FOG 1.5.9GA towhere MS changed the disk structure in Win10 20H2 that caused the disk to not expand correctly. It was that small recover partition that was keeping the 😄 drive from expanding. Removing the recovery partition fixed the issue with 1.5.9GA. There was a workaround for the change added to FOG 1.5.9.110. And now a new issue was fixed with resizing with 1.5.9.120 but I don’t know the details with that.

    I’m glad you have it sorted out before the fix was published.

  • 0 Votes
    4 Posts
    735 Views
    G

    New tests:

    I deploy myImageV1 on my test workstation with FOG 1.5.9 + init.xz from 2020 (see my previous post) Boot my test workstation on a Ubuntu LiveUSB to change logical partition (sda2) into primary one with fixparts + resize partition with gparted + fsck + grub-install Modify what I want on the system (do system updates, modify the content of a configuration file) Capture from my test workstation to myImageV2 (with FOG 1.5.9 + init.xz from 2020) Deploy my new myImageV2 to my test workstation (with FOG 1.5.9 + init.xz from 2020) The partition is properly expanded

    .
    AMO, the logical partition (sda2) confuses / puzzles partclone (or an another piece of software).

    My new myImageV2structure:

    $ ls -lh /images/myImageV2 total 53G -rwxrwxrwx 1 root root 2 Apr 7 12:58 d1.fixed_size_partitions -rwxrwxrwx 1 root root 0 Apr 7 12:59 d1.has_grub -rwxrwxrwx 1 root root 1.0M Apr 7 12:59 d1.mbr -rwxrwxrwx 1 root root 208 Apr 7 12:59 d1.minimum.partitions -rwxrwxrwx 1 root root 16 Apr 7 12:58 d1.original.fstypes -rwxrwxrwx 1 root root 0 Apr 7 12:58 d1.original.swapuuids -rwxrwxrwx 1 root root 1.7K Apr 7 12:59 d1p1.img -rwxrwxrwx 1 root root 53G Apr 7 13:31 d1p2.img -rwxrwxrwx 1 root root 208 Apr 7 12:58 d1.partitions $ cat /images/myImageV2/d1.fixed_size_partitions 1 $ cat /images/myImageV2/d1.minimum.partitions label: dos label-id: 0x78c7d5cb device: /dev/sda unit: sectors sector-size: 512 /dev/sda1 : start= 2048, size= 1048576, type=b, bootable /dev/sda2 : start= 1050624, size= 278817898, type=83 $ cat /images/myImageV2/d1.original.fstypes /dev/sda2 extfs $ cat /images/myImageV2/d1.partitions label: dos label-id: 0x78c7d5cb device: /dev/sda unit: sectors sector-size: 512 /dev/sda1 : start= 2048, size= 1048576, type=b, bootable /dev/sda2 : start= 1050624, size= 499067392, type=83

    After the deployment of my new myImageV2 (all is fine):

    root@testwks:~# fdisk -lu /dev/sda Disk /dev/sda: 238,49 GiB, 256060514304 bytes, 500118192 sectors Disk model: SK hynix SC311 S Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x78c7d5cb Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 1050623 1048576 512M b W95 FAT32 /dev/sda2 1050624 500118015 499067392 238G 83 Linux root@testwks:~$ parted /dev/sda print Model: ATA SK hynix SC311 S (scsi) Disk /dev/sda: 256GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 538MB 537MB primary fat32 boot 2 538MB 256GB 256GB primary ext4 root@testwks:~# df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda2 234G 123G 100G 56%
  • FOG/PXE/W10 unattended install and boot

    8
    0 Votes
    8 Posts
    2k Views
    george1421G

    @marco_c said in FOG/PXE/W10 unattended install and boot:

    this might save me many many hours

    It will take hours to setup on the front end, but if you have 100 nodes to create it will surely help you on the back end making all of the nodes exactly alike.

    The actual deployment times we are seeing with FOG is under a 4 minute push of the captured image 25GB image, and about 12 minutes of windows OOBE normal unattended setup. So in about 15 minutes we can go from bare metal to ready for user.

    Understand that it took us a week to perfect our first golden image back in 2015. But we’ve automated that process now with MDT to build the golden image and then FOG to deploy it.

    There are many great tutorials on the internet that explains the Windows unattended deployment process (this is outside of what imaging tool you use).

  • PXE Issue Ubuntu 20.04

    23
    0 Votes
    23 Posts
    8k Views
    R

    @george1421 You sir are a fucking LEGEND!!! I’m all set for now. Time to get playing with images and deployments. Thank you so so so sooooo much 😄

  • Automatic deletion of hosts after deployment

    2
    0 Votes
    2 Posts
    343 Views
    george1421G

    @zaboxmaster You might want to tweak your deployment strategy if you are using the fog client. If you are not using the fog client then you can use the system builder method of load and go by pxe booting into the iPXE menu and pick the deploy image menu. Once the image is deployed using this method the reference to the computer is removed from FOG. There is no need to register and deploy using this method.

    The down side of “load and go” is that you can’t use the fog client to make changes to the target computer like system renaming or snapin deployment, that requires the target computer to be registered in FOG.

  • Snapins Issue : Hash does not match

    21
    0 Votes
    21 Posts
    7k Views
    D

    Hello,
    Sorry for the delay, I just noticed the change made.
    I can’t wait to try this tomorrow.
    I will come back to you.

    @sborgne Bonjour, Merci beaucoup . Je teste cela demain.

    Regards.

  • 0 Votes
    3 Posts
    356 Views
    Wayne WorkmanW

    George’s post is valid. Just wanted to add that regular ole storage nodes within the same storage group will load share. You’d set the max hosts on each storage node to accomplish this.

  • database update issues following image capture

    27
    0 Votes
    27 Posts
    5k Views
    E

    @george1421
    I’ll shut the machine down and do some checking. I’ll let you know. Thanks.

  • Hung up on black screen

    9
    0 Votes
    9 Posts
    2k Views
    S

    Success!

    For the Dell Optiplex 9020 here are the settings that worked:

    Exit to Hard Drive Type: GRUB
    Exit to Hard Drive Type(EFI): REFIND_EFI

    Thank you Sebastian and George for your insights. They were very helpful in pinpointing where the issue was.

  • Snapins queued with FOG 1.5.9.138

    7
    0 Votes
    7 Posts
    1k Views
    M

    Hi,

    Everything’s fine after updating our FOG. Thank you guys.

  • Change IP fog Server : unable to change Node storage and TFTP IP

    15
    0 Votes
    15 Posts
    4k Views
    Matthieu JacquartM

    @george1421 Exactly ! I changed server +.fogsettings ip (+ 4 ip in database by hand…) and everything is fine (ip in default.ipxe changed automatically)

    @sebastian-roth for information :

    ca.cnf (with new ip) [v3_ca] subjectAltName = @alt_names [alt_names] IP.1 = 192.168.10.52 DNS.1 = FOG.lycee.nd req.cnf (kept old ip) : [req] distinguished_name = req_distinguished_name req_extensions = v3_req prompt = yes [req_distinguished_name] CN = 192.168.10.60 [v3_req] subjectAltName = @alt_names [alt_names] IP.1 = 192.168.10.60 DNS.1 = FOG.lycee.nd
  • Need help to understand host.class.php

    2
    0 Votes
    2 Posts
    605 Views
    J

    @jamaal said in Need help to understand host.class.php:

    Hello all,

    I’m banging my head to understand the host.class.php file.
    I have a few posts based on Powershell to add the “location” field for a computer to be created for example.

    host.PNG

    I already have the locations plug in installed and it works fine in the gui, but when I run the powershell script, location doesn’t show in Powershell, but in the gui.

    I’m not trying to image yet, but I want to be able to add on a custom website; ex; Jira ticket system, the host location. It should match up in the “location” field in Powershelll.

    I saw a post you can edit the host.class.php file.

    I did and here’s a screen shot:
    host php.PNG

    I went to create a host and it doesn’t show up, not sure what I’m doing wrong.

    Here’s when I went to see if the host got created when attempting to add it via the gui. I forgot to get the words before it, but it says hosts not found.
    attempt 2.PNG

    If I can get some guidance to what I’m donig wrong, I appreciate it.

    Here’s my version of FOG:
    version.PNG

    All,

    This can be resolved. I finally was able to add location via Powershell! I didn’t even need to mess with the host.class file in FOG. This is thanks too @JJ-Fullmer . He had a reference to a post he had about Powershell and FOG via adding groups:

    https://forums.fogproject.org/topic/12026/powershell-api-module/15?_=1648864559519

    So I ended up adding another variable called $newassocias2

    resolution.PNG

    Again thanks to everyone that contributes to this page. I’m happy & grateful to using this product.

  • Fog Location help via FOG API

    3
    0 Votes
    3 Posts
    638 Views
    J

    @jamaal said in Fog Location help via FOG API:

    @jamaal said in Fog Location help via FOG API:

    Hello, all

    I’m starting to get closer, but not sure what I’m missing. I read up on pscustomobject and I did the following in the script. So in the first screen shot, I got the member properties from get-foghost -hostname $machinename | get-member

    The screenshot called “before”, doesn’t have the location field.

    before.PNG

    What I did was created a pscustomobject by creating a variable called $member

    so $member = new-object -typename psobject
    The screenshot I did later was called “after”
    after.PNG

    I then did $member | get-member and it added location as you can see in the screen shot.
    In the parameter, I did location = Westbury for example. Here’s some screen shots of my script.

    parameters.PNG

    code that I used to add location:
    location.PNG

    So I already have the plugin Location installed with values such as Woodbury and Edison.

    I’m trying to get Powershell to just load my section from $location to location as seen below, but it’s not working despite I used the pscustomobject
    accomplish.PNG

    I also tried adding location under $hostjson to see if this helps before as well.
    hostjson.PNG

    Ok,

    This is resolved now. Here are the steps I did to fix this in case someone else needs this in their Powershell script.

    You need to go the Powershell module file in C:\Program Files\WindowsPowerShell\Modules\FogApi\2103.2.12

    Once in there, open up the FogApi.psm1 file and look for the line that says $coreObjects = @(

    add this to the line in alphabetical order:

    “location” and save the file.

    Once you did that, go to powershell and type in:

    Get-FogObject -type object -coreObject location

    If done right, you’ll see the location correspond to the location plug in you installed.
    location.PNG

    and after:

    location2.PNG

    You don’t need to mess with the pscustomobject because when you install the plugin and edit the psm1 file, it will do it automatically for you.

    pscustomobject location.PNG

    This can be closed. I’ll create a tutorial on the exact steps because you need to create storage nodes if you have multiple sites in mind.

  • 0 Votes
    2 Posts
    2k Views
    M

    I already solved it, it was that there were 2 PHP folders (7.2 and 7.4) that were giving conflict, I eliminated the www.conf and reinstalled FOG. with that it worked

  • FOG Client unable to connect via https

    2
    0 Votes
    2 Posts
    601 Views
    S

    @pvandoorn I am sure this is due to a known issue with older SSL/TLS version. Download the latest fog-client on github and give it a try: https://github.com/FOGProject/fog-client/releases/

  • Multicast image is pushed, but it does not "finish/finalize"

    6
    0 Votes
    6 Posts
    996 Views
    D

    @sebastian-roth
    I’ve only been able to test this in one environment and only with 2 PCs. It did work in that particular test. In a couple of weeks, we are going to have an opportunity to hit a good number of PC’s in another environment where it previously failed, so we’ll have more data then. So far so good though! Thank you much!

  • Dell OptiPlex 5490 - cannot find disk

    Solved
    3
    0 Votes
    3 Posts
    493 Views
    J

    @george1421 said in Dell OptiPlex 5490 - cannot find disk:

    the disk mode from raid-on to ahci mode. That will unhide the dis

    Yes! Thank you, this solved my problem! 🙂

  • Activate FOG Plugins

    3
    0 Votes
    3 Posts
    614 Views
    W

    I create a “activatepulginrun.php” and place under “fogproject\packages\web\management”

    the file can be call by the url “http://fogip/fog/management/activatepulginrun.php?plugin=accesscontrol” with the plugin name passing in

    First the code need to include below 2 line
    require ‘…/commons/base.inc.php’;
    $FOGCore = $GLOBALS[‘FOGCore’];

    then i include both

    activate plugin code
    copy from “activate()” at “fogproject\packages\web\lib\pages\pluginmanagementpage.class.php”

    install plugin code
    copy from “installedPost()” at “fogproject\packages\web\lib\pages\pluginmanagementpage.class.php”

  • Multicast Issues

    14
    0 Votes
    14 Posts
    3k Views
    george1421G

    @lps I have not tested this out, but via some reverse engineering tricks I know I think this should get you pretty close. Just create a new FOG iPXE menu and add this in as the parameter.

    chain -ar ${boot-url}/service/ipxe/boot.php?mac0=${net0/mac}&arch=${arch}&platform=${platform}&sessname=bob || goto MENU

    You will need to replace bob with your session name for the multicast image push. That should join you right into the session with one pick on the fog menu.

171

Online

12.3k

Users

17.4k

Topics

155.8k

Posts