• Problem capturing image - " no space left on device"?

    Solved
    15
    0 Votes
    15 Posts
    3k Views
    B

    I’ve never run into this specific problem until today. Generally, issues with resizing can be fixed by increasing the CAPTURERESIZEPCT in Fog Settings > General Settings. I agree with what @Quazz said about certain kinds of fragmentations causing issues with the theoretical minimum partition size. I’ve found that the more used (fragmented?) a drive is, the more likely it is to fail during resize. I was able to get past the no space left on device and numerical result out of range errors by increasing the CAPTURERESIZEPCT to 15%.

  • PXE-E32: TFTP open time out on palo alto dhcp server

    Solved
    43
    0 Votes
    43 Posts
    13k Views
    J

    @george1421 0e6dce0b-716b-4019-86f7-09c37e7b1902-image.png IT’S WORK!!! THANKS A LOT!

  • HP Probook 440G8 while deploying the images showing these options

    3
    0 Votes
    3 Posts
    347 Views
    I

    The fog kernel version is 5.15.19,

    I have created the Linux os image from laptop model hp probook440G8 in the fog server.

    while I am trying to deploy the image with the same laptop model, it’s showing me the options as I have shared the previous image.

  • Fog Server vulnerable

    18
    0 Votes
    18 Posts
    3k Views
    S

    @TaTa The default NFS in FOG is still version 3 which has no concept of user authentication/authorization. Sure you can try to lock things down a bit by setting access rights on the FOG server filesystem.

    But if you want to go beyond that you will need to look into NFSv4 which is not implemented yet: https://forums.fogproject.org/topic/14791/feature-request-for-fog-1-6-x-configure-image-capture-to-use-nfsv4-instead-of-nfsv3

  • Unfreeze drive from FOG init image

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    C

    Final update: Got everything working! The monitor not waking up after sleep was fixed by adding in some extra graphics drivers to the kernel and we’ve found some solutions to wiping difficult machines (like Lenovo’s) which normally force you to use tools built into the UEFI or a special Lenovo wipe program that only works on certain models and asks you to confirm 5 times and gives you a random generated key that you have to enter in after a reboot. As a note, even parted magic fails to wipe Lenovo drives.

    Anyway, thank you @george1421 you’ve helped me to learn a great deal and enabled our success in this.

  • HireBootCD add progrmas

    4
    0 Votes
    4 Posts
    921 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
    1k 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
    675 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
    7k 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
    309 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
    6k 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
    318 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
    3k 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
    577 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
    586 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

188

Online

12.3k

Users

17.4k

Topics

155.6k

Posts