I totaly agree, but as I wrote on top of my “guide” it was an experiment I made during my studies, just to see if FOG was a viable tool to silent install with, and with the “guide” I was just sharing my experience with it.
/Jimmy
I totaly agree, but as I wrote on top of my “guide” it was an experiment I made during my studies, just to see if FOG was a viable tool to silent install with, and with the “guide” I was just sharing my experience with it.
/Jimmy
As a part of my studies in IT Technology, I have been working on how to get an FOG server on the cloud. One of many problems was how to silent install software from the FOG server.
so here is my 2 cent on how to make it a little bit easier.
[FONT=Calibri]It is a good idea to use MSI files to distribute Software as the msi[/FONT]
[FONT=Calibri]already contain a lot of the information needed for silent installs,[/FONT]
[FONT=Calibri]even if the .msi is extracted from a .exe file[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]If you have a .Exe file and want to extract .Msi from it you[/FONT]
[FONT=Calibri]Do the following:[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]go to -> Users -> username -> AppData -> local -> temp[/FONT]
[FONT=Calibri]And delete all data here[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]Then run your. Exe program and go into the folder that is created in the temp[/FONT]
[FONT=Calibri]You can then take the .MSI file directly from the folder and use it to[/FONT]
[FONT=Calibri]Silent install.[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]If the file isn’t there, there is a good chance it is in:[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]C: -> Program Files (86x) -> common files -> Wise Installation Wizard[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]Here you have to look at the time stamp as the file name will be a series of numbers.[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]Otherwise start the task manager -> resource monitoring (at the bottom) -> Disk[/FONT]
[FONT=Calibri]Expand the screen and start your install, search for its name on the list and
go to where ever it points and here you will find the msi.[/FONT]
[FONT=Calibri] [/FONT]
[FONT=Calibri]/Jimmy[/FONT]
I did not look that way no. But as far as i understand, you actually don’t need to use gpxe since the latest version of pxe already supports http transfer, so it could look like step 1-6 of my guide is not a must.
If i have a spare moment I will look further into IPXE vs PXE vs GPXE
I will have a look at it for sure, but I can’t seem to find 0.33b on:
[url]http://sourceforge.net/projects/freeghost/files/[/url] ??
[SIZE=4]As a part of my studies in IT Technology, I have been working on how to get an FOG server on the cloud. One of many problems was PXE booting, since the next server now was on an online server. [/SIZE]
[SIZE=4]what I did was make an flash drive which could contact the next server, but for this to work you have to boot from FLASH not NIC.[/SIZE]
[SIZE=4]So here is my 2 cent on how to do it.[/SIZE]
[SIZE=4]First thing first, change pxelinux.0 to gpxelinux.0 for http and speed. You can follow my guide on how to do this here: [url]http://fogproject.org/forum/threads/change-to-gpxelinux-0.10088/[/url][/SIZE]
[SIZE=4]Now we are ready to begin making the flash drive which the client will pxe boot from.[/SIZE]
[INDENT=1][LIST]
[][SIZE=4]Download the HP usb format program [url]http://download.cnet.com/HP-USB-Disk-Storage-Format-Tool/3000-2094_4-10974082.html[/url][/SIZE]
[][SIZE=4]Download Grub4dos [url]http://www.themudcrab.com/acronis_grub4dos.php#tagInstall[/url][FONT=Arial] [/FONT][/SIZE]
[][SIZE=4]Download win32diskmaker [url]http://sourceforge.net/projects/win32diskimager/[/url][FONT=Arial] [/FONT][/SIZE]
[][SIZE=4]Go the the web page [url]http://rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic/[/url][FONT=Arial] [/FONT][/SIZE]
[][SIZE=4][FONT=Arial]Choose what kind of output you want (usb, iso), add custom script and download.[/FONT][/SIZE]
[/LIST]
[SIZE=4] [FONT=Arial] [/FONT][I][B][FONT=Arial]But Change extension to .img[/FONT][/B][/I][/SIZE]
[FONT=Arial] [/FONT]
[SIZE=4][FONT=Arial]#!gpxe[/FONT][/SIZE]
[SIZE=4][FONT=Arial] [/FONT][/SIZE]
[SIZE=4][FONT=Arial]echo Performing DHCP on first network interface[/FONT][/SIZE]
[SIZE=4][FONT=Arial]dhcp net0[/FONT][/SIZE]
[SIZE=4][FONT=Arial]set 209:string Myfogserver.com/pxe/pxelinux.cfg/default[/FONT][/SIZE]
[SIZE=4][FONT=Arial]set 210:string [/FONT][URL=‘http://Myfogserver.com/pxe/’][FONT=Arial]http://Myfogserver.com/pxe/[/FONT][/URL][/SIZE]
[SIZE=4][FONT=Arial]chain ${210:string}gpxelinux.0[/FONT][/SIZE]
[SIZE=4][FONT=Arial] [/FONT][/SIZE]
[SIZE=4][FONT=Arial](URL can be changed with IP’s)[/FONT][/SIZE]
[SIZE=4][FONT=Arial] [/FONT][/SIZE]
[LIST]
[][SIZE=4]Run the usb_format tool, check off “quick”[/SIZE]
[][SIZE=4]Run the Grub4dos.exe[/SIZE]
[/LIST]
[LIST=1]
[][SIZE=4][FONT=Arial]Under disk choose the flash drive[/FONT][/SIZE]
[][SIZE=4][FONT=Arial]Press refresh next to “part list”, and from the dropdown choose “whole disk”[/FONT][/SIZE]
[][SIZE=4][FONT=Arial]Press install[/FONT][/SIZE]
[/LIST]
[LIST]
[]Go the Grub4dos folder and locate the GRLDR file and copy it to the flash drive.
[]Now open win32diskimager.exe
[]Navigate to the file you got from rom-o-matic (gpxe file) (check file extension is .img)
[]press write
[/LIST]
[INDENT=1] [/INDENT]
[INDENT=1] [/INDENT]
[INDENT=1] [/INDENT]
[INDENT=1][FONT=Arial] [/FONT]
[SIZE=4][FONT=Arial]Your flash is now ready to pxe boot your client machine[/FONT][/SIZE][/INDENT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[SIZE=4][FONT=Arial] [/FONT][/SIZE]
[SIZE=4][FONT=Arial]#!gpxe[/FONT][/SIZE]
[SIZE=4][FONT=Arial] [/FONT][/SIZE]
[SIZE=4][FONT=Arial]echo Performing DHCP on first network interface[/FONT][/SIZE]
[SIZE=4][FONT=Arial]dhcp net0[/FONT][/SIZE]
[SIZE=4][FONT=Arial]set 209:string Myfogserver.com/pxe/pxelinux.cfg/default[/FONT][/SIZE]
[SIZE=4][FONT=Arial]set 210:string [/FONT][URL=‘http://Myfogserver.com/pxe/’][FONT=Arial]http://Myfogserver.com/pxe/[/FONT][/URL][/SIZE]
[SIZE=4][FONT=Arial]chain ${210:string}gpxelinux.0[/FONT][/SIZE]
[FONT=Arial] [/FONT]
[SIZE=4][FONT=Arial](URL’s can be changed with IP’s)[/FONT][/SIZE]
[SIZE=4]I hope this is helpfull to someone, and if there is any questions, I will do my best to answer them.[/SIZE]
[LEFT][SIZE=4]/Jimmy S. Hansen[/SIZE][/LEFT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT]
[FONT=Arial] [/FONT][/INDENT]
[SIZE=4]As a part of my studies in IT Technology, I have been working on how to get an FOG server on the cloud. One of many problems was if the client was behind a firewall and NAT, secondly, speed, as FOG server uses tftp, but I have figured out how to change to http for a big speed boost, this is tested on VM’s and even on VM’s on Microsoft Azure. [/SIZE]
[SIZE=4]So here is my 2 cent on how to do it.[/SIZE]
[COLOR=black][FONT=Arial][SIZE=4]On Ubuntu 12.04lts server with FOG 0.32[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]Start by chmod -R 777 /tftpboot/ (case sensetiv)[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]This will give RW access to the /tftpboot dir.[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4](change to chmod -R 755 /tftpboot after guide)[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]1 -6 can be done in FileZilla or directly on server[/SIZE][/FONT][/COLOR]
[LIST=1]
[][COLOR=black][SIZE=4]Download and extract syslinux - [url]https://www.kernel.org/pub/linux/utils/boot/syslinux/[/url][/SIZE][/COLOR]
[][COLOR=black][SIZE=4]Copy /gpxe/gpxelinux.0 to /tftpboot[/SIZE][/COLOR]
[][COLOR=black][SIZE=4]Rename /tftpboot/vesamenu.c32 to /tftpboot/vesamenu.c32.ol[/SIZE] [/COLOR]
[][COLOR=black][SIZE=4]Copy /com32/menu/vesamenu.c32 to /tftpboot [/SIZE][/COLOR]
[][COLOR=black][SIZE=4]Copy /memdisk/memdisk and replace /tftpboot/fog/images/memdisk and to /tftpboot[/SIZE][/COLOR]
[][COLOR=black][SIZE=4]Create a new folder named backup and move pxelinux.0 and vesamenu.c32.old to this folder[/SIZE][/COLOR]
[][COLOR=black][SIZE=4]Edit /etc/dhcp/dhcpd.conf, replacing pxelinux.0 with gpxelinux.0 [COLOR=#e84c22][I][B](IF FOG server is DHCP server)[/B][/I][/COLOR][/SIZE][/COLOR]
[][COLOR=black][SIZE=4][FONT=Arial]Go to cd /var/www/ and type[/FONT][/SIZE][/COLOR]
[/LIST]
[COLOR=black][FONT=Arial][SIZE=4]ln -s /tftpboot/fog fogboot [/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]ln –s /tftpboot pxe[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4] ln[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]ls -l should now show[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]drwxr-xr-x. 12 apache apache 4096 Dec 31 18:27 fog[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]lrwxrwxrwx. 1 root root 13 Jan 28 18:31 fogboot -> /tftpboot/fog[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]-rw-r–r–. 1 root root 45 Dec 31 18:27 index.php[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]Lrwxrwxrwx. 1root root 9 jan 28 15:57 pxe -> /tftpboot[/SIZE][/FONT][/COLOR]
[LIST]
[][COLOR=black]SIZE=4pxelinux.0 seems to be strict on the configuration file, and complains about the newline characters in the config file so edit /tftpboot/pxelinux.cfg/default to remove any newlines[I][B] (\n)[/B][/I][/SIZE][/COLOR]
[][SIZE=4]Change the IP’s to http in /tftpboot/pxelinux.cfg/default[/SIZE]
[/LIST]
[FONT=Arial][SIZE=4] LABEL fog.reg[/SIZE][/FONT]
[FONT=Arial][SIZE=4] kernel fog/kernel/bzImage[/SIZE][/FONT]
[FONT=Arial][SIZE=4] append initrd=[url]http://Myfogserver.com/fogboot/images/init.gz[/url] root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=8.8.8.8 mode=autoreg web=137.135.203.249/fog/ loglevel=4[/SIZE][/FONT]
[FONT=Arial][SIZE=4] MENU LABEL Quick Host Registration and Inventory[/SIZE][/FONT]
[FONT=Arial][SIZE=4] TEXT HELP[/SIZE][/FONT]
[FONT=Arial][SIZE=4] Automatically register the client computer,[/SIZE][/FONT]
[FONT=Arial][SIZE=4] and perform a hardware inventory.[/SIZE][/FONT]
[FONT=Arial][SIZE=4] ENDTEXT[/SIZE][/FONT]
[FONT=Arial][SIZE=4](example, after append initrd you can use URL or ip to your server)[/SIZE][/FONT]
[COLOR=black][FONT=Arial][SIZE=4][I][B]Reboot[/B][/I], to restart services. [/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]Check by typing :[URL=‘http://%22Your_fog-server%22.com/fogboot/kernel/bzimage’][B]http://[/B][I][B]“Your_fog-server”.com/fogboot/kernel/bzimage[/B][/I][/URL][I][B] (handle can be swapped with IP)[/B][/I][/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]And make sure it can download the bzimage [I][B](No need to download it)[/B][/I][/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4][URL=‘http://%22your_fog-server%22.com/pxe/gpxelinux.0’][I][B]http://“your_fog-server”.com/pxe/gpxelinux.0[/B][/I][/URL] [I][B](handle can be swapped with IP)[/B][/I][/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]And make sure it can download the gpxelinux.0 [I][B](no need to download it)[/B][/I][/SIZE][/FONT][/COLOR]
[FONT=Arial][SIZE=4]In the web interface you will also need to change to[/SIZE][/FONT]
[FONT=Arial][SIZE=4] Http[/SIZE][/FONT]
[FONT=Arial][SIZE=4][B]Tftp server[/B][/SIZE][/FONT]
[FONT=Arial][SIZE=4]Fog_tftp_pxe_kernel to [url]http://myfogserver.com/fogboot/kernel/bzImage[/url] (change URL to match, or use IP)[/SIZE][/FONT]
[FONT=Arial][SIZE=4]Fog_pxe_boot_image to [url]http://myfogserver.com/fogboot/images/init.gz[/url] (change URL to match, or use IP) [/SIZE][/FONT]
[COLOR=black][FONT=Arial][SIZE=4]chmod -R 755 /tftpboot/ (case sensetiv)[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]To change rights again[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]I hope this was usefull to someone, and if you have questions I will do my best to answer them.[/SIZE][/FONT][/COLOR]
[COLOR=black][FONT=Arial][SIZE=4]/Jimmy S. Hansen[/SIZE][/FONT][/COLOR]
My set up is a FOG server on windows Azure.
My problem is that i have way to many ports open right now
1028 - 65535
and I am trying to limit me a bit, so my question is:
what is the first port FOG server uses as a transfer port?
/Jimmy
If anyone should stumple upon this thread i will give my solution here
firewall
i had forgotten to open transfer ports, after opening those ports it srpung to life
and uploaded my image
/Jimmy
That was my fear too.
Thanks a million for trying anyway
/Jimmy