• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. sudburr
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 129
    • Posts 747
    • Best 100
    • Controversial 0
    • Groups 2

    Posts made by sudburr

    • RE: Rollback iPXE files

      Maybe I should rephrase my question.

      I’m not looking for FOG 1.0.0, I’m looking for the iPXE files. At least that is one thing I’m considering in tracking down the source of the problem.

      The problem being what I’ve seen other discuss, involving machines not rebooting properly after a multicast.

      Unicast in all its flavours works beautifully. Multicast used to work, but along the way has become an issue. The actual mechanic leading to the multicast, and the data transfer to clients works wonderfully, it’s at the first reboot after PartImage releases the system that everything goes pear shaped.

      And as I type this I wonder, is it PartImage’s fault in dealing with a multicast? hmm

      Anyways the initial problem screen stops at:
      [CODE]
      /default.ipxe… ok
      [URL]http://x.x.x.x/fog/service/ipxe/boot.php[/URL]… ok
      booting from SAN device 0x80[/CODE]

      Subsequent reboots result in the same wordage.

      Attempting any other FOG based action on that afflicted system results in:
      [CODE]

      • Mounting File System … Done

      • Checking Mounted File System … Done

      • Starting Image Push

      • Looking for Hard Disks …

      An error has been detected!

      Failed to initialize disk

      Computer will reboot in 1 minute

      [/CODE]

      FOG won’t touch this machine now. The drive must be wiped (typically with DBAN) or diskpart or whatever, because FOG can’t even run its own disk wipe. That last error persists.

      Changing the exit type makes no difference under the iPXE settings.

      I’ll admit I haven’t been able to fully test the multicast feature in a while, but it did work at one point. I don’t recall the version (bzImage or iPXE) but it did. And that was my first thought. That iPXE and its file were the culprit so I wanted to be able to replace with older versions.

      FOG has the built in feature for installing the kernel of your choice. I’m assuming that is for bzImage only and not iPXE. Or am I wrong? I have noticed that the iPXE version does change often, even if the bzImage does not.

      I rambled …

      To solve this problem I’m considering:

      • iPXE
      • bzImage
      • PartImage <— leaning towards this guy.
      • Use of the Hidden menu option with special key to enter

      … as possible causes.

      I reiterate, unicast works flawlessly. This is only a multicast issue.

      Disconnecting the network cable or interrupting the PXE DHCP call, results in either a disk read error or no further activity.

      According to GParted… All that exists on the HDD is a 54.91MiB Used, 1.95 GiB Unused and 147.05 GiB Unallocated. A neat trick. The original Windows 7 image had a single 70 GiB partition (no System Reserved partition at the head) with about 55GB of data.

      When I have more information I will move this into the Bug or Problems forum.

      posted in General
      sudburrS
      sudburr
    • RE: SVN 2876 Group Management

      Update and a reboot. Two bits.

      Fixed with SVN2890, thank you.

      posted in FOG Problems
      sudburrS
      sudburr
    • Rollback iPXE files

      I’d like to roll back the iPXE files only … say, 1.0.0+ ( 5d9fb )

      Is there a repository for such?

      I believe a problem I’m having is because of the iPXE and I’d like to test the theory.

      The problem is one that has had a lot of discussion but no firm resolution.

      Unicast works fine. Multicast works fine except upon system reboot after imaging. The dreaded sanboot hang, then HDD error on additional multicast attempts. Some have posted switching from AHCI to compatible, which is not a solution but a workaround and not preferred.

      Multicast worked on earlier kernels. I can roll back bzImage but what about iPXE?

      posted in General
      sudburrS
      sudburr
    • SVN 2876 Group Management

      FOG SVN 2876, running on Ubuntu 14.04.1 Server-amd64

      From the Host Management page:

      • Select Host(s) (any number of hosts)
      • Select Process Group Changes (Create new group or Add to (existing) group)

      MSG:
      “Failed to Associate Hosts with Group
      No Hosts were selected”

      From the Group Management page:

      • Create New Group
      • Add Host(s) to Group
        = OK
      posted in FOG Problems
      sudburrS
      sudburr
    • RE: Hardware Currently Working with FOG v1.x.x

      Manufacturer: HP
      Model: EliteBook Revolve 810 G2
      BIOS: L86 Ver. 01.21
      NIC: Intel I218-LM
      Fog: 1.3.0 ( svn 2873 )
      Kernel: 3.18.1
      iPXE: undionly.kpxe ( d38b )
      Notes: Secure Boot = off, Boot Mode = Legacy, IPv4 PXE

      posted in Hardware Compatibility
      sudburrS
      sudburr
    • RE: Hardware Currently Working with FOG v1.x.x

      Manufacturer: Toshiba
      Model: Portege Z30t-A (touch screen model)
      BIOS: 3.50
      NIC: Intel I218-LM
      Fog: 1.3.0 ( svn 2873 )
      Kernel: 3.18.1
      iPXE: undionly.kpxe ( d38b )
      Notes: Boot Mode - CSM Boot

      posted in Hardware Compatibility
      sudburrS
      sudburr
    • RE: Integrating Hirens Boot 15.2 into fog 1.2.0

      Did you get Hiren’s Boot CD 15.2 from [url]http://www.hirensbootcd.org/download/[/url] ?

      When it was initially released my AV was quietly upset about it and corrupting the file.

      Is the Hiren’s.BootCD.15.2.iso:

      623,890,432 bytes
      CRC32: 66605154
      MD5: 7EFC81ADBBD551D56F6021C439C6837C
      SHA-1: 565B645851C49C4FB5CF1AF90540A4129033CE66

      posted in General
      sudburrS
      sudburr
    • RE: Hardware Currently Working with FOG v1.x.x

      Manufacturer: Intel
      Model: NUC D54250WYB
      BIOS: 0032
      NIC: Intel I218
      Fog: 1.3.0 ( svn 2788 )
      Kernel: 3.18.0
      iPXE: undionly.kpxe (28149)
      Notes: Set to Legacy Boot - Disabled UEFI / Secure boot

      posted in Hardware Compatibility
      sudburrS
      sudburr
    • RE: Our Step by Step Install of FOG

      Added some commands, cleaned up others; tweaked remarks; functionally identical.

      posted in Tutorials
      sudburrS
      sudburr
    • RE: Latest Development FOG

      There are examples in the Tutorials section ( [url]http://fogproject.org/forum/forums/tutorials.13/[/url] ).

      posted in General
      sudburrS
      sudburr
    • RE: Making Fog Portable

      Our Step by Step Install of Ubuntu “14.04.1-server-amd64” for FOG ( [url]http://fogproject.org/forum/threads/our-step-by-step-install-of-ubuntu-14-04-1-server-amd64-for-fog.11937/[/url] )

      Our Step by Step Install of FOG ( [url]http://fogproject.org/forum/threads/our-step-by-step-install-of-fog.12068/[/url] )

      posted in Feature Request
      sudburrS
      sudburr
    • RE: Our Step by Step Install of FOG

      Updated with new aggressive scripting to reduce steps.

      Updated with code to make FOG Server mobile!

      posted in Tutorials
      sudburrS
      sudburr
    • RE: Our Step by Step Install of Ubuntu "14.04.1-server-amd64" for FOG

      Updated to a single line copy/pasted post-install configuration and SVN2651.

      posted in Tutorials
      sudburrS
      sudburr
    • RE: Making Fog Portable

      Success!

      We now have a truly portable FOG Server. We changed several instances of hard coded IP to variables, and through rc.local rewrote others by detecting the new IP at startup.

      So far everything appears to work as intended. Host Registration, tasks, quick image.

      We’ve also merged several of our installation recipe steps through some new aggressive scripting to cut down on copy/pasting steps.

      I will update my recipes in the Tutorials with this new code.

      posted in Feature Request
      sudburrS
      sudburr
    • RE: Single Disk Multiple Partition works after a sector by sector but not before, partition problems.

      The dreaded Gibibyte vs Gigabyte . ( [url]http://en.wikipedia.org/wiki/Gibibyte[/url] )

      posted in Windows Problems
      sudburrS
      sudburr
    • Making Fog Portable

      Is there a way?

      We have our standard FOG servers, and we have FOG virtualized on laptops. These laptops use the identical Virtual Machine. The IP for this VM’s MAC is reserved in each of 60+ subnets, which the laptops can visit.

      We want the VM powered up at the site where it takes on the properties (IP) of that site. eg: FOG_TFTP_HOST, FOG_WEB_HOST, FOG_WOL_HOST, /tftpboot/default.ipxe and wherever else it needs to be configured for full functionality.

      We do not want the techs to be logging into host OS, or need to perform the changes manually through the web interface.

      We want a turn-key solution for the techs. Plug-in, Power-Up, Automatically Reconfigures without intervention.

      Is this possible now without reconfiguring the server?

      Can it be made possible without manual intervention?

      If no to either, can it be made possible?

      I’ve harvested some ideas from the forums, and added some of our own to include this in /etc/rc.local:
      [CODE]IP=ip addr list eth0 | grep "inet " |cut -d" " -f6|cut -d/ -f1
      mysql --user=root -pOurPassword -e “UPDATE `globalSettings` SET `settingValue` = ‘$IP’ WHERE `settingKey` =‘FOG_TFTP_HOST’;” fog
      mysql --user=root -pOurPassword -e “UPDATE `globalSettings` SET `settingValue` = ‘$IP’ WHERE `settingKey` =‘FOG_WEB_HOST’;” fog
      mysql --user=root -pOurPassword -e “UPDATE `globalSettings` SET `settingValue` = ‘$IP’ WHERE `settingKey` =‘FOG_WOL_HOST’;” fog
      mysql --user=root -pOurPassword -e “UPDATE `nfsGroupMembers` SET `ngmHostname` = ‘$IP’ WHERE `ngmMemberName` =‘DefaultMember’;” fog[/CODE]

      I’ll let you know how it goes.

      posted in Feature Request
      sudburrS
      sudburr
    • Our Step by Step Install of FOG

      This is our recipe for installing [B]FOG SVN 2651[/B]. It assumes you used [I][B]“Our Step by Step Install of Ubuntu 14.04.1-server-amd64 for FOG”[/B][/I] ( [url]http://fogproject.org/forum/threads...of-ubuntu-14-04-1-server-amd64-for-fog.11937/[/url] ).

      [B]01> Install (large) HDD #2 for FOG image store[/B]

      [B]02> Partition HDD #2[/B] ( [url]https://help.ubuntu.com/community/InstallingANewHardDrive[/url] )

      Login remotely with Kitty ( [url]http://kitty.9bis.net/[/url] )

      Elevate Access Level

      Identify disk devices

      Create Partition Table on appropriate HDD

      [CODE]sudo su

      lshw -C disk
      fdisk /dev/sdb
      n
      p
      1
      <enter>
      <enter>
      w[/CODE]

      [B]03> Initial OS & File System Configuration[/B]

      Format [B]NTFS: [/B]([I] for EXT4 replace the [B]“ntfs”[/B] with [B]“ext4”[/B][/I] )

      - Quick Format HDD #2

      - Mount HDD #2

      - Confirm access to HDD #2 (sdb1)

      - Unmount

      Create Persistent AutoMount Entry for /images in File System Table ( /etc/fstab )

      - Backup

      - all spacing is tabs

      - A restart will generate the folder /images and mount it

      Disable Firewall

      Install Subversion ( to checkout FOG subversions )

      Get Updates

      Restart #1

      [CODE]mkfs.ntfs -Q /dev/sdb1 &&
      mount /dev/sdb1 /mnt/temp &&
      ls -la /mnt/temp &&
      umount /mnt/temp &&
      cp -f /etc/fstab /etc/fstab.old &&
      echo -e “/dev/sdb1\t/images\tntfs\tdefaults\t0\t0” >> /etc/fstab &&
      ufw disable &&
      apt-get install subversion -y &&
      apt-get clean &&
      apt-get update &&
      apt-get upgrade -y &&
      apt-get dist-upgrade -y &&
      apt-get autoremove -y &&
      apt-get autoclean -y &&
      reboot[/CODE]

      [B]04> Prepare for, then Install FOG SVN[/B]## Login remotely with Kitty ( [url]http://kitty.9bis.net/[/url] )

      Elevate Access Level

      Set Permissions on /images

      Checkout/Download Fog SVN to /opt/trunk

      Install FOG

      [CODE]# Remove the two [ U R L ] and [ / U R L ] from the following code

      (these are erroneously created when pasted to this website)

      sudo su

      chmod -R 777 /images &&
      svn co -r 2651 [URL]https://svn.code.sf.net/p/freeghost/code/trunk[/URL] /opt/trunk &&
      cd /opt/trunk/bin &&
      ./installfog.sh[/CODE]

      [B]05> Installer Answers[/B]

      [LIST=1]
      []What version of Linux would you like to run the installation for? B Debian Based Linux[/B]
      [
      ]What type of installation would you like to do? Bormal Server[/B]
      []What is the IP address to be used by this FOG Server? [I][B]<verify the reservation address>[/B][/I]
      [
      ]Would you like to setup a router address for the DHCP server? [B]N[/B]
      []Would you like to setup a DNS address for the DHCP server and client boot image? [B]N[/B]
      [
      ]Would you like to change the default network interface from eth0? [B]N[/B]
      []Would you like to use the FOG server for DHCP service? [B]N[/B]
      [
      ]… Would you like to install the additional language packs? [B]N[/B]
      []Would you like to donate computer resources to the FOG Project? [B]N[/B]
      [
      ]Are you sure you wish to continue? [B]Y[/B]
      []Press enter to acknowledge this message. [I][B]<enter>[/B][/I]
      [
      ]New password for the MySQL “root” user. [I][B]<Password>[/B][/I]
      []What is the storage location for your images directory? (/images) [I][B]<enter>[/B][/I]
      [
      ]Did you leave the mysql password blank during install? [B]N[/B]
      []Please enter your mysql password: [I][B]<Password>[/B][/I]
      [
      ]Press [Enter} key when database is updated/installed: [B]Browser visit [url]http://fogserver/fog/management[/url][/B]
      []Select: [B]Install/Upgrade Now[/B]
      [
      ]Update / Install Successful! [I][B]<enter>[/B][/I]
      [*]Script done, file is /var/log/foginstall.log … the initial Installation is complete.
      [/LIST]

      [B]06> Add FOG Startup Procedures[/B]

      Workaround for Services Failing to Start

      - Backup /etc/rc.local

      - Add Restart TFTPD-HPA, MYSQL, FOGMulticastManager

      Make FOG Server portable by adjusting configuration at startup to reflect current IP of server

      - Find the IPv4 address

      - Update FOG MySQL entries with current IP address

      - Update default.ipxe with current IP address

      - Update FOG Host Configuration file generated at Install

      [CODE]cp -f /etc/rc.local /etc/rc.local.old &&
      vim /etc/rc.local
      “i” <insert these new lines before exit 0>

      Workaround for Services Failing to Start

      sleep 6
      service tftpd-hpa restart

      sleep 6
      service mysql restart

      sleep 6
      service FOGMulticastManager restart

      Make FOG Server Portable

      Remove the two [ U R L ] and [ / U R L ] from the following code

      (these are erroneously created when pasted to this website)

      sleep 6
      IP=ip addr list eth0 | grep "inet " |cut -d" " -f6|cut -d/ -f1
      mysql --user=root -pPassword -e “UPDATE `globalSettings` SET `settingValue` = ‘$IP’ WHERE `settingKey` =‘FOG_TFTP_HOST’;” fog
      mysql --user=root -pPassword -e “UPDATE `globalSettings` SET `settingValue` = ‘$IP’ WHERE `settingKey` =‘FOG_WEB_HOST’;” fog
      mysql --user=root -pPassword -e “UPDATE `globalSettings` SET `settingValue` = ‘$IP’ WHERE `settingKey` =‘FOG_WOL_HOST’;” fog
      mysql --user=root -pPassword -e “UPDATE `nfsGroupMembers` SET `ngmHostname` = ‘$IP’ WHERE `ngmMemberName` =‘DefaultMember’;” fog
      sed -i “s;ipaddress=”.*“;ipaddress=”$IP";" /opt/fog/.fogsettings
      sed -i "s;chain [URL]http://([^/]+)/;chain[/URL] [URL]http://$IP/[/URL];" /tftpboot/default.ipxe
      sleep 6[/CODE]

      [B]07> Prepare FOG File System and Configure Modules added by FOG[/B]

      … for Debian, remove the “/html” from this code

      Update NFS Share Settings ( /etc/exports )

      - Backup

      - Replace entire text ( changing /images from RO to RW, include “,no_subtree_check” )

      Set Timezone ( see [url]http://php.net/manual/en/timezones.php[/url] )

      Apache2 ( /etc/php5/apache2/php.ini ) & PHP5 ( /etc/php5/cli/php.ini )

      - Backup

      - Change: ";date.timezone = " to “date.timezone = Canada/Eastern”

      Make Fog IP blind ( /var/www/fog/lib/fog/Config.class.php )

      - Replace fixed IP entries with Variable ( ‘TFTP_HOST’,‘STORAGE_HOST’,‘WEB_HOST’,‘WOL_HOST’ )

      Make Apache Default Web Page default to fog/ ( allows use of shorter url [url]http://fogserver/[/url] )

      Create FOG-mandatory files for imaging

      Kernel Report ( /var/www/html/fog/service/ipxe/bzImage & bzImage32 )

      - View version ( re-test client compatibility if new version! )

      - Backup

      Get Updates

      Restart #2

      [CODE]cp -f /etc/exports /etc/exports.old &&
      echo “/images (rw,sync,no_wdelay,insecure_locks,no_root_squash,no_subtree_check,insecure,fsid=1)" > /etc/exports &&
      echo "/images/dev (rw,sync,no_wdelay,no_root_squash,no_subtree_check,insecure,fsid=2)" >> /etc/exports &&
      echo "/opt/fog/clamav (rw,sync,no_wdelay,no_root_squash,no_subtree_check,insecure,fsid=3)" >> /etc/exports &&
      cp -f /etc/php5/apache2/php.ini /etc/php5/apache2/php.ini.old &&
      cp -f /etc/php5/cli/php.ini /etc/php5/cli/php.ini.old &&
      sed -i “s;.date.timezone =;date.timezone = Canada/Eastern;” /etc/php5/apache2/php.ini &&
      sed -i “s;.date.timezone =;date.timezone = Canada/Eastern;” /etc/php5/cli/php.ini &&
      cd /var/www/fog/lib/fog &&
      cp -f Config.class.php Config.class.php.old &&
      sed -i “s;”.
      …
      …
      …*”;$_SERVER[‘SERVER_ADDR’];" Config.class.php &&
      if [ -f /var/www/html/index.html ];then mv -u /var/www/html/index.html /var/www/html/index.html.old;fi &&
      touch /images/.mntcheck &&
      touch /images/dev/.mntcheck &&
      cd /var/www/html/fog/service/ipxe &&
      strings bzImage | grep root &&
      cp -f bzImage bzImage_orig &&
      cp -f bzImage32 bzImage32_orig &&
      apt-get clean &&
      apt-get update &&
      apt-get upgrade -y &&
      apt-get dist-upgrade -y &&
      apt-get autoremove -y &&
      apt-get autoclean -y &&
      reboot[/CODE]

      [B]08> Restart #3[/B]

      Login remotely with Kitty ( [url]http://kitty.9bis.net/[/url] )

      Elevate Access Level

      Get Updates

      Restart #3

      [CODE]sudo su

      apt-get clean &&
      apt-get update &&
      apt-get upgrade -y &&
      apt-get dist-upgrade -y &&
      apt-get autoremove -y &&
      apt-get autoclean -y &&
      reboot[/CODE]

      Repeat Step 08 if Installer Schema Updater Web page persists.

      posted in Tutorials
      sudburrS
      sudburr
    • RE: Hardware Currently Working with FOG v1.x.x

      Dell OptiPlex 7020 (BIOS A01)

      • Intel Ethernet Connection I217-LM
      • FOG 1.30, svn 2732, Kernel 3.17.4, iPXE 5cbd (undionly.kpxe)
      • 2014/12/02
      • Windows 7 (legacy boot)
      posted in Hardware Compatibility
      sudburrS
      sudburr
    • RE: Randoms requests

      I know changing it to 3 for me has cut my upload times in half.

      posted in Feature Request
      sudburrS
      sudburr
    • RE: Randoms requests

      Scary slider.

      As it stands, it looks like it allows you to change the compression factor post-upload.

      Changing it for an image definition does nothing. The image remains in its original uploaded state. Neither does it alter the global setting.

      I think it’s great to be able to temporarily override the global setting in Fog Settings for a new definition where no file exists yet, but unless there is a way to identify the compression setting on the file itself automatically, then present that as information that cannot be altered, I think it is pointless to include this in the image definition where it can be edited but not actually perform a re-compression.

      I think a more appropriate use would be upon creating the definition for a real upload. But then, if I rsync files it’s left up to me to enter the correct setting for viewing later.

      posted in Feature Request
      sudburrS
      sudburr
    • 1 / 1