• iPXE issues on Alienware Aurora R12's

    13
    0 Votes
    13 Posts
    2k Views
    S

    @sebastian-roth the link you provided was super helpful. Upon compiling new ipxe binaries, I had to update the kernel version in FOG, and voila, we are now able to get these machines registered in Fog and deploy images. Thanks for the help! @george1421 Thanks as well!

  • Fog stuck on "Running post init script"

    6
    0 Votes
    6 Posts
    1k Views
    T

    @sebastian-roth said in Fog stuck on "Running post init script":

    ommand does not make sense. Should be chmod -R 777 /images.
    If that still does not solve your issue you

    thanks for all, problem was solved by reinstalling FOG Server

  • Create second admin fog user

    5
    0 Votes
    5 Posts
    736 Views
    S

    @zaqen said in Create second admin fog user:

    Sorry, i try this on différent server where i use fog 1.5.9, example the new users can’t delete old image.

    What error do you get when you try to delete the old image?

  • 0 Votes
    2 Posts
    571 Views
    Q

    @tramirez Try using a different hard drive to deploy to, so we can rule out hardware issues.

  • Asking tftp server

    4
    0 Votes
    4 Posts
    2k Views
    B

    @george1421 Hi,
    So, you were right, i have dhcp offer from an adress ip (10.139.178.1) the ip adress doesn’t tell me anything, i have fix all my ip adress on my tru DHCP so i will investigate. Thanks for your help 🙂

  • secure boot - dbx.esl no such file to move

    13
    0 Votes
    13 Posts
    2k Views
    R

    @george1421 made it into all one script, even the mkkeys.sh

    #!/bin/bash apt-get update apt-get upgrade -y apt-get install -y openssl efitools gnu-efi git build-essential help2man libssl-dev perl -e'use CPAN; install "File::Slurp"' mkdir -p /opt/fog/secureboot/efikeys cat << EOF > /opt/fog/secureboot/mkkeys.sh #!/bin/bash # Copyright (c) 2015 by Roderick W. Smith # Updated 26-Nov-2021 by George1421 for the FOG Project # Licensed under the terms of the GPL v3 NAME=FOGProjectSB openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME PK/" -keyout efikeys/PK.key \ -out efikeys/PK.crt -days 3650 -nodes -sha256 openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME KEK/" -keyout efikeys/KEK.key \ -out efikeys/KEK.crt -days 3650 -nodes -sha256 openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME DB/" -keyout efikeys/DB.key \ -out efikeys/DB.crt -days 3650 -nodes -sha256 openssl x509 -in efikeys/PK.crt -out efikeys/PK.cer -outform DER openssl x509 -in efikeys/KEK.crt -out efikeys/KEK.cer -outform DER openssl x509 -in efikeys/DB.crt -out efikeys/DB.cer -outform DER GUID=`python3 -c 'import uuid; print(str(uuid.uuid1()))'` echo $GUID > efikeys/myGUID.txt cert-to-efi-sig-list -g $GUID efikeys/PK.crt efikeys/PK.esl cert-to-efi-sig-list -g $GUID efikeys/KEK.crt efikeys/KEK.esl cert-to-efi-sig-list -g $GUID efikeys/DB.crt efikeys/DB.esl rm -f efikeys/noPK.esl touch efikeys/noPK.esl sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \ -k efikeys/PK.key -c efikeys/PK.crt PK efikeys/PK.esl efikeys/PK.auth sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \ -k efikeys/PK.key -c efikeys/PK.crt PK efikeys/noPK.esl efikeys/noPK.auth sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \ -k efikeys/PK.key -c efikeys/PK.crt KEK efikeys/KEK.esl efikeys/KEK.auth sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \ -k efikeys/KEK.key -c efikeys/KEK.crt db efikeys/DB.esl efikeys/DB.auth chmod 0600 efikeys/*.key echo "" echo "" echo "For use with KeyTool, copy the *.auth and *.esl files to a FAT USB" echo "flash drive or to your EFI System Partition (ESP)." echo "For use with most UEFIs' built-in key managers, copy the *.cer files;" echo "but some UEFIs require the *.auth files." echo "" EOF chmod a+x /opt/fog/secureboot/mkkeys.sh cd /opt/fog/secureboot/ ./mkkeys.sh git clone git://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git cd /opt/fog/secureboot/efitools make mkdir -p /opt/fog/secureboot/hwkeys cd /opt/fog/secureboot/ efi-readvar -v PK -o /opt/fog/secureboot/hwkeys/hw_PK.esl efi-readvar -v KEK -o /opt/fog/secureboot/hwkeys/hw_KEK.esl efi-readvar -v db -o /opt/fog/secureboot/hwkeys/hw_db.esl efi-readvar -v dbx -o /opt/fog/secureboot/hwkeys/hw_dbx.esl chmod 666 /opt/fog/secureboot/hwkeys/* cp /opt/fog/secureboot/efikeys/* /opt/fog/secureboot/efitools/ cp /opt/fog/secureboot/hwkeys/* /opt/fog/secureboot/efitools/ cd /opt/fog/secureboot/efitools cat hw_db.esl > DB.esl cat hw_KEK.esl > KEK.esl cat hw_dbx.esl > dbx.esl rm LockDown*efi LockDown.so LockDown.o make cp LockDown-signed.efi EnrollKeys.efi mkdir -p /tftpboot cp /opt/fog/secureboot/efitools/EnrollKeys.efi /tftpboot mv /var/www/html/fog/service/ipxe/bzImage /var/www/html/fog/service/ipxe/bzImage-unsigned sbsign --key /opt/fog/secureboot/efikeys/DB.key --cert /opt/fog/secureboot/efikeys/DB.crt --output /var/www/html/fog/service/ipxe/bzImage /var/www/html/fog/service/ipxe/bzImage-unsigned mv /var/www/html/fog/service/ipxe/bzImage32 /var/www/html/fog/service/ipxe/bzImage32-unsigned sbsign --key /opt/fog/secureboot/efikeys/DB.key --cert /opt/fog/secureboot/efikeys/DB.crt --output /var/www/html/fog/service/ipxe/bzImage32 /var/www/html/fog/service/ipxe/bzImage32-unsigned mv /var/www/html/fog/service/ipxe/refind.efi /var/www/html/fog/service/ipxe/refind-unsigned.efi sbsign --key /opt/fog/secureboot/efikeys/DB.key --cert /opt/fog/secureboot/efikeys/DB.crt --output /var/www/html/fog/service/ipxe/refind.efi /var/www/html/fog/service/ipxe/refind-unsigned.efi mv /tftpboot/ipxe.efi /tftpboot/ipxe-unsigned.efi sbsign --key /opt/fog/secureboot/efikeys/DB.key --cert /opt/fog/secureboot/efikeys/DB.crt --output /tftpboot/ipxe.efi /tftpboot/ipxe-unsigned.efi mv /tftpboot/snponly.efi /tftpboot/snponly-unsigned.efi sbsign --key /opt/fog/secureboot/efikeys/DB.key --cert /opt/fog/secureboot/efikeys/DB.crt --output /tftpboot/snponly.efi /tftpboot/snponly-unsigned.efi mv /tftpboot/snp.efi /tftpboot/snp-unsigned.efi sbsign --key /opt/fog/secureboot/efikeys/DB.key --cert /opt/fog/secureboot/efikeys/DB.crt --output /tftpboot/snp.efi /tftpboot/snp-unsigned.efi
  • Unable to boot to disk after PXE Menu timeout

    37
    0 Votes
    37 Posts
    10k Views
    george1421G

    @jmvela2x Well this thread has been going on for 5 days now and I’m not sure I’ve done a good job explaining how FOG works.

    With DHCP Profiles setup with the same computer.

    BIOS Computer -> BIOS PXE Boot -> undionly.kpxe will be sent to target computer -> the global value of FOG Settings value contained in [BOOT EXIT TYPE] will be used -> SANBOOT for its Exit mode

    UEFI Computer -> UEFI PXE Boot -> ipxe.efi will be sent to target computer -> the global value of FOG Settings value contained in [EFI BOOT EXIT TYPE] will be used -> REFIND_EFI for its Exit mode

    This process works 99.9% of the time. The oneoffs that you might find would be UEFI based computers with quirky firmware or hardware.

  • Incomplete Image Caputer

    3
    0 Votes
    3 Posts
    463 Views
    S

    turns out that the image had to be set to “Multiple partition image - single disk (not resizeable)”

    @Sebastian-Roth for future reference, I will be sure to mention version numbers

    Everything else worked including the .xml file.

    Thank you for the assistance!! 🙂

  • Advanced menu missing

    2
    0 Votes
    2 Posts
    213 Views
    george1421G

    @lgwapnitsky The advanced menu is something that you have to create by hand. Its creation is a bit more prehistoric than the rest of FOG. You create your Advanced menu via a text file and then paste the contents into a field in the FOG Settings page. I’d really like to see the Advanced menu integrated into the standard iPXE menu maker to make things easier for the FOG Admins. Maybe in time…

  • Snapin Cert Issues

    6
    0 Votes
    6 Posts
    1k Views
    D

    @duncan
    removed the storage node and it seems to be working now.

    Il try to rebuild the node and test again.

  • FOG crashing during capture of image

    3
    0 Votes
    3 Posts
    724 Views
    T

    @sebastian-roth
    Ping results showed it would drop completely once the PC froze. And by froze I mean it would completely freeze all of the sudden, not gradually. I ended up checked the RAM, and it turns out one of the sticks was bad so instead of a total of 16gb I had 12gb. I had my Fog server with 4gb of ram and the Windows VM 8gb, so no memory left for the actual PC running it all. Just lowered RAM on windows vm to 4gb and it’s all fine. I can now continue with my testing!!
    Anyways, thanks for the reply, love seeing how helpful the FOG mods are!

  • problem with pxe boot

    2
    0 Votes
    2 Posts
    230 Views
    S

    @daansterckx There are a couple of things you want to check:

    When the PC boots up, does it show the correct FOG server IP somewhere on the screen? On the FOG server run the following commands and post output here: ls -al /tftpboot/undionly* ps ax | grep -e xinet -e tftp netstat -antup | grep "LISTEN" | grep "69"
  • Conditional boot menu (UEFI or LEGACY) based on BIOS-version

    2
    0 Votes
    2 Posts
    157 Views
    george1421G

    @jochenc98 What device is your dhcp server? Please state the manufacturer and version/model.

  • FOG Multicast Not starting anymore

    33
    0 Votes
    33 Posts
    43k Views
    L

    @george1421
    changed to pm.max_spare_servers = 35
    other paramaters had the correct value

    The hardware :
    PowerEdge R440
    Intel® Xeon® Silver 4208 CPU @ 2.10GHz
    memory size: 16GiB
    network BCM57412 NetXtreme-E 10Gb

  • Install FOG on Ubuntu Server 21.10 issues

    14
    0 Votes
    14 Posts
    3k Views
  • Unable to capture image of w10 vm

    5
    0 Votes
    5 Posts
    646 Views
    S

    @lse said in Unable to capture image of w10 vm:

    i do not know why it says at the end access is denied.

    Not sure either…

    Looking at the pictures they both show the very same size. While it’s not impossible I still find it suspicious. Maybe updating iPXE didn’t work as expected. Please run ls -al /tftpboot/ipxe.efi on your FOG server and post output here.

  • Suddenly Unable to Recapture Image

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    G

    As for the rest, as long as it works in your organization there is no need to change because of what some dude on the internet says. From personal experience continuing to update a single golden image renders the image very messy and a bit bloated over time. But if it works for you, then there is no need to change.

    Don’t get me wrong- I know that’s not an optimal way to work long term and we’re working on other solutions. I’m not disagreeing with that, I just don’t think there’s an actual problem with the MFT specifically. I’m not an expert on imaging or NTSF by any means though, so I could be wrong. I’m not trying to be hostile, I just want to understand since the MFT seems well below normal tolerance for Windows.

  • fog management console is blank

    7
    0 Votes
    7 Posts
    944 Views
    R

    @sebastian-roth said in fog management console is blank:

    You might want to take a look at @Wayne-Workman’s great install stats as well as the latest auto installer tests.

    You can add AlmaLinux 8 and RockyLinux 8 to this list as I have tested those manually lately using dev-branch.

    Very thanks for your advices.
    I will to read Wayne-Workman’s postes and try with AlmaLinux 8 or RockyLinux 8.

    Thanks

  • Securing FOG Boot Options?

    17
    0 Votes
    17 Posts
    2k Views
    J

    @george1421 said in Securing FOG Boot Options?:

    @jra Now that I’ve had my second cup of coffee this morning I can explain it a bit more.

    What the advanced menu and advanced.php does is insert a menu you create when advanced.php is called. You have to hand code the advanced menu and insert the text into a field in FOG Configuration->FOG Settings PXE Advanced Menu field. That field is then inserted after the #ipxe you saw when you called advanced.php directly (like I had you do).

    I don’t have the skills to do this, but it would be great if you could construct the advanced menu like you do the standard iPXE menus by just changing the Menu Show with field, to “Show on Advanced menu”. Then you could move standard menu item behind the advanced menu right from the gui. That sounds like a logical feature to have, but right now the FOG Project doesn’t have the developer time to add that feature.

    Right right - ok I’m with you. Have the workaround though and for now even the non-splash menu is functional, in the sense that curious students here can’t amuse themselves doing goofy imaging.

    I am appreciative of the help so thanks much there. 🙂

  • Deploy Image results in Invalid MAC Address

    6
    0 Votes
    6 Posts
    1k Views
    M

    I know that this is an old thread but please can a moderator link this to?

    https://forums.fogproject.org/topic/12838/change-the-default-images-location

    I found the former by Google and this fixed my installation.

    Please feel free to delete my comment. I wont be offended!

    Thanks.

188

Online

12.3k

Users

17.4k

Topics

155.6k

Posts