Well, I’ve made the changes that you pointed out, but since the image is a dual boot image FOG cannot read the MBR…
Unless someone knows a workaround, I will have to revert to clonezilla that worked fine, but is not as friendly a tool.
Latest posts made by FOG-Newby
-
RE: Help with FOG running on a Ubuntu server trying to load a client with an image
-
RE: Help with FOG running on a Ubuntu server trying to load a client with an image
Jaymes,
Thanks so much for your help. I will make the changes you mention and give it a try and let the forum know the results.Cheers
-
RE: Help with FOG running on a Ubuntu server trying to load a client with an image
[quote=“Jaymes Driver, post: 23797, member: 3582”]In the future, please put all your “Pasting” into code brackets that way it won’t convert some of the code to smiley faces like
That and it helps to define what is the information pasted from the server, it differentiates what steps you have tried, and it outlines the error without having to thumb through the settings to get to where the issue actually lies.
I don’t know too much about the solaris system you are coming from BUT… Others in the past have had to deploy an image using their OLD imaging solution to a machine and immediately (WITHOUT BOOTING THE OS) upload the image to FOG, this will give you an exact replica, and it puts it in the format FOG knows how to interpret.
Did you register a machine as a host to the fog server (sorry silly questions but I want to make syre we are on the same page)? Have you set up an Image store on the FOG Server under Image Management? Did you assign an OS type to the image? Did you also assign the image to the machine registered as a host on the FOG server?
Did you add a .mntcheck to the server store?
[code]
sudo touch /Tools/ .mntcheck
sudo touch /Tools/BuildFarmImages/ .mntcheck
[/code]Did you add FOG as the owner for the directory?
[code]
chown -R fog.root /Tools/BuildFarmImages
[/code]Did you edit your etc/exports to reflect the changes in the image store?
[code]
/mnt/Tools/BuildFarmImages *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure)
/mnt/Tools/BuildFarmImages/dev *(rw,sync,no_wdelay,no_root_squash,insecure)
[/code]It would be wise to create the /dev folder and give FOG full red and write access as it will upload the image to this temp folder then copy it to your image store.
Tom knows quite a bit more about the NFSMount options perhaps he will offer some expertise here.[/quote]
-
Help with FOG running on a Ubuntu server trying to load a client with an image
I installed FOG on a Ubuntu physical HP server. After much work I was able to get the client to PXE boot from the Ubuntu server.Since then I am not able to get an image on the client although it boots from the server and I am able to get the client UI to come up, but am unable to load my image onto the client that can be successfully accomplished using Clonezilla and a thumb drive on the client. I went to FOG to try to centralize and get away from thumb drives and maybe automate rather than being physically in front of the client server to be imaged. Am I trying to do something that cannot be done?
For clarification I set the server up the following way:
[SIZE=4][B]FOG PXE Settings[/B][/SIZE]FOG_PXE_MENU_TIMEOUT
FOG_PXE_MENU_HIDDEN
FOG_PXE_ADVANCED
[SIZE=4][B]FOG Quick Registration[/B][/SIZE]FOG_QUICKREG_AUTOPOP
FOG_QUICKREG_IMG_ID
FOG_QUICKREG_OS_ID
FOG_QUICKREG_SYS_NAME
FOG_QUICKREG_SYS_NUMBER
[SIZE=4][B]FOG Service - Auto Log Off[/B][/SIZE]FOG_SERVICE_AUTOLOGOFF_ENABLED
FOG_SERVICE_AUTOLOGOFF_MIN
FOG_SERVICE_AUTOLOGOFF_BGIMAGE
[SIZE=4][B]FOG Service - Client Updater[/B][/SIZE]FOG_SERVICE_CLIENTUPDATER_ENABLED
[SIZE=4][B]FOG Service - Directory Cleaner[/B][/SIZE]FOG_SERVICE_DIRECTORYCLEANER_ENABLED
[SIZE=4][B]FOG Service - Display Manager[/B][/SIZE]FOG_SERVICE_DISPLAYMANAGER_ENABLED
FOG_SERVICE_DISPLAYMANAGER_X
FOG_SERVICE_DISPLAYMANAGER_Y
FOG_SERVICE_DISPLAYMANAGER_R
[SIZE=4][B]FOG Service - Green Fog[/B][/SIZE]FOG_SERVICE_GREENFOG_ENABLED
[SIZE=4][B]FOG Service - Host Register[/B][/SIZE]FOG_SERVICE_HOSTREGISTER_ENABLED
FOG_QUICKREG_MAX_PENDING_MACS
FOG_QUICKREG_PENDING_MAC_FILTER
[SIZE=4][B]FOG Service - Hostname Changer[/B][/SIZE]FOG_SERVICE_HOSTNAMECHANGER_ENABLED
[SIZE=4][B]FOG Service - Printer Manager[/B][/SIZE]FOG_SERVICE_PRINTERMANAGER_ENABLED
[SIZE=4][B]FOG Service - Snapins[/B][/SIZE]FOG_SERVICE_SNAPIN_ENABLED
[SIZE=4][B]FOG Service - Task Reboot[/B][/SIZE]FOG_SERVICE_TASKREBOOT_ENABLED
[SIZE=4][B]FOG Service - User Cleanup[/B][/SIZE]FOG_SERVICE_USERCLEANUP_ENABLED
[SIZE=4][B]FOG Service - User Tracker[/B][/SIZE]FOG_SERVICE_USERTRACKER_ENABLED
[SIZE=4][B]FOG Storage Nodes[/B][/SIZE]FOG_STORAGENODE_MYSQLUSER
FOG_STORAGENODE_MYSQLPASS
[SIZE=4][B]FOG Utils[/B][/SIZE]FOG_UTIL_DIR
FOG_UTIL_BASE
[SIZE=4][B]FOG View Settings[/B][/SIZE]FOG_VIEW_DEFAULT_SCREEN
[SIZE=4][B]General Settings[/B][/SIZE]FOG_USE_SLOPPY_NAME_LOOKUPS
FOG_MEMTEST_KERNEL
FOG_UPLOADRESIZEPCT
FOG_WOL_HOST
FOG_WOL_PATH
FOG_WOL_INTERFACE
FOG_QUEUESIZE
FOG_CHECKIN_TIMEOUT
FOG_UPLOADIGNOREPAGEHIBER
FOG_USE_ANIMATION_EFFECTS
FOG_KEYMAP
FOG_KERNEL_ARGS
FOG_PROXY_IP
FOG_PROXY_PORT
FOG_USE_LEGACY_TASKLIST
FOG_DEFAULT_LOCALE
FOG_HOST_LOOKUP
FOG_UUID
FOG_ADVANCED_STATISTICS
FOG_DISABLE_CHKDSK
FOG_CHANGE_HOSTNAME_EARLY
[SIZE=4][B]Multicast Settings[/B][/SIZE]FOG_UDPCAST_INTERFACE
FOG_UDPCAST_STARTINGPORT
FOG_MULTICAST_MAX_SESSIONS
[SIZE=4][B]NFS Server[/B][/SIZE]FOG_NFS_BANDWIDTHPATH
FOG_NFS_ETH_MONITOR
[SIZE=4][B]Plugin System[/B][/SIZE]FOG_PLUGINSYS_ENABLED
FOG_PLUGINSYS_DIR
[SIZE=4][B]SSH Client[/B][/SIZE]FOG_SSH_USERNAME
FOG_SSH_PORT
[SIZE=4][B]TFTP Server[/B][/SIZE]FOG_TFTP_HOST
FOG_TFTP_FTP_USERNAME
FOG_TFTP_FTP_PASSWORD
FOG_TFTP_PXE_CONFIG_DIR
FOG_TFTP_PXE_KERNEL_DIR
FOG_TFTP_PXE_KERNEL
FOG_KERNEL_RAMDISK_SIZE
FOG_PXE_BOOT_IMAGE
FOG_PXE_IMAGE_DNSADDRESS
[SIZE=4][B]User Management[/B][/SIZE]FOG_USER_MINPASSLENGTH
FOG_USER_VALIDPASSCHARS
[SIZE=4][B]Web Server[/B][/SIZE]FOG_WEB_HOST
FOG_WEB_ROOT
FOG_SNAPINDIR
FOG_JPGRAPH_VERSION
FOG_REPORT_DIR
FOG_THEME
My FOG Ubuntu server has the images mounted to a directory I called /Tools/BuildFarmImages/ coming from a Solaris server. We are different in that the image is a dual boot Windows/Linux CentOS image.So my Ubuntu FOG server looks like this in fstab: [B]zzz.yyy.com:/Tools/BuildFarmImages /Tools/BuildFarmImages nfs … 0 0[/B]
Here is a copy of my config.php:
define( “IS_INCLUDED”, true );
define( “TFTP_HOST”, “10.45.60.4” );
define( “TFTP_FTP_USERNAME”, “fog” );
define( “TFTP_FTP_PASSWORD”, “f6f8e79ae761198564c7f9de6cfa5acb” );
define( “TFTP_PXE_CONFIG_DIR”, “/tftpboot/pxelinux.cfg/” );
define( “TFTP_PXE_KERNEL_DIR”, “/tftpboot/fog/kernel/” );
define( “PXE_KERNEL”, “fog/kernel/bzImage” );
define( “PXE_KERNEL_RAMDISK”, 127000 );
define( “USE_SLOPPY_NAME_LOOKUPS”, “1”);
define( “MEMTEST_KERNEL”, “fog/memtest/memtest” );
define( “PXE_IMAGE”, “fog/images/init.gz” );
define( “PXE_IMAGE_DNSADDRESS”, “10.41.31.3” );
define( “STORAGE_HOST”, “10.45.60.4” );
define( “STORAGE_FTP_USERNAME”, “fog” );
define( “STORAGE_FTP_PASSWORD”, “f6f8e79ae761198564c7f9de6cfa5acb” );
[B]define( “STORAGE_DATADIR”, “/Tools/BuildFarmImages/” )[/B];
[B]define( “STORAGE_DATADIR_UPLOAD”, “/Tools/BuildFarmImages/dev/” );[/B]
define( “STORAGE_BANDWIDTHPATH”, “/fog/status/bandwidth.php” );
[B]#*[/B]define( “CLONEMETHOD”, “ntfsclone” ); // valid values partimage, ntfsclone
define( “CLONEMETHOD”, “partimage” ); // valid values partimage, ntfsclone
define( “UPLOADRESIZEPCT”, 5 );
define( “WEB_HOST”, “10.45.60.4” );
define( “WEB_ROOT”, “/fog/” );
define( “WOL_HOST”, “10.45.60.4” );
define( “WOL_PATH”, “/fog/wol/wol.php” );
define( “WOL_INTERFACE”, “eth0” );
define( “SNAPINDIR”, “/opt/fog/snapins/” );
define( “QUEUESIZE”, “10” );
define( “CHECKIN_TIMEOUT”, 600 );
define( “MYSQL_HOST”, “localhost” );
define( “MYSQL_DATABASE”, “fog” );
define( “MYSQL_USERNAME”, “root” );
define( “MYSQL_PASSWORD”, “password” );
define( “DB_TYPE”, “mysql” );
define( “DB_HOST”, MYSQL_HOST );
define( “DB_NAME”, MYSQL_DATABASE );
define( “DB_USERNAME”, MYSQL_USERNAME );
define( “DB_PASSWORD”, MYSQL_PASSWORD );
define( “DB_PORT”, null );
define( “USER_MINPASSLENGTH”, 4 );
define( “USER_VALIDPASSCHARS”, “1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz_hB()^!” );
define( “NFS_ETH_MONITOR”, “eth0” );
define(“UDPCAST_INTERFACE”,“eth0”);
define(“UDPCAST_STARTINGPORT”, 63100 ); // Must be an even number! recommended between 49152 to 65535
define(“FOG_MULTICAST_MAX_SESSIONS”, 64 );
define( “FOG_JPGRAPH_VERSION”, “2.3” );
define( “FOG_REPORT_DIR”, “./reports/” );
define( “FOG_THEME”, “blackeye/blackeye.css” );
define( “FOG_UPLOADIGNOREPAGEHIBER”, “1” );
define( “FOG_VERSION”, “0.32” );
define( “FOG_SCHEMA”, 23);
DEFINE(‘BASEPATH’, rtrim($_SERVER[‘DOCUMENT_ROOT’], ‘/’) . rtrim(WEB_ROOT, ‘/’));
?>
[B]As you can see I’ve tried ntfsclone and partimage in the config.php.[/B]
[B]The errors I get when booting the client are:[/B]
[B]unable to determine best node for transfer[/B]
[B]mounting 10.45.60.4:/Tools/BuildFarmImages /images failed, bad file descriptor[/B]
[B]Permissions of /images are: drwxrwxrwx 3 root root 4096 Feb 21 11:45 /images[/B]
[B]a df -h on the FOG host show the mounted filesystem as: yy.xx.com:/Tools/BuildFarmImages 598G 482G 116G 81% /Tools/BuildFarmImages and is 0777 perm’d. I’ve also tried to mount my /Tools/BuildFarmImages f/s using nfs version 2 for kicks and no luck either. I’m stuck…[/B]
[B]Can someone please help.[/B][B]Frustrated,[/B]
[B]Mark[/B] -
RE: Cant Get dhcpd to start after installing FOG on centOS 6.5
None of the machines were able to be queued!
[ftwlx132] Unable to connect to tftp server. -
RE: Cant Get dhcpd to start after installing FOG on centOS 6.5
Made password changes, but still no luck
from /var/log/messages on FOG server:
Feb 20 12:08:14 ftwclonez-drbl dhcpd: DHCPOFFER on 10.45.60.66 to 00:25:90:27:3b:6d via eth0
Feb 20 12:08:15 ftwclonez-drbl dhcpd: DHCPREQUEST for 10.45.60.66 (10.45.60.4) from 00:25:90:27:3b:6d via eth0
Feb 20 12:08:15 ftwclonez-drbl dhcpd: DHCPACK on 10.45.60.66 to 00:25:90:27:3b:6d via eth0
Feb 20 12:08:15 ftwclonez-drbl xinetd[2186]: START: tftp pid=4261 from=10.45.60.66
Still getting: -
RE: Cant Get dhcpd to start after installing FOG on centOS 6.5
[quote=“FOG-Newby, post: 23304, member: 22364”]I’m now getting the following error:
None of the machines were able to be queued!
[ftwlx132] Unable to connect to tftp server.
Please excuse my ignorance and lack of experience with tftp and dhcp… Not sure where to go next.[/quote]
[quote=“FOG-Newby, post: 23306, member: 22364”]Adding more information related to tftp:
]# netstat -a|grep -i tftp
udp 0 0 *:tftp :[/quote] -
RE: Cant Get dhcpd to start after installing FOG on centOS 6.5
Adding more information related to tftp:
]# netstat -a|grep -i tftp
udp 0 0 *:tftp : -
RE: Cant Get dhcpd to start after installing FOG on centOS 6.5
I’m now getting the following error:
None of the machines were able to be queued!
[ftwlx132] Unable to connect to tftp server.
Please excuse my ignorance and lack of experience with tftp and dhcp… Not sure where to go next. -
RE: Cant Get dhcpd to start after installing FOG on centOS 6.5
Thank Tom!
I will reconfigure and give it another try. I appreciate your reply!!!