FOG, what can and can't it do?
-
@herb said in FOG, what can and can't it do?:
Q2: Can Images be deployed that I did not capture?
The short answer is No. You must capture the image from FOG to deploy it.
There is no central repository for OS images. You must create your own, based on your own requirements from DVD. In my company’s case we use MDT to build our golden image then capture and deploy with FOG. A hardware agnostic design is surely possible. We have a single image that we deploy to 15 different models in our fleet of computers. The key/trick is to use a FOG post install script to copy the correct drivers to a defined location on the target computer just after deployment, but before the first OS boot. Once the drivers are at the precise location then windows will detect them and load them. Sometimes we find that we need to use dism in the the setupcomplete.cmd to finish injecting the drivers after oobe but before first login. It does take time to setup your environment but once done you can regenerate your golden image at any time with the latest windows updates if you use MDT.
-
I feel I must add the primary reason you won’t see a “central repository” for OS images lies down with the very simplistic case of licensing.
If there were a “central” repository, um, can you imagine the legal issues that would no doubt-ably ensue? Managing a repository itself would be extremely difficult, but licensing - especially in commercial OS’s - would be a nightmare.
Ultimately, while it would - from a purely technical standpoint - be possible to create a (very very very) generic set of OS’s that could be used by many, this would not come with your organizations set of software. (Admittedly vague in that you could automate some of the software layout with snapins.) This again is purely technical. Yes, it “could” be done. No, it most likely will not be done.
I could, however, understand central repo for OS’s that don’t require licensing (only one I can think of would be linux though) but even then you’re dealing with one person’s preferences for the layout of the OS vs. what might actually be required and/or more suitable to your environment.
-
Got it,
My perspective is skewed since the vast majority of OS’s I work with are all Linux distributions.
I imagined there would be images for Ubuntu, RHEL, and others to play with and try.A ‘fresh’ image of Ubuntu 14.04 (for example) would have been a great place for me to start imaging blank machines.
I could then build off of that ‘fresh’ image and customize my own.As is, I will download and install an OS using a separate machine and a USB drive to get started.
Just an idea,
Thanks for clarifying! -
Hey Forum,
Back again. I hope you had the chance to catch the eclipse yesterday!
What a show.In the world of FOG…
I’ve been having lots of problems deploying images over the last couple days. I hope someone can help.Here’s the symptom:
Computers imaged with FOG become ‘stuck’ in a pxe boot cycle and never boot the imaged OS.I’ve written lots of detail below, I hope something sticks out.
It seems really confusing to me…By wiping the disks, I was hoping to erase past history on the machines (not new) and partition problems.
It seems to me that I am capturing only a part of an image, but not the whole thing.
The result is non-bootable images on my disks.Thanks for your help,
DETAIL::
Setup:- Fully Register a machine(Host1) (HP-600-G2 MT) with FOG.
- Execute a full disk wipe through FOG. Write zeros to disk.
- Install Ubuntu 16.04.3 using USB Drive.
- Capture image from Host1 using FOG (settings below).
– Image Name: Ubuntu16Clean
– Operating System: Linux - (50)
– Image Type: Multiple Partition Image, Single Disk (not resizable) - (2)
– Partition: Everything
- Image Successfully captured. /images/ directory has an entry Ubuntu16Clean
Testing:
- Create a few extra files/folders on Host1.
- Execute deployment task through FOG to Host1.
- Image Successfully deployed. Host1 boots and the added files are not present.
- Fully Register a new machine (Host2) (HP-600-G2 MT).
- Execute a full disk wipe through FOG. Write zeros to disk.
- Execute deployment task (Ubuntu16Clean) through FOG to Host2
- Image Successfully deployed. /sda2/ successfully copied. Total time ~3 minutes
X Host2 attempts boot, but never boots from disk. Stuck cycling through FOG Network Boot menu.
- Fully Register a new machine (Host3) (HP-600-G2 MT).
- Execute a full disk wipe through FOG.
- Install Ubuntu16.04.3 with USB drive
- Capture Image.
– Image Name: Ubuntu2
– Operating System: Linux
– Image Type: Multiple Partition Image, Single Disk (not resizable) - (2)
– Partition: Everything
- Image successfully captured.
- Execute a deployment (Ubuntu2) to Host1
- Image successfully deployed.
X Host1 now stuck in PXE loop.
Attempt recovery on Host1
- Execute a deployment (Ubuntu16Clean) to Host1
- Image successfully deployed.
X Host1 still stuck in PXE loop
-
@herb said in FOG, what can and can't it do?:
Image Successfully deployed. /sda2/ successfully copied. Total time ~3 minutes
Are you sure the whole deployment process is going fine. It kind of sounds as if maybe the boot partition or the MBR is not being deployed.
First of all please tell us which version of FOG you use? Then please run
ls -al /images/Ubuntu16Clean
andcat /images/Ubuntu16Clean/d1.partitions
. Post the output here. Are the machines BIOSes all configured similarly - e.g. AHCI setting? Are all legacy BIOS or UEFI or mixed? MBR (classical) or GPT? -
Thanks Sebastian.
I am running FOG 1.5.0-RC-7
SVN Revision: 6080I am on branch ‘dev-branch’
Head commit:
commit b1ce6d5dee2e00052358fffa67475b151d7cd22c
Author: Tom Elliott tommygunsster@gmail.com
Date: Wed Aug 9 15:49:05 2017 -0400Fix issue with inventory not defining host item.
Here is the output of those commands.
BIOS:
Two out of three machines are running the same bios version (I need to fix the third).
All machines are setup to default to Network boot, and then disk.
I’ve set all available settings to prioritize legacy over UEFI network boot. -
@herb problem solving does not belong in this thread, as it’s off topic. Please create a new thread for the issue.
-
@herb Ha, see what we have here. The partition table shows three partitions but in the directory of the server we only have
d1p1.img
andd1p2.img
. Please run a debug capture task (normal capture but just before clicking the create button in the web GUI there is a checkbox for debug). See if you can figure out where things go wrong - not sure if it’s onlysda3
missing or something else going wrong too. If you can’t figure it out you best take pictures of the whole debug capture task process so we can have a look too.Wayne is totally right, would you please open a new topic on this so things don’t get mixed up, plus other people will find this more easily. Just create a new one with a brief post and I will move our posts over to the new one…
-
This post is deleted! -
@tom-elliott said in FOG, what can and can't it do?:
I feel I must add the primary reason you won’t see a “central repository” for OS images lies down with the very simplistic case of licensing.
If there were a “central” repository, um, can you imagine the legal issues that would no doubt-ably ensue? Managing a repository itself would be extremely difficult, but licensing - especially in commercial OS’s - would be a nightmare.
Ultimately, while it would - from a purely technical standpoint - be possible to create a (very very very) generic set of OS’s that could be used by many, this would not come with your organizations set of software. (Admittedly vague in that you could automate some of the software layout with snapins.) This again is purely technical. Yes, it “could” be done. No, it most likely will not be done.
I could, however, understand central repo for OS’s that don’t require licensing (only one I can think of would be linux though) but even then you’re dealing with one person’s preferences for the layout of the OS vs. what might actually be required and/or more suitable to your environment.
OS-Images - generally available and upgradable with snapins (kinda) is the idea behind docker.com…