Fog_0.32 on Ubuntu 12.04
-
I am fairly new to fog, but I am trying to build a newer version of fog server (0.32) on a newer version of Ubuntu (12.04). I work for a small college, and do not work directly for the IT department. I take care of several computer labs, that run a wide range of Dell computers (GX-280 - Optiplex 990). Right now I have a working fog_0.29 running on Ubuntu 10.04, I have yet to take an image or push an image to the Optiplex 990.
The school is looking at purchasing new computers for one of the labs, so looking at the newer version of fog as it allows me to use different kernels to boot different hardware. Right now I am getting the snow screen on two of the models, an Optiplex 330 and Optiplex 740. So I headed to the working hardware section to find what kernel will work, it says 2.6.28.7 will work for the optiplex 740. So I download that kernel rename it bzImage and copy it to the proper directory (tftpboot/fog/kernel) and that pretty much killed any part of what was working. Even with the snow screen I could take an image and push an image, just could not see what was happening on the screen. When I add the kernel name to the host I want to image in the web interface, do I need to use absolute pathname for this kernel here? I have tried to rename the 2.6.28.7 kernel to OPT740 and placed it in the /tftpboot/fog/kernel directory and add it to the host configuration, but fog cannot find the file.
Also when I first built the server the wake on LAN worked fine. I was getting my IP address from one of our on campus DHCP servers. I went in yesterday and I had been served a different address. So I went in and edited the files to set the address statically. I can now connect with the web interface, but WOL no longer works. At this point in time that was the only change made on the server was to assign a static IP.
Since I am in the testing stages I can play around with this version of fog all I want, but I would like to have a working version of fog_0.32 before the end of July.
My eyeballs are about to pop out of my head from reading all the forum posts that almost touch on what I need to fix. Any help on the kernels would be greatly appreciated as I am not sure what new hardware might show up and may have a need for yet another kernel version to be used.
I am a student worker and am only allowed to work so many hours a week, my Linux abilities are limited as I felt like a rock skipping across the surface of a pond in the 8 weeks they gave us to learn 14 chapters. The previous fog server was setup by the fellow that took care of the labs before me and documentation is hard to find on what he has done. The IT department is interested in what fog has been used for in these 3 labs. I can give a presentation about what the old fog server will do, but I would like to be able to learn as much as possible about the newer versions before I show them what fog can do.
-
I won’t be able to work until next Tuesday, so I have been playing around in a virtual environment using VMware player. I created a Lubuntu 12.04 server VM (using the mini ISO) and created some Windows 7 VM’s that used IDE drives. I got the system up and running tonight.
At least I know it will work! It doesn’t solve my kernel issues I have at the labs, but they don’t let me drag hardware home for the weekend. Now I have a working system that will let me build system images using VMware that can be syspreped and pushed to cold iron machines. No more parted magic and clonzilla to perform that task.
If any of you master kernel builders could spare a few moments to help a new guy learn more about the kernel build process I would be very interested in learning.
-
give this kernel a shot its 3.4 core, provided by astrouga
-
be sure to read this tutorial also [url]http://fogproject.org/forum/threads/windows-7-deployment-fog-sad2-driver-tool.380/[/url]
in terms of the kernel issue, you can update the kernel through the FOG Web Interface. Go to the ‘Other Information’ page and on the right select Kernel Updates.
try 3.3.3 core, also try the one i posted above 3.4 core (by copying it to tftpboot/fog/kernel and name it: bzImage )
On the Host Management page leave the Host Kernel section blank and it will default to whatever kernel is bzImage
-
Thank you for the link to the new kernel. I have been reading everything I can about the 0.32 version of fog and had seen the link to the 3.4 kernel. I will try it when I head back to work on Tuesday.
On the Host Management page, where you can enter a Host Kernel, can I just add a kernel name in that window if I have to use multiple kernels for the wide variety of machines I may be using? -
nope, you need to add it like this… Host Kernel: fog/kernel/<name_of_kernel>
all those with blank fields will default to the kernel you have set as bzImageNote: In the screenshot below the kernel is called acer-aspire
[IMG]http://community.spiceworks.com/images/how_to_steps/0000/6034/hostview.png[/IMG]
check links
[url]http://community.spiceworks.com/how_to/show/2338[/url][url]http://fogproject.org/forum/threads/deployment-freezing.356/#post-1506[/url]
-
Thanks again, so absolute pathname is required for my extra kernels to be found.
You have been most helpful:)
-
yes full pathname is required for extra kernels,
your welcome, please like my comments if you find them helpful
-
also i see that you had trouble with wake-on-lan
In FOG Web UI go to the OTHER INFORMATION page, on the right hand side go to FOG SETTINGS, then scroll down to General Settings (about 2/3 of the way down) under this you will then see some FOG_WOL settings,
check that FOG_WOL_HOST is set to the static IP that you gave your FOG Server.
check that FOG_WOL_Interface is set to the network interface you are using. Usually eth0
-
have you had any issues with memory, it seems like I have a memory leak! when we do a group task it goes from like 172 m of ram to like 3gb in a matter of minutes! whats wrong! then the task just drops and all connections to the server are lost. should I just backup fog and start fresh with ubuntu 10.04?
thanks -
[quote=“jmwalton, post: 3877, member: 697”]have you had any issues with memory, it seems like I have a memory leak! when we do a group task it goes from like 172 m of ram to like 3gb in a matter of minutes! whats wrong! then the task just drops and all connections to the server are lost. should I just backup fog and start fresh with ubuntu 10.04?
thanks[/quote]
I havent got a chance to try any imaging other than one Master Image system sitting on the tech bench. I will be imaging roughly 50 systems around the end of July, but I may use our old fog_0.29 to do it untill im sure this new version is working properly. I will try to keep you posted of my progress. -
Thank you Falko, I was trying to use a different (per host) kernel last week and was scratching my head not realising that a full path to the new kernel was required… appreciated
-
[quote=“Robin Commander, post: 3879, member: 64”]Thank you Falko, I was trying to use a different (per host) kernel last week and was scratching my head not realising that a full path to the new kernel was required… appreciated :-)[/quote]
No worries, glad you got it working -
[quote=“jmwalton, post: 3877, member: 697”]have you had any issues with memory, it seems like I have a memory leak! when we do a group task it goes from like 172 m of ram to like 3gb in a matter of minutes! whats wrong! then the task just drops and all connections to the server are lost. should I just backup fog and start fresh with ubuntu 10.04?
thanks[/quote]Is your fog server fully updated?
-
[quote=“falko, post: 3830, member: 48”]give this kernel a shot its 3.4 core, provided by astrouga
[URL=‘http://www.filedropper.com/bzimage34’]http://www.filedropper.com/bzimage34[/quote[/URL]]
The 3.4 core kernel was not the secret to PXE booting my Dell Optiplex 330’s and 740’s, I managed to get both machines to boot using the 2.6.33.3 PS kernel.[/quote]
-
Would I need to create an unattended install file to name a computer after pushing a syspreped image? I have found some blurbs about FOG service, and even found a download for it, but not a whole lot of information. I have a image that has 3 user accounts that is roughly a 60GB system image. Right now I can image machines, create a dummy user name and name the PC what it needs to be and then go delete the dummy account, and my computer is almost ready. We run DeepFreeze so after I push the thawed image the machine needs to be booted in frozen mode, then my install is complete. I have managed to narrow it down to those final steps, but would like to be able to clean them all up so I can just setup a CRON job and come back and turn the FOG server off and be done.
-
From what I have had a chance to read this week, it looks like not many people are having any luck with renaming a syspreped windows machine without an answer file being used.
If you have any information about this I would love to hear about it.
Also if anyone uses faronics deepfreeze on their machines I would be interested in any information you might have on ways to be able to make changes to an image that was frozen when it was taken.
-
i rename by machines using FOG to rename them as per the name i register them with
-
Yes, don’t try to rename the machine with sysprep, just let the Fog client do the rename and join to the domain if you need. I tried to use sysprep for domain joines, but it joined the domain before the rename and things got stupid real fast.
-
I am working on my presentation for the IT department, and I thought I would start off the show by deploying an image using the Computer Science departments ipod to initiate the deployment. In order for the image to deploy rapidly I will be creating a very small image, probably Windows 7 Pro 64 bit with security essentials. In the lab where I will be doing the presentation there are 14 of one type of computer and 11 of another type. In order to deploy just one image the master image is an OOBE syspreped image.
What I would like to have happen for my presentation is the machines to be ready for me to reboot them in a frozen state. For that to happen the computers will need to be named, as after the sysprep the machine no longer has one. I have not had a chance to play with version 0.32 out in the lab yet other than to image 1 or 2 computers to verify I have the correct version of kernel to do the job.
I have been holding off on a large test deployment until the IT department gets our labs moved to a new VLAN. I am also waiting to see if any new computers arrive this month.
I am just a little lost as to how computers are named in a deployment of an image by FOG. I know that by roaming around in the GUI I have found checkboxs that say renaming is enabled. I was just not sure what I need to do on my end to make it happen.
Thanks for all the support