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?
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.
-
Automatically Reimage on Reboot
Hello all,
I was wondering if it was possible to set up FOG in a way that every time a host reboots it fog will reimage the host.
I have been thinking about how to get this to work and some of my ideas are below:
Periodically add tasks (for reimaging a host) to the queue so that there is always a task ready for when the host reboots.On the FOG server, determine when a reimage task has been completed and then create a new task for the host that has just been reimaged
If you think any of these solutions are plausible or have a better one I would love to hear about it.
-
RE: Unable to upload image
That seemed to do the trick. Some things that I ran into that gave me unnecessary trouble (I’m partially really dumb):
[INDENT=1]chkdsk /f didn’t actually run fully because some process had the disk locked[/INDENT]
[INDENT=1]When booting from the network it looked like it froze after starting to throw the same error as explained before.[/INDENT]
[INDENT=2]I restarted the box instead of letting it continue (which if I had done would have let it finish successfully).[/INDENT]
[INDENT=2] [/INDENT]
Thanks again for all your help! I really like this forum, both for the support and it’s layout. Did you guys make the forum from scratch?! -
RE: Unable to upload image
I’ve put the kernel in /tftpboot/fog/kernel/ then I restarted the FOG server and tried to boot from PXE (Onboard Network Controller). Thats when I receive the errors:
[INDENT=1]tps65010: no chip?[/INDENT]
[INDENT=1]acpiphp_ibm: imb_acpiphp_init: acpi_walk_namespace failed[/INDENT]
[INDENT=1]LocalTalk card not found; 220 = ff, 240 = ff[/INDENT]
[INDENT=1]wistron_btns: System unkown[/INDENT]
[INDENT=1]acer_wmi: No or unsupported WMI interface, unable to load[/INDENT]
[INDENT=1]acerhdf: unkown (unsupported) BIOS version Dell Inc./OptiPlex 96/A14, please report, aborting![/INDENT]
[INDENT=1]Accounting clusters…[/INDENT]
[INDENT=1]…[/INDENT]
[INDENT=1]Cluster accounting failed at 2031117 (0x1efe0d): missing cluster in $Bitmap[/INDENT]
[INDENT=1]…[/INDENT]
[INDENT=1]Filesystem check failed! Totally 25936 cluster accounting mismatches.[/INDENT]
[INDENT=1]ERROR: NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE![/INDENT]
[INDENT=1] [/INDENT]
I’ve been looking around for solutions on what to do, but none have been successful. Do you have any ideas? -
RE: Unable to upload image
Hello,
I’m finally able to get started on this again, and hopefully get it working. I’m going to put the kernel you linked above on the FOG server. Just to check, is this a 12.04 64 bit ubuntu kernel?
-
RE: Set mysql password after installation
Hello Warrender,
Are you trying to set the password for the mysql database or does your mysql database already have a password and you are trying to configure FOG to work with that password?
-
RE: Unable to upload image
Ahh okay, I’ll do that tomorrow or whenever is next possible for me. My FOG server is unable to be connected to the internet, so I’ll need to do some extra work to get the kernel onto the machine.
Thanks so much for the help so far! I didn’t expect such quality help from forums this quickly, but you’ve been great!
-
RE: Unable to upload image
So I was able to PXE boot on the Win 7 machine and it produced the following output seen in “2.png” attached below. After a few moments, the screen displayed static that can be seen in “3.png”.
I believed it to be frozen in this state (3.png), but as I was typing this the VM restarted and looks to be functioning again. I’m not sure what happened, but the task is still listed in “Task Management” for all active tasks as “queued” and there is a new empty directory in /images/dev on the FOG server whose name is the same as the MAC address of the machine whose image was to be uploaded.
[EDIT]
Found this post, [url]http://fogproject.org/forum/threads/no-chip-hp-compaq-6910p.202/[/url] ,that may be pertinent. I’m reading through it now myself.[url=“/_imported_xf_attachments/0/450_2.png?:”]2.png[/url][url=“/_imported_xf_attachments/0/451_3.png?:”]3.png[/url]
-
RE: Unable to upload image
I was in the middle of recording what I think was an error when all of a sudden the screen looked like [URL=‘http://ak0.picdn.net/shutterstock/videos/529198/preview/stock-footage-television-static-noise-audio-included-black-white.jpg’]this[/URL]. I’m going to try to reproduce it.