I also would really like to see an API service included with FOG. What are everyone’s thoughts regarding this? And in particular, the developers’ opinions?
Latest posts made by albero
-
RE: FOG API?
-
RE: PXE Boot Loop Problem
Since you are trying to inventory, I’m going to guess that you’ve already gotten to the FOG menu? If that is the case are you trying to do a quick registration and inventory or a full registration and inventory? Also, if you have gotten to the FOG menu then I don’t think we are having the same problem as what’s stated in the thread title. It’ll probably be better to create another thread with more detailed information such as: OS, versions, what you’ve tried, and what the problem is that you are experiencing.
You might not have seen it since I edited my older post in this thread instead of creating another post, but I also had a problem where one of my clients was hanging at the end of the registration while attempting to send the inventory. I eventually turned off the machine and restarted using ‘Quick Host Registration and Inventory’ which succeeded for me.
-
RE: PXE Boot Loop Problem
I suggest you start a new thread with detailed information about what you are seeing and how everything is set up. It seems like you are having different/more problems than I encountered. Also, be sure to try Robbie’s suggestion earlier in this thread and include the results in your post. I hope you get everything working!
-
RE: PXE Boot Loop Problem
I just solved this problem by changing /tftpboot/undionly.kpxe.
I had FOG 0.33 working on this same machine previously and I noticed that dhcpd.conf was using undionly.kpxe in 1.1.1 as opposed to pxelinux.0 in version 0.33. So I started trying different files located in /tftpboot (i.e. ipxe.kpxe, undionly.kkpxe, …).
I first tried to do so using the technique described in [URL=‘http://fogproject.org/forum/threads/realtek-8111-8168-undionly-kpxe-hangs-on-initialising-devices.10453/page-3#post-30923’]this post[/URL]. The symlink wasn’t working for me for some reason, even with the correct ownership (fog.root) so I ended up changing FOG_BOOT_EXIT_TYPE to EXIT in the Fog System Settings through the web GUI and doing the following:
[CODE]mv /tftpboot/undionly.kpxe /tftpboot/undionly.kpxe.bak
cp /tftpboot/<file> /tftpboot/undionly.kpxe
chown fog.root /tftpboot/undionly.kpxe[/CODE]After using the undionly.kkpxe I was able to reach the FOG boot screen. I’m currently uploading images to FOG for both the XP and Win7 clients, fingers crossed.
I also think it’s possible to achieve the same by editing /etc/dhcp/dhcpd.conf and changing ‘filename “undionly.kpxe”;’ to whichever file you want to try. This might require some services to be restarted.
==============
UPDATEI was able to successfully upload and deploy an image on the Windows XP client. I used Full Host Registration and Inventory from the FOG menu prior to uploading an image.
When I tried to Perform Full Host Registration and Inventory on the Windows 7 client, it executed to the point where it said “Attempting to send Inventory…” then output new lines about every 3 seconds. I let that run for a long time ~1hr, then I powered off the machine and started again. Then I selected Quick Host Registration and Inventory which successfully ran and [S]I’m currently uploading an image to the server now[/S] it successfully imaged. -
PXE Boot Loop Problem
I have a very similar problem to the one described in the following link, but I didn’t want to hijack a thread that might have had a different problem.
[url]http://fogproject.org/forum/threads/boot-loop-issue.10859[/url]
I installed FOG 1.1.1 just after installing Ubuntu 12.04.4 64bit. The install went smoothly enough and I can access the GUI well enough. One thing to note is that the network I have FOG installed on is isolated from the internet and other networks.
I also have two clients I am trying to get this working for:
Windows XP 32 bit
Windows 7 64 bitThe problem I am having occurs, on both clients, when I am trying to upload an image to the server. The clients both connect when PXE booting and get an IP from FOG. Then after it outputs
“Congfiguring (net0 [MAC])…”
for ~15 seconds it will reboot the machine and attempt to PXE boot again.It looks almost identical to the [URL=‘https://www.youtube.com/watch?feature=player_embedded&v=4SaO4gY-sZo’]video[/URL] posted in the post mentioned above. The only difference is I’m not sure whether mine also displays an error before rebooting. If it does it happens too fast for me to even register a flash of text.
Here’s what I’ve tried so far:
[LIST]
[]sudo service tftpd-hpa restart
[]tftp [server_ip] get undionly.kpxe
[]mysql -u root fog; select * FROM hosts WHERE hostID=‘0’;
[LIST]
[]Empty set (0.00 sec)
[/LIST]
[/LIST]
EDIT - Will post installation details if needed. -
RE: FOG 0.32 Differnet OS Images, Same Machine
Thank you for your help!
I have just tried to deploy and XP image, “Single Partition (NTFS Only, Resizable)”, to a machine that was currently running Windows 7. Unfortunately, I received the following error: “Unable to locate Windows 7 image file sys.img.000”. I believe that might be a result of the XP image being single partition. I will try again with a Multiple Partition Image, but I will need to reinstall XP since I just imaged Windows 7 over it… :oops:
-
RE: FOG 0.32 Differnet OS Images, Same Machine
I have just performed a successful deployment of a Windows 7 image onto a machine that was running Windows XP. The Windows 7 image was a “Multiple Partition Image - Single Disk (Not Resizable)”.
When I initially tried I used a Windows 7 image that was “Single Partition (NTFS Only, Resizable)”. This resulted in an error: “[/images/image_location] must be a valid regular file (not a directory,…”.
-
FOG 0.32 Differnet OS Images, Same Machine
Hello All,
I would like to know if it is possible to deploy an image of one machine onto another of a different OS.
For example:
We have two machines XP and Seven.
XP has uploaded an image ‘xp_image’ and is running Windows XP.
Seven has uploaded an image ‘seven_image’ and is running Windows 7.
Is it possible to deploy seven_image onto machine XP? -
RE: Automatically Reimage on Reboot
Thanks! I’ll start working on that, and I’ll let you know if it works or if I run into any other problems.
Thanks again!
-
RE: Automatically Reimage on Reboot
Hello,
Sorry for the extremely late reply. I had quite a few incidents come up and I completely forgot about this thread.
I would like to re-image the system each time because I am using it as a physical sandbox. I would like to be able to run a malicious sample on the machine for analysis then afterwards re-image it in order to return it to a clean state.
I don’t believe I use the FOG Client as I did not explicitly install it. I do not want to manually create a new task each time as I would like the process streamlined and automation would be best as it isn’t possible to know when or how often a task will be needed.