PXE reboot
-
I have installed FOG and successfully managed to image some machines and deploy those images to other machines and that part works great!
Once the image is either taken or deployed the restart causes the machine to PXE boot as expected. However, after the machine boots into FOG, as there are no active tasks it should boot from the hard disk as this is the next option in the boot order that I set up in the BIOS. The problem is that the machine instead of continuing down the boot order to the hard disk, keeps trying to PXE boot until there is a failure reported and the system reaches a ‘grub rescue’ command line.
How can I prevent PXE cycling over itself and get the machine to boot to the second boot option which is the hard disk?
Thanks in advance for your help
-
Hi,
You can use it : [url]http://fogproject.org/forum/threads/ubuntu-14-xx-how-not-to-have-fog-start-automatically-when-server-starts.12741/#post-45418[/url]
If there is no task iPXE return to boot on hard disk.
Regards,
Ch3i. -
hey, thank for the response.
I changes the settings and the system no longer cycles round in PXE. However it still doesn’t load Ubuntu. After it prints…
/default.ipxe. . . ok
/fog/service/ipxe/boot.php. . . ok
‘Booting from SAN device 0X88’and then nothing happens. I cant even restart with ctrl+alt+del
-
In FOG configuration (Web GUI), under iPXE boot menu, play around with the “Exit to Hard Drive Type”.
Default is Sanboot. -
I have tried all the options available, unfortunately none boot the system to ubuntu. The Sanboot option after repeated attempts remains as above. The other options “exit” and “grub” send the machine to a grub rescue command line. I need to restart manually and change the boot order in BIOS to load Ubuntu.
Is there a way to send it to the second boot option?
-
Um,
What OS is installed on these systems?
-
hi,
FOG Version 1.2.0
OS Ubuntu 14.04Installation Details
…#######:. …,#,… .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
[url]http://www.fogproject.org/[/url]
Developers:
Chuck Syperski
Jian Zhang
Peter Gilchrist
Tom Elliott
GNU GPL Version 3
###########################################
Version: 1.2.0 Installer/Updater
What version of Linux would you like to run the installation for?
1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
Choice: [2]
Starting Debian / Ubuntu / Kubuntu / Edubuntu 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]
What is the IP address to be used by this FOG Server? [192.168.90.83]
Would you like to setup a router address for the DHCP server? [Y/n]
What is the IP address to be used for the router on the DHCP server? [192.168.90.254]Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n]
What is the IP address to be used for DNS on the DHCP server and client boot image? [127.0.1.1] 192.168.90.10Would 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] N
This version of FOG has internationalization support, would
you like to install the additional language packs? [y/N]Would you like to donate computer resources to the FOG Project
to mine cryptocurrency? This will only take place during active
tasks and should NOT have any impact on performance of your
imaging or other tasks. The currency will be used to pay for
FOG Project expenses and to support the core developers working
on the project. For more information see:[url]http://fogproject.org/?q=cryptocurrency[/url]
Would you like to donate computer resources to the FOG Project? [y/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 Redhat or with sudo on Ubuntu.
** Notice ** Redhat users will need to disable SELinux and iptables in
order to use FOG
Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]
Here are the settings FOG will use:
Base Linux: Debian
Detected Linux Distribution: Ubuntu
Installation Type: Normal Server
Server IP Address: 192.168.90.83
DHCP router Address: 192.168.90.254
DHCP DNS Address: 192.168.90.10
Interface: eth0
Using FOG DHCP: 0
Internationalization: 0
Donate: 0DHCP will NOT be setup but you must setup your current DHCP server to use FOG for PXE services. On a Linux DHCP server you must set: next-server On a Windows DHCP server you must set: option 066 & 067 Option 066 is the IP of the FOG Server: (e.g. 192.168.90.83) Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
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-json
-
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.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 382 not upgraded. -
Installing package: mysql-client
-
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: 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-json…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: 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: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: clamav-freshclam…OK
Configuring services.
-
Setting up and starting MySql…OK
-
Backing up user reports…OK
-
Did you leave the mysql password blank during install? (Y/n) N
-
Please enter your mysql password:
-
Please re-enter your mysql password:
-
Setting up and starting Apache Web Server…OK
You still need to install/update your database schema.
This can be done by opening a web browser and going to:[url]http://192.168.90.83/fog/management[/url]
Press [Enter] key when database is updated/installed. -
Configuring Fresh Clam…OK
-
Setting up storage…OK
-
Setting up and starting NFS Server…OK
-
Setting up and starting DHCP Server…Skipped
-
Setting up and starting TFTP and PXE Servers…OK
-
Setting up and starting VSFTP Server…OK
-
Setting up sudo settings…OK
-
Setting up FOG Snapins…OK
-
Setting up and building UDPCast…OK
-
Installing init scripts…OK
-
Setting up FOG Services…OK
-
Starting FOG Multicast Management Server…OK
-
Starting FOG Image Replicator Server…OK
-
Starting FOG Task Scheduler Server…OK
-
Setting up FOG Utils…OK
Would you like to notify the FOG group about this installation?
- This information is only used to help the FOG group determine
if FOG is being used. This information helps to let us know
if we should keep improving this product.
Send notification? (Y/N)N
NOT sending notification.Setup complete!
You can now login to the FOG Management Portal using
the information listed below. The login information
is only if this is the first install.This can be done by opening a web browser and going to:
[url]http://192.168.90.83/fog/management[/url] Default User: Username: fog Password: password
Script done on IDT 12:46:09 2015
-
-
What is is on the systems you’re trying to image
-
They are Advantech servers.
I cant see anything written on them for more information
-
[quote=“danielc137, post: 45547, member: 29365”]They are Advantech servers.
I cant see anything written on them for more information[/quote]
What [U][B]OPERATING SYSTEM[/B][/U] are the computers running, the ones you [U]wish to [B]IMAGE[/B][/U]?
[U][B]NOT[/B][/U] what FOG is running on!
Which one?
[IMG]http://itecdigital.org.uk/informatics1/417412/year1/u2json/images/os’s.jpg[/IMG] -
I found the motherboard details if that helps: ASMB-823-00A1E
-
lol sorry, Ubuntu Server 14.04
-
-
Apache error logs
[url=“/_imported_xf_attachments/1/1873_error.log.txt?:”]error.log.txt[/url]
-
[INDENT]Linux - Ubuntu[/INDENT]
-
The operating system that’s on the systems to be imaged (receiving the image?) are ubuntu?
-
All the stuff asking for the install/error logs, is just a part of my signature, they appear beneath all of my posts.
-
Ok lol, sorry
Yes, the machine I am using to image is an Ubuntu Desktop 14.04 and machine that is being imaged is an Ubuntu Server