Network Boot Problems/Computer won't communicate with Ubuntu/FOG
-
Put those settings in (Remember to make note of what you do in case you need to take it out again).
Register a client PC with fog through the web frontend, set it to PXE boot, then see if it boots from network and shows you a FOG menu. If you get the fog menu, its worked.
-
Well…
We can’t seem to change any settings on the DHCP server
Plan D
Can we set up our own network? Just have the fog server hooked up to a switch then have some computers hooked up to a switch? And then have the FOG server give out DHCP address?
I am at a loss…I have about 75 computers to do
Thanks
-
During the install process for FOG it asks if you would like to have FOG manage your DHCP. If you don’t have any images or a long list of hosts added to FOG already, it might be easiest to just set it up one more time from scratch on an isolated switch, making sure to let FOG handle DHCP.
-
OK, is there a way I can change my current settings without uninstalling FOG? Should I be connected to our current network when I install FOG? What IP address do I use for the FOG server?
Thanks again
-
Yes. install the DHCP daemon and configure it manually.
-
Hello again!
Here is what I did and it didn’t work, I know shocking:
Set up my fog server to handle DHCP…I think
Connected my fog server to a switch no hooked to the internet
Connected the client to the same switch as the fog server
And…nothingCan someone check my fog settings?
I can’t have my fog server hooked to our current network…it causes some problems
Thanks!!!
-
post your dhcpd config file (use code tags or attach the file).
When you says “And…nothing” what part of the process gives you nothing? Maybe if you spelled out the exact steps you are taking when trying to use FOG when the “And…nothing”, we might be able to help. You can configure FOG all day long, but if you don’t turn on the clients “and…nothing” is an expected and acceptable result.
-
Sorry for being vague
And…nothing—this means the client machine did not boot from PXEDid I miss a step?
Probably something simpleThanks Again
-
Did you go into the BIOS on the clients and set them to network book, and then actually make sure they are network booting. Some require you to hit F12, or hold down a key before they network boot, even if it’s set in the BIOS. I have some tablets that I have to hold down a special button on the front while turning them on, or they ignore the boot order and quick boot to windows.
-
Yes, I hit F12 and selected Boot From PXE.
Ill keep trying.
Thanks again
-
Hello again!
I was thinking one day and thought I may need 2 network cards for my computer to make FOG work? Not sure why, So I tried it and the computer did not boot from PXE.
So then my next venture was to start from scratch, so I reinstalled FOG. Then I got this message-- * Setting up and starting Apache Web Server…Failed!
So here is my current set-up
..#######:. ..,#,.. .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
Created by:
SyperiorSoft
[url]http://www.SyperiorSoft.com[/url]
Developers:
Chuck Syperski
Jian Zhang
GNU GPL Version 3
###########################################
Version: 0.32 Installer/Updater
What version of Linux would you like to run the installtion for?
1) Redhat Based Linux (Fedora, CentOS) 2) Ubuntu Based Linux (Kubuntu, Edubuntu)
Choice: [2]2
Starting Ubuntu Installtion.
FOG Server installation modes:
* Normal Server: (Choice N)
This is the typical installation type and
will install all FOG components for you on this
machine. Pick this option if you are unsure what to pick.* Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group
More information:
[url]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/url]What type of installation would you like to do? [N] n
What is the IP address to be used by this FOG Server? [10.0.175.162]
Would you like to setup a router address for the DHCP server? [Y/n] n
Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n] n
Would you like to change the default network interface from eth0?
If you are not sure, select No. [y/N]Would you like to use the FOG server for dhcp service? [Y/n] y
This version of FOG has internationalization support, would
you like to install the additional language packs? [Y/n] n#####################################################################
FOG now has everything it needs to setup your server, but please
understand that this script will overwrite any setting you may
have setup for services like DHCP, apache, pxe, tftp, and NFS.It is not recommended that you install this on a production system
as this script modifies many of your system settings.This script should be run by the root user on Fedora, or with sudo on Ubuntu.
Here are the settings FOG will use:
Distro: Ubuntu
Installation Type: Normal Server
Server IP Address: 10.0.175.162
DHCP router Address:
DHCP DNS Address:
Interface: eth0
Using FOG DHCP: 1
Internationalization: 0Are you sure you wish to continue (Y/N)
Sorry, answer not recognized.
Are you sure you wish to continue (Y/N) y
Installation Started…
Installing required packages, if this fails
make sure you have an active internet connection.-
Preparing apt-get
-
Installing package: apache2
-
Installing package: php5
-
Installing package: php5-gd
-
Installing package: php5-cli
-
Installing package: php5-mysql
-
Installing package: php5-curl
-
Installing package: mysql-server
We are about to install MySQL Server on
this server, if MySQL isn’t installed already
you will be prompted for a root password. If
you don’t leave it blank you will need to change
it in the config.php file located at:/var/www/fog/commons/config.php
Press enter to acknowledge this message.
Reading package lists…
Building dependency tree…
Reading state information…
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 127 not upgraded.- Installing package: mysql-client
- Installing package: isc-dhcp-server
- Installing package: tftpd-hpa
- Installing package: tftp-hpa
- Installing package: nfs-kernel-server
- Installing package: vsftpd
- Installing package: net-tools
- Installing package: wget
- Installing package: xinetd
- Installing package: sysv-rc-conf
- Installing package: tar
- Installing package: gzip
- Installing package: build-essential
- Installing package: cpp
- Installing package: gcc
- Installing package: g++
- Installing package: m4
- Installing package: htmldoc
- Installing package: perl
- Installing package: libcrypt-passwdmd5-perl
- Installing package: lftp
- Installing package: openssh-server
- Installing package: php-gettext
- Installing package: clamav-freshclam
Confirming package installation.
- Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-gd…OK
- Checking package: php5-cli…OK
- Checking package: php5-mysql…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…OK
- Checking package: isc-dhcp-server…OK
- Checking package: tftpd-hpa…OK
- Checking package: tftp-hpa…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: sysv-rc-conf…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: build-essential…OK
- Checking package: cpp…OK
- Checking package: gcc…OK
- Checking package: g++…OK
- Checking package: m4…OK
- Checking package: htmldoc…OK
- Checking package: perl…OK
- Checking package: libcrypt-passwdmd5-perl…OK
- Checking package: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: clamav-freshclam…OK
Configuring services.
- Setting up fog user…OK
- Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…Failed!
That is as far as I got. I did take out the extra card. Here is my network information.
IP-10.0.175.162
Broadcast Address-10.0.255.255
Default Router-10.0.0.2
Primary DNS- 64.33.128.10Our current DHCP server can’t be modified. So I selected FOG to handle DHCP. I hope I was detailed enough! Thanks!
-
-
I am going to get a fresh start. I am going to reinstall Ubuntu 11.04 version
-
Success!!! I am in the process of uploading an image!!!
Woohooo!!!
-
Cloned 6 computers in about 20 minutes!!!
Thanks for the all the help
-
@Adam-Kohnert In case there are others who may have had this issue I have corrected a PC not booting into PXE a few times.
Steps I have taken to correct:
- Boot into BIOS
- Change the security settings to remove Secure boot
- change boot type (away from UEFI to BOTH)
- Set Legacy to first on the boot options.
This has corrected my issues every time
-
And for future readers, FOG 1.3.0 supports UEFI and GPT type disks, and the desired boot rom can be loaded into most firmware to allow them to be used with SecureBoot turned on. Also, manufacturers are beginning to produce devices that are only UEFI. The Surface Pro, some laptops, and other tablets as examples.
-
@Wayne-Workman That IS AWESOME! Save me and my team a few minutes in config…very cool.
For others reading and who are suing FOG for the first time. PXe boots up perfectly fine, DHCP will “Spin” and then you’re machine will likely not boot past a black screen perhaps with a flashing cursor. The steps from my previous post (copied inline here) fixed that issue for me:
Steps I have taken to correct:
- Boot into BIOS
- Change the security settings to remove Secure boot
- change boot type (away from UEFI to BOTH)
- Set Legacy to first on the boot options.
However as soon as 1.3.0 is out if the issue you had was like mine it likely wouldn’t have been an issue. Also the instructions at the end of the install if using FOG in a Windows DHCP server environment are critical. The Fog team should be given a lot of credit for including those. It made my first install of FOG incredibly fast.