Glad it was helpful.
Posts made by astrouga
-
RE: Bugs in FOG 0.33
[quote=“ssx4life, post: 10651, member: 268”]This might sound a bit silly, but do we really want to support windows 8? (I’m 1/2 kidding here)[/quote]
Really? If Win 8 support is the hold up, then I say release without it. Then work on support in the next release. BTW, those of you that don’t like Windows 8, just install Classic Shell ([url]http://classicshell.net/[/url]).
What is the status of the project? It has been a while since I’ve done anything. Do we need more specific testing at this point?
Cheers,
astrouga -
RE: Dell Optiplex 7010
Thanks for the feedback. I might be getting some of the sff and the usff 7010s. I’m hoping one image will manage for both. I’m glad you mentioned the ssd issue – something to consider. Perhaps I’ll just order one and test it out before I commit.
Cheers, astrouga
-
RE: Dell Optiplex 7010
Thinking of getting some of the 7010 systems too. Anyone having luck or problems with the Ultra small form factor variety? Kevin, can you chime in since you’ve had success?
-
RE: Kitchensink.config vs core.config
They are just different kernels built on different linux kernel versions. They have different drivers built into the kernel.
You can get them from here:
[url]http://sourceforge.net/projects/freeghost/files/Kernels/[/url]
Here is a link that show how to switch between them:
[url]http://community.spiceworks.com/how_to/show/2338-setting-up-fog-to-use-different-kernels-for-different-computers[/url]
Here is list of kernels that work well for various computer models:
[url]http://www.fogproject.org/wiki/index.php/WorkingDevices[/url] -
Extend your disk partition to max
Since I use “one image to rule them all”, I have to remember to shrink my partition down below the smallest disk in inventory before I sysprep it. Otherwise the image will fail on some systems. I have some disks that are 80GB and some that are 500GB. So I usually manually shrink my disk down below 80GB before I sysprep it. Then after imaging a system with larger disks, I have to extend the partition to the max size. I got tired of doing this manually, so I wrote a vbscript to do this for me. I’m sharing it in hopes that it helps others, but also to see if anyone has a better way.
I actually use this snippet of code in a larger vbscript that does other things (local account creation, firewall exceptions, registry changes, printer installs, etc), but I’ve pulled out necessary the code below. Should be complete. Note it is actually two files. One is the vbscript that just runs diskpart, the other is a text file that contains the options to pass to diskpart.
[B][U]extend_max.vbs[/U][/B]:
[CODE]’ ########## Extend Disk Partition (MAX) ##########
LogFilename = “C:\Windows\Setup\InstallLog.txt”
LogFile.writeline “-------------------------------”
LogFile.writeline “Extending partition to max size:”
LogFile.writeline “-------------------------------” & VbCrlfdiskpartScript = “C:\Windows\Setup\Scripts\extend_max.txt”
Set oShell = CreateObject(“Wscript.Shell”)
Set oShellExec = oShell.Exec("cmd /c diskpart -s " & diskpartScript)
set oStdOutputText = oShellExec.StdOutDo While Not oStdOutputText.AtEndOfStream
diskpartOutput = oStdOutputText.ReadLine
LogFile.writeline diskpartOutput
Loop[/CODE][B][U]extend_max.txt[/U][/B]:
[CODE]select disk 0
detail disk
list disk
select volume c
extend disk 0
list disk
exit[/CODE]I call this script by adding a line to my SetupComplete.vbs script. Something like:
REG ADD %KEY%\005 /VE /D “Extending disk partition size to max” /f
REG ADD %KEY%\005 /V 1 /D “%systemroot%\Setup\Scripts\extend_max.vbs” /fastrouga
-
RE: Windows 7 no 100MB partition
[quote=“dvlsg, post: 8532, member: 1186”]Well, I was unaware that vbscript was even able to do that. It’ll look fancy to me no matter what, haha.[/quote]
That is because I just use vbscript as a wrapper to run a diskpart via the cmd line. Not so fancy any more, huh?astrouga
-
RE: Windows 7 no 100MB partition
RE: partition extending script.
Sure, I’ll dig it up later and post it to a new thread. I’ll post the thread link here when I do that. It is nothing fancy. Perhaps someone else will have a cleaner method.
astrouga
-
RE: Tuto SNAPIN with Adobe Reader X (last version)
My snapin method probably needs polishing. I have a samba share on my FOG server that I use to store all of the installers. All of my snapins are vbscripts that are 90% the same code. Really all I do is map a drive to the samba share on the server, copy the installer, run the installer, write to a log file, and disconnect the mapped drive. The vbscript is a little lengthy because of the logging, but it always works for me.
Regarding Adobe, I’d just apply for a distribution license from Adobe so you can get access to their versions of shockwave, flash and reader for distribution. The provide several versions of each, one is an msi file. I’ve never been turned down. I think it lasts for a year.
[url]http://www.adobe.com/products/reader/distribution.html[/url]
Lee, can you give some more info on the custumization tool? Not sure where to find it.
–astrouga
-
RE: TFTP issues, but fixable...?
BTW, the solution ullawolf1 suggested works really well:
"So tftpd-hpa starts “to early”. You can fix this by editing the /etc/rc.local and add the line
[CODE]/bin/sleep 30 && /etc/init.d/tftpd-hpa restart[/CODE]
to restart the daemon after 30 seconds."
The thread is here:
[U][SIZE=2][COLOR=#0060e0][SIZE=2][COLOR=#0060e0][url]http://fogproject.org/forum/threads/tftp-stops-on-reboot-after-install.488/#post-5353[/url][/COLOR][/SIZE][/COLOR][/SIZE][/U][SIZE=2]astrouga[/SIZE]
-
RE: TFTP issues, but fixable...?
Where would you recommend it go in the wiki? Honestly, these days I come to the forums for assistance and never use the wiki.
-astrouga
-
RE: How do snapins work?
[quote=“djm79, post: 8006, member: 1568”]I’m trying to understand how the snapins work code wise. I’m wanting to try to implement a location based pull for the fog client much like the multi location patch. [/quote]
That sounds like a good project. I’d wait until 0.33 comes out, or just download that code on a spare machine and start working on it. 0.33 is unlikely to change dramatically before release (Right, Blackout?), but it is likely that whatever solution you find for 0.32 will need to be rewritten for 0.33.
Keep us updated on your efforts. If you get it working perhaps you can post a FAQ with your code.
–astrouga
-
RE: Windows 7 no 100MB partition
Windows 7 single-partition, resizable doesn’t work. If someone managed to get it working in some odd scenario, that is great for them, but it is unlikely to work consistently. I would consider it broken until 0.33 comes out. The developers have been working on it.
Like chad-bisd, I too ditched trying to get the single-partition, resizable option to work and went to the multiple-partition, single disk years back. As he pointed out, the only gotcha is to to make sure your partition is smaller than all of the disks in your inventory that you plan to dump this image on. I always shrink mine down before I sysprep. Then as part of the restore, I run a vbscript (via automation) that I wrote to extend the partition to the max size. It never fails.
–astrouga
-
RE: NIC Intel 82579LM PXE issue
Try this one.
[url]http://www.filedropper.com/bzimage34[/url]
I think that is the image file. If you have issues, let me know.
astrouga
-
RE: Cron style task not showing up in active tasks
The stGroupHostID is the hostID, I believe. Look for hostID=12 in the hosts table:
select * from hosts where hostID=12;
See if that host is listed twice in the active tasks on the webpage. You should be able to look up the hostIDs in the hosts table and figure out which ones have “scheduledTasks”.astruga
-
RE: Cron style task not showing up in active tasks
Oh, you could just replace the “;” with “\G”.
I’m not sure if there is another way. You could probably muck around with your terminal font size too.
astrouga
-
RE: Cron style task not showing up in active tasks
OK, you won’t get into any trouble with this. You can’t break anything or delete anything with these commands:
[CODE]Just open a terminal window on the server, then login via:
mysql -u root -p
(put in the mysql password that you supplied when you installed fog)at the mysql propt:
use fog;
select * from scheduledTasks;If you want to see just the column headers:
describe scheduledTasks;If you want to see the other tables:
show tables;
[/CODE]
You can’t get into any trouble with those commands…you are just viewing. However, if you want to delete or change the times on a task, you could do something like this:[CODE]Assume you list out your tasks and see a task that you want to change the starting hour to 11 am. It is listed in the scheduledTasks table with the stID of 3. (stID is the primary key and is auto-incremented in this table, so it is unique).
To update the hour (stHour in this table):
update scheduledTasks set stHour=11 where stID=3;
To verify that it was updated:
select * from scheduledTasks where stID=3;For some reason you decide you just want to delete the whole task:
delete from scheduledTasks where stID=3;
To verify that it is gone:
select * from scheduledTasks where stID=3;
[/CODE]Hope that helps.
astrouga
-
RE: Cron style task not showing up in active tasks
No sweat. I was talking about manually editing the table without installing PHPMyAdmin.
Cheers,
astrouga
-
RE: Cron style task not showing up in active tasks
I was going to suggest just editing the mysql table manually, but wasn’t sure if fog was doing something in addition at the time the task was created. Makes me wonder why there is no “edit” option.
How comfortable are you with mysql? It is really straight-forward to alter and edit a table. Give me an example of the task and how you want it modified and I’ll give you the commands.
astrouga