• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Tom Elliott
    3. Best
    • Profile
    • Following 27
    • Followers 80
    • Topics 116
    • Posts 18,794
    • Best 2,571
    • Controversial 0
    • Groups 0

    Best posts made by Tom Elliott

    • New Inits

      Hey everybody,

      I’ve decided to publish the init’s I’ve been working/sitting on since before Christmas. With these init’s come, I think, a ton of improvements in how to handle Partitions. There’s minimal assumptive (as I call it) code for handling the generation of partitions. The minimal part is only left in for the compatibility of old images. Everything else should be very much generic and operational.

      I’ve tried testing all possibilities, but I try and try and always seem to miss something.

      Please let us know if the new init’s are causing issues?

      Thank you,

      posted in General development fog 1.3.0 beta scripts
      Tom ElliottT
      Tom Elliott
    • RE: FOG 1.3.0 Release Candidate 14

      Of note for this, while we wait.

      Fixes include WOL issues which will now, and properly, WOL from storage nodes.
      IPXE binaries have been updated to start up with a 10 second delay (and informative message first so people don’t think something is hung). This 10 second delay should help with some systems that take a bit for the link to come up.
      Group taskings only worked for imaging types only which was accidental. This is now fixed and should work properly.
      Proxy information was not working properly and seems to work for RC 14.
      Fixes the init.d mysqld init script getting a comment in some Distributions of redhat. This was unknown but figured out and fixed for latest. This was originally thought to be a repository issue but it was not.
      Fixes a bit of Arch installation problems.
      Fixes Fedora 24 not being able to be installed for some reason or other.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: School : A couple of questions

      Why do I use fog? Well, for me, it started with me trying to learn more about linux way back in 2007-ish. I saw a posting on howtoforge.org and decided, why not. https://www.howtoforge.com/installing-fog-computer-imaging-solution-on-fedora8 (this was the posting although it was much different looking way back then.)

      I had been playing with Linux (itself) for many years earlier, but found a need for FOG for where I worked. I was in the Army back then. When I first got to my duty station, the team was imaging computers using a CD which contained an image created by GHOST. I had learned about PXE in my own training and decided to try building a PXE Server to image more systems at the same time as in one months time (before I arrived) the number of systems imaged was about 100 out of an estimated 900 that had to be completed. After building the PXE server and setting up a GHOST multicast session we completed about 300 in one day.

      Because of that, I kept forward on PXE booting and the sort of technologies that used it. That’s when I decided to install fog. It was not for the military as we had already had an established system for imaging at that point (through working with our post networking offices). I installed just for my own playing and testing and understanding.

      I didn’t know of other items that ran similarly. I loved the fact that FOG used PXE booting, did not require a CD to host the original image, and was completely web managed. I kept my personal systems updated as things came out and did a lot of reading over the years. I knew of other “similar” software’s and decided none of them were as “cool” as FOG was. So I just kept with fog.

      Where I work currently, I believe the need was because the items they had were very pricy and people were left to “make” their own images. When I started working here, I noticed the shift of technology moving from MBR to EFI based booting (BIOS vs. EFI if you will), and I new 0.33b was being worked on. However it was completely “stuck” if you will. I slowly decided to work on it, and it’s become what you see now (particularly in trunk).

      What is FOG? FOG kind of models itself (now) to what Clonezilla does (albeit with a lot more – I think – improvements). That’s as far as FOG and Clonezilla compare, they use the same type of software to capture the image (now). With enough knowledge and understanding, Clonezilla could easily do what FOG does in whole, but it’s main purpose is to be a disk cloning tool. FOG is primarily designed to be a disk cloning or imaging tool. What does this mean? Clonezilla is great at getting and applying a disk to an equivalent disk (size in specifics) where FOG is designed for imaging in either scenario.

      What is Imaging/Cloning? What I consider the difference between imaging vs. cloning is cloning mean’s a one for one copy. The image will be copied from one drive and must (Maybe should is more appropriate?) be placed on an equivalent drive or larger. I consider imaging meaning it captures the software layers of the device, and replaces it similar to cloning, but they need not be placed on the same drive. FOG enables users to make a choice on how they want the data stored and/or replaced. Most IT personnel will likely put imaging or cloning in the same category.

      Why FOG? Well I enjoy it. I get to help MANY people around the world and see my own experience and knowledge grow as I find/test/see new technologies. I love the coding as it helps me maintain focus rather than dwelling on anxiety that I experience normally. I love seeing people see what FOG has become.

      Why Clonezilla? Can be used for imaging anything so long as the restoration is occurring on matched or larger medium. I personally find Clonezilla cumbersome to initiate, but it does work very well and can be used without requiring network at all. It’s a great software that works well for “disk to disk” clones and scales fairly well if all systems in an organization is the same.

      Why MDT/WDS? These paired (from what I hear) are awesome together in that you can do as @george1421 stated about making images from an unattended model with ease as well as capturing and applying that image to many systems. These are also free, but there are limitations.

      As with all software, there’s going to be pro’s and con’s. I’m not trying to dish those things out at all.

      Of course I’m going to be biased (now) to FOG as it’s more or less been my baby for the last 3 years. What a person uses is totally up to them. You’re going to get biased answers no matter what forum you go to. Especially if you ask on the relative software forum pages. Asking a community like Spiceworks may give less biased information (or maybe multiple biased points of view).

      posted in General
      Tom ElliottT
      Tom Elliott
    • FOG 1.3.5 RC 1 Released

      https://news.fogproject.org/fog-1-3-5-rc-1/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: Useful Scripts

      Build buildroot
      – Copies the files from the main trunk directory of a remote system (my dev box) and places the files where needed.
      – Does require pre-environment setup (config files etc… already in place.
      – I call it buildBuildroot
      – Copies the init’s back to my other servers as needed.

      #!/bin/bash
      arguments="$*"
      dots() {
          local pad=$(printf "%0.1s" "."{1..60})
          printf " * %s%*.*s" "$1" 0 $((60-${#1})) "$pad"
      }
      errorStat() {
          local status=$1
          if [[ $status != 0 ]]; then
              echo "Failed"
              return 1
          fi
          echo "Done"
          return 0
      }
      getCustomBuildroot() {
          dots "Copying customized 64 bit init files"
          scp -rP 10002 mastaweb:/root/trunk/src/buildroot/* /root/buildroot/ >/dev/null 2>&1
          errorStat $?
          dots "Copying customized 32 bit init files"
          scp -rP 10002 mastaweb:/root/trunk/src/buildroot/* /root/32build/buildroot/ >/dev/null 2>&1
          errorStat $?
      }
      build64bit() {
          dots "Moving to 64 bit build environment"
          if [[ -d /root/buildroot ]]; then
              cd /root/buildroot
          fi
          errorStat $?
          [[ $? != 0 ]] && exit 1
          dots "Removing fog build directory to start fresh"
          if [[ -d "/root/buildroot/output/build/fog-1" ]]; then
              rm -rf "/root/buildroot/output/build/fog-1" >/dev/null 2>&1
          fi
          errorStat $?
          [[ $? != 0 ]] && exit 1
          dots "Building 64 bit inits"
          make -j $(nproc) >/root/buildroot/buildroot64.log 2>&1
          errorStat $?
          [[ $? != 0 ]] && exit 1
          dots "Copying 64 bit inits to remotes"
          scp output/images/rootfs.ext2.xz ubuntu64:/var/www/fog/service/ipxe/init.xz >/dev/null 2>&1 && \
          scp -P 10002 output/images/rootfs.ext2.xz mastaweb:/var/www/html/init.xz >/dev/null 2>&1 && \
          scp -P 10008 output/images/rootfs.ext2.xz fogstorage:/var/www/html/fog/service/ipxe/init.xz >/dev/null 2>&1
          errorStat $?
      }
      build32bit() {
          dots "Moving to 32 bit build environment"
          if [[ -d /root/32build/buildroot ]]; then
              cd /root/32build/buildroot >/dev/null 2>&1
          fi
          errorStat $?
          [[ $? != 0 ]] && exit 1
          dots "Removing fog build directory to start fresh"
          if [[ -d "/root/32build/buildroot/output/build/fog-1" ]]; then
              rm -rf "/root/32build/buildroot/output/build/fog-1" >/dev/null 2>&1
          fi
          errorStat $?
          [[ $? != 0 ]] && exit 1
          dots "Building 32 bit inits"
          make -j $(nproc) ARCH=i486 >/root/32build/buildroot/buildroot32.log 2>&1
          errorStat $?
          [[ $? != 0 ]] && exit 1
          dots "Copying 32 bit inits to remotes"
          scp output/images/rootfs.ext2.xz ubuntu64:/var/www/fog/service/ipxe/init_32.xz >/dev/null 2>&1 && \
          scp -P 10002 output/images/rootfs.ext2.xz mastaweb:/var/www/html/init_32.xz >/dev/null 2>&1 && \
          scp -P 10008 output/images/rootfs.ext2.xz fogstorage:/var/www/html/fog/service/ipxe/init_32.xz >/dev/null 2>&1
          errorStat $?
      }
      if [[ $arguments == +(*'customfiles'*) ]]; then
          getCustomBuildroot
          exit
      fi
      getCustomBuildroot
      build64bit
      build32bit
      
      posted in General
      Tom ElliottT
      Tom Elliott
    • FOG 1.3.5 RC 12

      https://news.fogproject.org/fog-1-3-5-rc-12/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.3.5 RC 16

      https://news.fogproject.org/fog-1-3-5-rc-16/

      Released specifically due to resize issue that was unforeseen. Seeing as I want resizing to be the basis and this was relatively unknown until later on today, i’m pushing two in one day (Imaging is important enough I think it deserves it).

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: FOG 1.3.5 and Client 0.11.11 Officially Released

      In case anybody is wondering. The reason for the release is not a “salvation” for all the bugs reported (although that certainly does play a part). The primary reason is enough information has been tested/received that I feel it’s a good move to make it official tied with the two Client releases received to address issues as reported with the client.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.4.0 RC 1

      https://news.fogproject.org/fog-1-4-0-rc-1/

      For anybody wondering where 1.3.6 went. Well 1.3.5 really probably should’ve been a 1.4.0 release.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.0 RC 10

      https://news.fogproject.org/fog-1-5-0-rc-10/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.1 and FOG Client 0.11.16 Officially Released

      https://news.fogproject.org/fog-1-5-1-client-0-11-16/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.4 Officially Released

      https://news.fogproject.org/fog-1-5-4

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.6 Testing Needed - Help would be greatly appreciated as needed

      Hello All,

      I know you all have been hearing about our work on 1.6 and maybe even our “kind of” roadmap with 1.7, 1.8, 1.9, and 2.0.

      I’ve branched our feature branch that was working with 1.6 to working-1.6 and just trying to get people out there who are interested and somewhat “dare-devilish” who would like to install and test 1.6.

      For the most part, I believe all the main page components are rewritten to be 1.6 gui friendly, but my Javascript is not necessarily the best. I believe most things are functional, but I’m only one person. There’s likely a ton of things that need to be re-worked, but I think it’s functional enough to be used in a testing environment (or those who are really brave, take the task of attempting in production based testing – not recommended but could help find real world issues much easier).

      I need a lot of help with finding issues and probably with javascript coding pieces.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.7 Officially Released

      Please make sure you say NO if asked about removing and re-installing PHP and Apache when upgrading to 1.5.7 on Ubuntu!!! There is an issue within the installer trying to switch to MariaDB that causes a problem on Ubuntu installs otherwise. If you have such an issue see here: https://forums.fogproject.org/post/126476 and https://forums.fogproject.org/topic/13447/lost-database

      https://news.fogproject.org/fog-1-5-7-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: FOG Login with spaces in username

      @Quazz @Sebastian-Roth @Wayne-Workman @kek

      This isn’t a normal situation in my eyes. That’s not to say you can’t get spaces in your usernames.

      Change the relevant regex from: (?=^.{3,40}$)^[\w][\w0-9]*[._-]?[\w0-9]*[._-]?[\w0-9]+$ to:
      (?=^.{3,40}$)^[\w][\w0-9]*[ ._-]?[\w0-9]*[ ._-]?[\w0-9]+$

      And you should be able to create and use usernames with spaces. But again, this isn’t very common, especially when paired with AD logins. The userPrincipalName will still be without spaces.

      Probably a better method would be:
      (?=^.{3,40}$)^(?!.*[_\s-\.]{2,})[a-zA-Z0-9][a-zA-Z0-9_\s\-\.]*[a-zA-Z0-9]$ as it allows multiple spaces

      If you need the username to be longer or shorter than 40, 3 respectively just remove the first part of the line, or make the relevant numerical changes.

      the (?=^.{3,40}$) means Must be at least 3 characters and cannot exceed 40 characters (this includes spaces, dots, dashes, and underscores.

      Seeing as our schema for Usernames is set to 50 characters, you can’t have anything more than 50. So you could adjust the first part to simply be:
      (?=^.{1,50}$).

      It won’t show as invalid if you remove the line, but the database won’t be able to store the field.

      posted in General Problems
      Tom ElliottT
      Tom Elliott
    • RE: Future of FOG

      There is going to still be a “trunk” branch and I’ll still be doing (albeit much less than in the past) work on the PHP side of FOG, but really limited to bug fixes and minor improvements. I don’t expect any new features to be added unless it’s to support some new functionality in regards to the new FOG Client that we find useful enough to be added to the current channel’s of FOG.

      As we get closer and closer to a functional element of FOG 2.0 (which will likely take a while) we’ll most likely give up postings to try to get our testers and other developers updated to test and report things.

      posted in General
      Tom ElliottT
      Tom Elliott
    • RE: Is there a way to capture an image without re-sizing the partitions?

      Set the image type to one of the non resize types.

      posted in General
      Tom ElliottT
      Tom Elliott
    • RE: FOG 1.3.0 Release Candidate 30

      Hey all, just wanted to give information on why the “frequent” RC’s this week.

      I’m kind of tied up at work, so only have limited time during the evening this week.

      If there’s a bug found and fixed within an hour or so, I will typically republish (hoping not everybody has already updated). This because strenuous and confusing the more “repubs” go up, so if a day (approximately) has gone by, rather than republishing under the current RC, I will just release the RC as if it is new. (No the day to day will not always happen, just this week mostly.)

      As you all have hopefully been noticing, the bug’s are significantly lowered and it’s simpler (at this time) for me to keep up once I get home.

      These frequent releases, by no means, mean that there’s any largely significant bugs or problems, just I want to get the items out for testing as much as possible.

      Please keep up with the reports as you notice them.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: HP Z640 - NVME PCI-E Drive

      I’m currently at an appointment so it can’t do anything to fix this right now I just wanted to ensure you all know I’m aware of the issue for right now.

      posted in Hardware Compatibility
      Tom ElliottT
      Tom Elliott
    • FOG 1.3.5 RC 14

      https://news.fogproject.org/fog-1-3-5-rc-14/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • 1 / 1