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

    Posts made by Tom Elliott

    • RE: Kernel: cannot open /proc/partitions

      You’re welcome then!

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Uni-cast deployment problem

      It sounds like the file /images/780/d1p2.img.001 does not exist? Can you very if this is indeed there?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Identity the installed revision

      I don’t know of a method of confirming the actual svn revision. Maybe somebody else can be of more help in this regard.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Fog Cleaning Hard Disks

      What version of FOG were you using when this happened to you? I haven’t seen any issues with this as we, in 2011, had received systems with Windows 7, but were, at that time, supporting Windows XP. We created the Windows XP image and uploaded to the relevant system and had no issues that I’m aware of. We were using FOG 0.32, and still are.

      posted in Windows Problems
      Tom ElliottT
      Tom Elliott
    • RE: Kernel: cannot open /proc/partitions

      Okay,

      The FOG 0.33 hdparm, not registering issue you’re seeing, I don’t know how to help out with that completely, unless you can let me in remotely to assess the issue, but even if you’re able to get past the hdparm issue, you still won’t be able to register the host. 0.33b has removed the host association of the OS field, and now the OS is assigned to the image file itself. This makes perfect sense, except the auto.register.php file still has references to inputting the hostOS which it fails because that table doesn’t exist. I’m going to upload my auto.register.php script, this file goes in:

      <fogwebdir>/service/auto.register.php

      Also, if you know how to modify the init.gz system -> follows:

      cd /tftpboot/fog/images; mkdir tmp; gunzip init.gz; mount -o loop init tmp; cd tmp/bin

      Then you’ll have to modify the fog.man.reg file to remove the hostOS input field. I’ll post a copy of that file as well.

      You can remove the file fog.man.reg then do:

      vi fog.man.reg

      Then type the letter i

      Then paste the contents fog.man.txt file here into that file. (sorry i can’t just give fog.man.reg, but they don’t allow uploading an extension of .reg)

      Once pasted in:

      Type the key esc, then type:

      :wq

      Then:
      chmod +x fog.man.reg

      Then:
      cd …/…/
      umount tmp
      gzip -9 init

      Then you should be good to go without inputting host os.

      If all of the init.gz editing seems too complicated, at the very least get rid of the auto.register.php file in fog/service/ and insert the one I’ve provided.

      When I first started with fog 0.33b I had the same hdparm issue as you are experiencing, but my exact issue, seemingly, was due to the system not reading the right areas because of my pxe default file missing the trailing slashes as needed. Then I ran into the full registration issue with it and found out about the hostOS field missing from the hosts table in the fog database.

      Hopefully this helps you out.

      [url=“/_imported_xf_attachments/0/387_auto.register.php?:”]auto.register.php[/url][url=“/_imported_xf_attachments/0/388_fog.man.txt?:”]fog.man.txt[/url]

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Custom init.gz

      So I found out, today, why It isn’t creating the sys.img.000 file. It’s because, with my custom init.gz, it doesn’t recognize the /dev/sda2 partition. I don’t know why it doesn’t, but it doesn’t. I think it’s because the device_table.txt file, isn’t actually set in the config to use the static table versus the dynamic one, but for whatever reason, it only cares about it on the single disk, resizable option. I’ll keep testing to try to narrow it down. I’ve removed the references to partclone as it doesn’t build for some reason. It could be I haven’t got a clue (most likely) or because fog actually manually writes it’s partclone files to the system any way. I’m building now with static table reference.

      Just for posterity, I think I need to add this here. To add the fog components to the menu system, after you copy customize to package in buildroot, don’t forget to add source “package/customize/Config.in” somewhere in package/Config.in file. I added mine at the top, right above busybox. Don’t place it outside of a menu reference, so my source line is the 2nd line in the file.

      posted in General
      Tom ElliottT
      Tom Elliott
    • RE: PXE Menu update failed.

      Also,

      When editing the default file,

      You’ll find the first PASSWD line as:
      MENU MASTER PASSWD <YOUR ENCRYPTED PASSWORD> <-This controls when somebody hits the ESC key>

      and the menu options (full host reg, quick img, etc…) as:
      MENU PASSWD <YOUR ENCRYPTED PASSWORD> <- When trying to enter a menu option.

      For your knowledge, you shouldn’t need them to be encrypted, but, if you prefer to have it encrypted fog has a utility to do that for you which is located in:

      /opt/fog/utils/

      To run the command type in a terminal:

      /opt/fog/utils/md5pass <YOUR [B]UNENCRYPTED [/B]PASSWORD>
      Then copy the line printed out which will look something like:
      $1$aobkelGl$gX3rr1kioMdm12KvCCW7N0 (this is the md5pass of password)

      Copy that line, and paste it in your desired spots.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: PXE Menu update failed.

      The location for the file is in /tftpboot/pxelinux.cfg/default

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: PXE Menu update failed.

      To my knowledge that update system has not worked. You could try by making sure the pxelinux.cfg folder and files are writable by apache just to see but I’m not 100% sure.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Pigz abort

      No problem and I hope all is working for you now.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Pigz abort

      That’s a problem with partimage, not with the fog system. It is rather annoying, but I don’t know how to get that to correct itself.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Kernel: cannot open /proc/partitions

      Are you running FOG 0.33? The init.gz has a few changes to it which may be causing the issue. I don’t when I followed the build a custom init information, using a newer version of buildroot, I ran into the same type of issue because it never even copied the right file structure to the host.

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Unable to resolve names from pxe debug

      fogclient.localdomain is just the name the PXE file system is using. The Reason your fqdn isn’t working is probably due to DNSMASQing is not configured for domain name distribution. I could be wrong, but I think you have to use IP for the imaging process. Using hostname is easier to remember, but it also requires DNS lookups to be accurate and updated quite regularly. Remember that the loading of FOG during pxe boot is a very minimal OS and it doesn’t mean that all components work as you expect. I’d stick with setting the IP for your <yourfogserver> section.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Kernel: cannot open /proc/partitions

      Which config file did you use? Also, did you do make ARCH=i386 menuconfig and make ARCH=i386 bzImage?

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Kernel: cannot open /proc/partitions

      is it finally able to open /proc/partitions or are you still having this error.

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Pigz abort

      Have you had any luck, or is it still rebuilding?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Kernel: cannot open /proc/partitions

      Take a look at your fog servers mysql system. Check that the bind-address field is set for your servers IP address rather than 127.0.0.1

      You’ll have to restart mysql server, but it may help in communicating across the network. This is what, I’ve found, it usually has the issue with.

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Kernel: cannot open /proc/partitions

      I don’t know what was done in the menuconfig portion of your setup. Which configuration file did you use?

      You can try my kernel. Just download it at: [url]https://mastacontrola.com/fogboot/kernel/bzImage[/url]

      It’s based on 3.10.7

      posted in Linux Problems
      Tom ElliottT
      Tom Elliott
    • RE: Custom init.gz

      My guess is the reason I’m not seeing both partitions get made is a lack of timing to register that it still has to process the sys partition.

      Well, that’s not the case. I’ve added a statement to this upload process to watch when and what’s happening along with a couple of sleep statements in between. It seems to recognize the command and variables properly, just won’t run the system.

      posted in General
      Tom ElliottT
      Tom Elliott
    • RE: Custom init.gz

      Alright, I had to do some, slightly heavy, modding to chntpw-source-110511.zip so I’ll upload it here in case any one else finds it useful.

      As I had to mod the file, I removed the Makefile patch from the package/customize/chntpw folder as well, so I’m not trying to patch the files I already fixed to get working with buildroot2013.05

      [url=“/_imported_xf_attachments/0/386_chntpw-source-110511.zip?:”]chntpw-source-110511.zip[/url]

      posted in General
      Tom ElliottT
      Tom Elliott
    • 1 / 1