@Alan-Lim The boot exit (either bios or efi) are configurable in 2 places, where the level at the host is considered the primary source. If a machine is loaded to your network, but not registered, then it will generally attempt to use the exit from the FOG Settings point you posted in your image.

Posts made by Tom Elliott
-
RE: Booting from SAN device 0x08 failed
-
RE: Booting from SAN device 0x08 failed
@Alan-Lim Try setting EFI BOOT EXIT TYPE to EXIT
-
RE: error deploying windows 11
@robertkwild I’m suspecting there may have been a php module update that FTP was working similarly to a found issue in 1.6 and they finally addressed that. I apologize for not thinking of it sooner and glad it’s working. To my knowledge, we didn’t change anything regarding the Folder/File issue, so much appreciated in letting us know it’s working for you now.
-
RE: Boot Menu: rEFInd Initializes Too Quickly
@ReinierG What do you mean “it automatically exits”?
What does? Sorry just trying to understand what issue you’re having.
Are you saying there’s no screen for you to perform any action?
If that’s the case (and I’m only guessing) there is a way to extend the timeout. Again, I don’t have my actual option available but It would fall under FOG Settings -> Pxe Menu Timeout or something like that? I believe the default is 3 seconds.
I’d recommend updating this to 5, then increment it slowly (1 second at a time) so as not to make all your systmes seemingly suddenly slow.
-
RE: Boot Menu: rEFInd Initializes Too Quickly
@ReinierG This is a setting of the exit type for the host.
There’s 2 places this can be defined. The first place is global should should be configured under FOG Settings -> Exit Type (I cannot remember if it’s specifically under EFI Exit, but I think it is)
The 2nd place is individually to each host.
I would suggest looking at the host settings and see what it’s efi exit type is configured for. It sounds like it’s configured as rEFInd exit, if you set to EXIT does this fix the issue you’re seeing?
-
RE: Error when capturing image. (Operation not permitted)
@ReinierG I feel like there’s missing information here.
Is fast-restart enabled?
I believe the command you’d need:
powercfg /h off
as an administrator account and you should not have the dirty bit issue.If this issue still persists, I’d also recommend doing a chkdsk/sfc scan of the disk as well.
-
RE: Windows 11 problems when deploying
@infotech_22 Generally speaking, if you do setupcomplete.com, you should completely disable the FOGService as re-enable it as the final step of the setupcomplete.com script.
The reason:
FOGService will attempt to start up and perform its actions alongside anything else that’s occurring. Generally, when the system is setup and running just fine, things are okay because there’s no interactions, but when you pair it with the OOBE configuration stuff, where it could be changing ini’s and Registry thigns, then the FOG Client is saying “Hey restart to change the name and join the domain” or “Hey restart because I completed installing this Snapin” or whatever else may be going on, it can leave your machine in an unknown and cause issues.
This isn’t something we’re able to fix in a codified manner unfortunately and we have given instructions many times to allow FOG Client while in OOBE state.
I don’t know if this is in the more modern Documentation, but it is in the original documentation as well.
-
RE: Deploy Tasks Not Continuing After First Batch
@eliaspereira I’m not fully sure what is wrong or where it’s wrong at and I don’t really have a means to test.
I’m presuming you posted the issue on github which is a good place to start.
If that is the case it sounds like something missed a step during updating the database potentially?
-
RE: Lenovo 13W will not boot to fog after bios update.
@John-L-Clark can you try with snp.efi or snponly.efi?
-
RE: adding netboot.xyz to FOG menu
@mashina You may have to make appropriate customizations but here are the basic steps:
https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images -
RE: error deploying windows 11
@robertkwild There’s only one “stable” one “major/master” and then the one we’re working toward.
Technically there’s also “nightly” so 4 main versions:
-
master branch = 1.5.10 (Currently) - Baseline for stable and current updates of the master.
-
stable branch = 1.5.10.1634 (Currently) - This is considered (if you will in linux terms) LTS (we’re wanting 1.6 to come out but in the mean time we still need to keep things up and running of the stuff most people are using.)
-
dev-branch branch = 1.5.10.x >= 1634 (currently) - This is where we do updates for issues found/reported/ and hopeful fixes to go into the next release of stable. This is what I would call “nightly” but it’s not quite bleeding edge either as this is just holding fixes for hte 1.5.10 and later versions.
-
working-1.6 branch = 1.6. This is what some might consider alpha/beta (all working branches will be intended in this manner at least) in that it is where it’s the fully latest bleeding where we hope and want to get to with fog.
-
-
RE: Blank management page after FOG Update
@mckayj Ewww CentOS 7.5
I’m only kidding. While CentOS 7 is no longer supported and I would (also) suggest moving a a newer OS at this point this isn’t really an issue. Sorry strange mood for me this morning (for me).
Can you give us the output of your /var/log/php-fpm/www-error.log file? This likely is where the actual errors are showing and we can help provide more information.
-
RE: error deploying windows 11
@robertkwild If you have the git installation method:
cd /opt git clone https://github.com/fogproject/fogproject cd fogproject git checkout working-1.6 cd bin sudo ./installfog.sh -y
Should do the trick.
(You don’t have to copy paste and everything, it’s just how I think of it all).
I don’t know how you installed originally or how you stay updated.
I am of the mind git is the easiest method as to get the lastest items you just have to cd to the install and run
git pull
But that’s one developer’s opinion
Hope that helps?
-
RE: error deploying windows 11
@robertkwild I, unfortunately, don’t have any news as I don’t quite understand why it’s creating a file instead of a folder.
If I recall, this used to be a file based system when Windows 7, and earlier were used (it’s been a long while though) and has long since been moved to folder based.
I’m not sure what answer I can say or give here.
Is there any way to know what actual version of FOG you’re currently running?
I can’t say I’ll figure out what’s wrong, but maybe somebody else has thoughts as well.
I’m 90% certain there’s something to do with the FTP statement, but unsure exactly what or why.
The other thing I think would help fix this would be to move to working-1.6 branch if you’re willing, but I realize that’s a huge ask, and may not really help fix the problem at hand.
I can say, with relative certainty at least, that if this was a completely widespread issue we’d have heard about this exactly issue many many more times. I am thinking there may be a PHP-FTP issue on your machine. Working-1.6 is setup, now, to attempt using straight SSH statements to copy and move files around, rather than FTP which should work more consistently (in theory.)
I realize the ask is large and probably overly much for the time being if this isn’t an approach you’d like to take.
-
RE: Deployed imaged failed with blue screen (error 0xc0000225 or "NTFS file system")
@miyaqub I’m going to go on a limb and suspect you have 2 recovery partitions potentially?
it seems that’s what was wrong in the case of this thread you’ve posted.
-
RE: Odd capture and deploy disk size observations.
@aurfalien Hmmm, I suppose and probably need help in this regard (anyone with ideas to fix)
The issue isn’t the UUID direclty, though it is definitely a play into it. I always forget.
The /etc/fstab is using UUID’s inplace of the drive lettering. This makes perfect sense when you have to consider NVME/SSD/USB drives not always getting the same label since it’s a first come first serve issue.
The “fix” in it’s simplest form, used to be to edit /etc/fstab file so that you use the right labels instead of the UUID.
However, this may or may not vary depending on the system but we have funcitons that could help automate that.
I apologize for overlooking that bit as well.
Ultimately:
We can get the uuid using blkid command.
An example script (thanks Chat GPT for the assist
)
#!/bin/bash echo "# Generated fstab using UUIDs" echo "# <file system> <mount point> <type> <options> <dump> <pass>" # Get UUID, Device, and Type while read -r device uuid type; do # Get the mount point using lsblk mountpoint=$(lsblk -no MOUNTPOINT "$device" | head -n 1) # If mountpoint is empty, use "unmounted" [[ -z "$mountpoint" ]] && mountpoint="unmounted" # Print fstab-style entry echo "UUID=$uuid $mountpoint $type defaults 0 2" done < <(blkid -o export | awk -F= '/^DEVNAME/ {dev=$2} /^UUID=/ {uuid=$2} /^TYPE=/ {type=$2} dev && uuid && type {print dev, uuid, type; dev=uuid=type=""}')
Basically this is probably more than what’s wanted, but I would impore you to test something like this and use a post-download script for testing.
If you’re willing/able to adjust a bit. It likely will require getting the Harddrive you imaged (getHarddisk from funcs.sh) and testing the d1.partitions against what was actually deployed ot update the internal /etc/fstab of the drive to use the UUID’s in a more dynamic approach.
In the mean time, if you know your system is consistently booting with the same file label (/dev/sda or /dev/nvmen0 or whatever) then modify the UUID items appropriately for your filesystems and it should boot just fine.
-
RE: Rename Host in Windows UI doesn't update Fog database
@tatanas FOG can change the hostname at the client in a multitude of ways.
- Early Hostname changing - This attempts to happen by the FOS system after a deploy by looking for the registry information on the machine and modifying the entry.
- (Custom but simple enough) This can be done when a system is oob prepped and imaging completes (with what we call the post-deploy task) that loads through the partitions to locate the unattend file and dynamically modifying the hostname setting portion as required for that specific host.
- FOG Client -> Hostname change
Why do i say this?
The whole point of FOG is to manage the machine, not let the machine manage FOG. We get some details from the machine during the registration, and at this registration you are defining what you want that name to be.
It doesn’t work the other way around. FOG UI was intended to be the central and mostly hands off approach to managing your registered machines up to and including hostname definitions.
Since you do not use the FOG Client (or at the least the hostname changer) I would note that it would make more sense to just put in your process to update the FOG UI for the host when you have to change it on the machine, just so the next time you have to image the machine, it has the “current” name automatically (as best it can) applied.
While a feature like this is technically possible, I believe in most use cases, the feature you’re requesting is not something I’m willing invest time into. There’s a lot of variables that go into this.
- I’m not a C# coder. This feature would touch the client, to perform its checks back to the FOG Server. - While I’m not a C# coder, I cannot this is overly complex, just that I don’t have the knowledge or time to do so.
- It touches the UI. In that we’d probably have to have a feature that is disabled by default, but could be enabled for organizations that would like to see this.
Now I’m not saying this isn’t a feature that is or isn’t worth completing or doing, just that I’m not (at least at this point) willing to put the time and effort into. If anyone else has any ideas and would like to work on such a feature I implore you to think about the structure and I will even help if asked.
-
RE: error deploying windows 11
@robertkwild Is what I asked correct?
You have one drive mounted for /images, and another totally different drive mounted for /images/dev?
This used to work I suspect, so something changed and I’m going on a limb suspecting the issue is the inclusion of a secondary drive for the singular mount point.
-
RE: Odd capture and deploy disk size observations.
@aurfalien so ext filesystems are supposed to be able to be shrunk and expanded as required. They are, at least as of right now, the only Linux Filesystem capable of this and (as much as can be with FOSS) supported by the FOG team of things.
LVM support would be something I’d love to be able to add. There was a program that mimicked FOG (mimicked and used FOG’s open source nature in their system) but also had support for LVM detection, expansion, and (as far as I recall) shrinking called CloneDeploy a few years ago. I don’t know if that program is still being supported by its developer(s) but I was never able to sit down long enough to figure out how it was operating. I did use their baseline to start trying to incorporate some segments but never really got it out the door or tested. So as of this time, no LVM is not really supported for resizable drives at this point. The underlying filesystems (ntfs if you could, ext, etc…) are, but reading LVM is pretty dynamically prone which is part of how I couldn’t wrap my head around how best to do it.
That’s a lot of words to say, yes, EXT should work for both expansion and shrinking and last time I knew, this works and has for quite some time.
-
RE: Odd capture and deploy disk size observations.
@aurfalien I’m not sure what you’re asking.
Are you sseein git say that it’s going to make the disk and resize the partitions? Or does it ahve something like ‘Not expanding’?
It should be noted we can only expand XFS partitions, but it’s a best effort thing and if memory serves a relatively new addition at that.
You could try a deploy debug and get us the /tmp/xfslog.txt file from the client machine that may give us more information.
This is the code (lines 322 - 369) that deals with xfs on deploy and resizable:
xfs) if [[ $type == "down" ]]; then dots "Attempting to resize $fstype volume ($part)" # XFS partitions can only be expanded when there is free space after that partition. # Retrieving the partition number of a XFS partition that has free space after it. local xfsPartitionNumberThatCanBeExpanded=$(parted -s -a opt $disk "print free" | grep -i "free space" -B 1 | grep -i "xfs" | cut -d ' ' -f2) local currentPartitionNumber=$(echo $part | grep -o '[0-9]*$') if [[ "$xfsPartitionNumberThatCanBeExpanded" == "$currentPartitionNumber"a ]]; then parted -s -a opt $disk "resizepart $xfsPartitionNumberThatCanBeExpanded 100%" >>/tmp/xfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo "Failed" debugPause handleError "Could not resize partition $part (${FUNCNAME[0]})\n Info: $(cat /tmp/xfslog.txt)\n Args Passed: $*" fi if [[ ! -d /tmp/xfs ]]; then mkdir /tmp/xfs >>/tmp/xfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo "Failed" debugPause handleError "Could not create /tmp/xfs (${FUNCNAME[0]})\n Info: $(cat /tmp/xfslog.txt)\n Args Passed: $*" fi fi mount -t xfs $part /tmp/xfs >>/tmp/xfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo "Failed" debugPause handleError "Could not mount $part to /tmp/xfs (${FUNCNAME[0]})\n Info: $(cat /tmp/xfslog.txt)\n Args Passed: $*" fi xfs_growfs $part >>/tmp/xfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo "Failed" debugPause handleError "Could not grow XFS partition $part (${FUNCNAME[0]})\n Info: $(cat /tmp/xfslog.txt)\n Args Passed: $*" fi umount /tmp/xfs >>/tmp/xfslog.txt 2>&1 if [[ $? -gt 0 ]]; then echo Failed debugPause handleError "Could not unmount $part from /tmp/xfs (${FUNCNAME[0]})\n Info: $(cat /tmp/xfslog.txt)\n Args Passed: $*" fi echo "Done" else echo "Failed, XFS partition cannot be expanded" fi fi ;;```