To the best of my knowledge, no building of the FOGclient is required. The Fogclient is precompiled and available for you to install by going to your fog servers web management page: [url]http://<fog_server_ip>/fog/client[/url]
hope this helps.
To the best of my knowledge, no building of the FOGclient is required. The Fogclient is precompiled and available for you to install by going to your fog servers web management page: [url]http://<fog_server_ip>/fog/client[/url]
hope this helps.
have you tried just booting the iso in pxelinux? I used memdisk to boot a WinPE iso and it works ok.
Here’s an example of the entry in my ‘default’ file.
[CODE]LABEL WinPE
kernel memdisk
append initrd=fog/winpe/WinPe.iso iso raw
MENU LABEL WinPE
\n[/CODE]
Replace ‘fog/winpe/winpe.iso’ with the filename of your iso and of course the LABEL names.
Does anybody have any alternatives to Diskpart they could share? I’m looking for a partition manager that could do the following:
be command line based, accept batch mode commands or be used in scripting
does not require an extra installation and can be run in WinPE
We’ve been using Diskpart for about a year now and have fingered it as a culprit in some issues with our fog images. I’m looking for something different so I can remove diskpart from the equation.
Any advice is appreciated.
I hate to tell you this, but I had to blowout my fog server and start over. Also, any images I created during the reign of 12.04 had to be removed as well. The recovery wasn’t that bad since I backup my SQL database, tftpboot folder, and images folder manually. Until a new version of FOG comes out, I’m staying at 10.04.
Hello all,
I realize that this error message has been referenced in the forums before, and I’ve read through all those files without much resolution to this issue, so here goes:
I have a FOG server running Ubuntu 10.04 that I just upgraded to 12.04. I did an “in-place upgrade” from the terminal. After the upgrade, everything seemed to be ok until we started to try and deploy an image.
Whenever we deploy an image now, we get the following error message:
[QUOTE]“Can’t read the following volume file”
/images/<imagename>/d1p2.img.001
Enter another full path[/QUOTE]
The image in question has been on our servers for over a year. It is a Windows 7 image we created using the “Multiple Partition/Single Disk” image type. We have deployed it hundreds of times. It has always been just 2 files. d1p1.img and d1p2.img There has never been any d1p2.img.001 files.
I went so far as to delete the image files (assuming they were corrupted) and created BRAND NEW image files and reuploading them. On the deployment, the same error appears above.
I also attempted to deploy another image to a different computer, and the same issue happens. It is also a Windows 7 image using “Multiple Partition/Single Disk” type.
Based on the previous posts, I have attempted the following:
Made copies from other servers
Deleted image files and made fresh uploads
changed permissions on files [attempted using root or fog]
re-ran the fog install script
All without solution.
I would appreciate any help or advice you can offer. I’m very comfortable in Linux and could be easily directed if pointed in the right direction.
EDIT: Also would like to point out that it’s not just Windows 7 images with “multiple partition/single disk” type images, it’s also Windows XP single partition images. It appears that ALL of my images won’t deploy. At this point, I’m not sure if it’s a partimage problem or something else.
I tried to remove or play around with the “DiskConfiguration” options, but any changes provided either prevented it from being a true Automated install, or produced the same result as before. Looking forward to comparing XML files.
Hey all,
I’ve been working once again on trying to get Windows 7 machines to upload an image using the “Single Partition” option. I’ve had issues where no matter what configuration I try, I always get 0xc000000e on deployment. This is with multiple hardware types.
I finally went back to square one and decided to rebuild my AutoUnattend.xml file that we use to install Windows 7 for image creation. After installation finishes, I immediately try to upload an image as Single Partition. The upload starts, the preliminary information doesn’t suggest that’s there is any problems. Once the upload starts, it says “Detected file system: raw” and is trying to upload the ENTIRE Hard Drive (even empty space)
I have the host listed as “Windows 7” in Host Management. And the hard drive appeared to be in good order before I uploaded it.
Any information is appreciated, never encountered it before.
Here’s my new autounattend.xml for reference-
[CODE]<?xml version=“1.0” encoding=“utf-8”?>
<unattend xmlns=“urn:schemas-microsoft-com:unattend”>
<settings pass=“windowsPE”>
<component name=“Microsoft-Windows-Setup” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<DiskConfiguration>
<Disk wcm:action=“add”>
<CreatePartitions>
<CreatePartition wcm:action=“add”>
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action=“add”>
<Active>true</Active>
<Format>NTFS</Format>
<Label>ECSD</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Effingham County</FullName>
<Organization>Board of Education</Organization>
</UserData>
</component>
<component name=“Microsoft-Windows-International-Core-WinPE” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass=“specialize”>
<component name=“Microsoft-Windows-IE-InternetExplorer” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<CompanyName>Effingham County Board of Education</CompanyName>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<Home_Page>http://www.effinghamschools.com</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<TrustedSites>http://mail.effingham.k12.ga.us</TrustedSites>
<BlockPopups>yes</BlockPopups>
</component>
<component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<TimeZone>Eastern Standard Time</TimeZone>
<ShowWindowsLive>false</ShowWindowsLive>
</component>
<component name=“Microsoft-Windows-Deployment” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<RunSynchronous>
<RunSynchronousCommand wcm:action=“add”>
<Description>Enable Admin Account</Description>
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass=“oobeSystem”>
<component name=“Microsoft-Windows-Deployment” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
<component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“x86” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<OOBE>
<ProtectYourPC>1</ProtectYourPC>
<NetworkLocation>Work</NetworkLocation>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action=“add”>
<Password>
<Value></Value>
<PlainText>false</PlainText>
</Password>
<Description>Administrator</Description>
<DisplayName>administrator</DisplayName>
<Group>administrators</Group>
<Name>administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<cpi:offlineImage cpi:source=“wim://boe-ghost2/utility/netinstalls/win7_32/sources/install.wim#Windows 7 PROFESSIONAL” xmlns:cpi=“urn:schemas-microsoft-com:cpi” />
</unattend>
[/CODE]
Hey all,
I’ve got a FOG Server that has a group of computers scheduled to wake up every weekday at a certain time. However, the scheduled task doesn’t seem to be working. I am able to wake up the computers manually using the Advanced Tasks section of the group management page, but the wake up isn’t working on it’s own.
I checked the “Scheduled Tasks” database, and the entry does exist for that group.
I have this working at several other schools, so I first suspected the router configuration. However, if I am able to turn it on manually then I do not think it’s a router problem. It appears to be a FOG Config problem.
I am unsure of where to check for information on what may be the cause. Could somebody provide some place to start troubleshooting a scheduled task or maybe some extra info on this process?
Found this page about MYSQL backups which says that within the SQL command file is the DROP TABLES
command. My SQL experience is very limited, but that makes it sound like it won’t APPEND, but OVERWRITE.
[url]http://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump/[/url]
You may want to consider looking at this: [url]http://dev.mysql.com/doc/refman/5.5/en/load-xml.html[/url]
It sounds like this would be better suited for you. Export the lines from one table and import them into another. I can’t guarantee that this is the right way to go about things, but it sounds like a start.
[quote=“synical, post: 2560, member: 819”]
[INDENT=1]Currently our network is running DeployStudios to image Macs using netboot, we are wanting to add a FOG server into the mix for imaging PCs, but we are running a Windows Server 2008 for DHCP and DNS. What would need to be done to keep the 2 servers from conflicting? I have found the documentation for making the FOG server netboot but those instructions are for a Linux DHCP server [FONT=Cambria][URL='http://www.fogproject.org/wiki/index.php?title=How_to_get_Macintosh’s_Netboot_working_with_your_FOG_server’]http://www.fogproject.org/wiki/inde...intosh’s_Netboot_working_with_your_FOG_server[/URL][/FONT][/INDENT]
[/quote]
It would seem like this would still work. You’re essentially adding the DeployStudio images to your fog servers tftpboot folder and then telling your “dhcp” server on fog, (which I believe it just handing out bootP addresses if you’re not using the FOG as a DHCP server as well) that any devices with a particular mac address asking for pxelinux.0 would be redirected to the proper mac image bootfiles.
This is all in theory. I don’t have the mac infrastructure to test all this, but have you attempted the instructions that you linked to?
In case anybody goes digging through this, I thought I’d share my experiences.
We finally got around to our upgrade and performed these steps:
Used Server Management program Webmin to perform Filesystem backups of the /tftpboot, /var/www folders and our users home directory too, since some ssh settings and such were stored there(in a tar format). Also used it to export the mySQL database to a sql file.
Did a fresh Ubuntu 10.04 install on the SSD. Performed the steps for optimization listed here: [url]http://www.howtogeek.com/62761/how-to-tweak-your-ssd-in-ubuntu-for-better-performance/[/url]
Installed new 1tb hard drive and mounted as /images, outlined here: [url]http://www.fogproject.org/wiki/index.php/Moving_your_images_directory/Adding_Storage_to_the_Images_directory[/url]
Switched back to original hard drive, remount 1tb drive and transferred image files. (This step could be performed so many ways that I’ll leave it to you)
Switched to new SSD again. Installed a fresh install of FOG. Once it’s finished, installed Webmin to restore filesystem backups of TFTPBOOT and VAR/WWW.
Then performed this command in terminal to restore MySQL database:
[CODE]sudo mysql fog < fog.sql[/CODE]
That assumes that your mySQL exported file was called fog.sql
All in all, the transition was smooth, after I learned the right order in which to import stuff. The performance of the website/system was noticeable as the system now booted in 6 seconds flat. This speed increase seemed to have caused an issue in tftpd-hpa (which is what drives the FOG tftp server), in that the service was trying to start before eth0 was ready (with an ip address) and would fail out. Manually starting the service showed that there were no problems. . This also seemed to be part of a bug that a newer version of tftpd-hpa has, as none of my other 10.04 servers have this issue.
It took me several hours of reading, but I finally figured out a fix (not sure if it’s a good fix, but it worked for me)
From the terminal:
[CODE]sudo nano /etc/init/tftpd-hpa.conf
[/CODE]
Add this text after the line beginning with “author” (line 4 for me)
[CODE]pre-start script
#take a nap so eth0 can wake up
sleep 15s
end script[/CODE]
and then finally, change the line beginning with “start on” (line 11 after you add the information above) to resemble this:
[CODE]start on (filesystem and net-device-up IFACE!=bond0.80)[/CODE]
After a reboot, run
[CODE]status tftpd-hpa[/CODE]
To see if your service auto started. If so, you’re all set.
There is probably a better way to have transferred the information around, but I’m kind of new at this kind of stuff, this is just what worked for me. Hopefully it’s helpful to you.
Wow, thanks afmrick! I’ll definitely be checking this out. I just discovered “webmin” today that’s going to help me to more simply manage all my fog servers and easily transfer files between systems, etc. So All knowledge today is certainly a HUGE help! Most appreciated!