• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. TheKoR
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 1
    • Topics 15
    • Posts 179
    • Best 17
    • Controversial 0
    • Groups 0

    Posts made by TheKoR

    • RE: Add btrfs support.

      <joke> Hello, Can you buy a keyboard with space bar please šŸ˜„ </joke>

      posted in Feature Request
      T
      TheKoR
    • RE: Postdownloadscript help

      No error message

      and no error log

      posted in Windows Problems
      T
      TheKoR
    • Postdownloadscript help

      Hi,

      i’ll try the postdownloadscripts for driver installation.

      [CODE]#!/bin/sh

      This file serves as a starting point to call your custom postimaging scripts.

      <SCRIPTNAME> should be changed to the script you’re planning to use.

      Syntax of post download scripts are

      #. ${postdownpath}<SCRIPTNAME>

      if [ $osid == ā€œ5ā€ -o $osid == ā€œ6ā€ -o $osid == ā€œ7ā€ ]; then #only handling Win7/8/8.1
      clearScreen;
      mkdir /ntfs &>/dev/null
      ntfs-3g -o force,rw $part /ntfs #mount image (remember this is mounting partition [U][B]after[/B][/U] new image is deployed)
      mkdir /fog &>/dev/null
      mount -o nolock,proto=tcp $storageip:/fog/ /fog #this is a share created on server under /fog which contains drivers, software etc… (just add /fog to exports but you could use existing location i.e. /images and if you do, do not need to do this mount as /images is still mounted at this point)
      dots ā€œMounting Deviceā€;
      if [ ā€œ$?ā€ = ā€œ0ā€ ]; then
      echo ā€œDoneā€;
      . ${postdownpath}fog.drivers # run fog.drivers script
      umount /ntfs; # unmount when all is done šŸ™‚
      else
      echo ā€œFailed To Mount Deviceā€;
      sleep 30;
      fi
      fi
      [/CODE]

      And

      [CODE]#!/bin/sh

      ceol=tput el;
      machine=dmidecode -s system-product-name; # Gets machine model
      machine=ā€œ${machine%ā€${machine##*[![:space:]]}ā€œ}ā€ #Removes Trailing Space
      system64=ā€œ/ntfs/Windows/SysWOW64/regedit.exeā€; # dirty way to determine if it’s 64bit or not
      if [ -f ā€œ$system64ā€ ]; then
      setarch=ā€œx64ā€
      else
      setarch=ā€œx86ā€
      fi

      if [ $osid == ā€œ5ā€ ]; then
      osn=ā€œWin7ā€
      elif [ $osid == ā€œ6ā€ ]; then
      osn=ā€œWin8ā€
      elif [ $osid == ā€œ7ā€ ]; then
      osn=ā€œWin8.1ā€
      fi
      #############################################
      dots ā€œPreparing Driversā€;
      mkdir /ntfs/Windows/DRV &>/dev/null;
      echo -n ā€œIn Progressā€;

      rsync -aqz ā€œ/fog/Drivers/$osn/${machine}/$setarchā€ /ntfs/Windows/DRV &>/dev/null;

      #if you wanted to use driver.cab use this line below.
      #i.e. /fog/Drivers/Win7/Latitude E5410/E5410-Win7-A07-KTT4G.CAB
      cabextract -d /ntfs/Windows/DRV ā€œ/fog/Drivers/$osn/${machine}ā€/*.CAB &>/dev/null;

      #if you wanted to mix both cab and extracted use these:
      rsync -aqz --exclude='.CAB’ ā€œ/fog/Drivers/$osn/${machine}/$setarchā€ /ntfs/Windows/DRV &>/dev/null;
      cabextract -d /ntfs/Windows/DRV ā€œ/fog/Drivers/$osn/${machine}ā€/
      .CAB &>/dev/null;

      #this next bit adds driver location on pc to devicepath in registry (so sysprep uses it to reference)

      remember to make devicepath= match the path you’ve used locally

      #also do not remove %SystemRoot%\inf
      #and to add more locations just use ; in between each location
      regfile=ā€œ/ntfs/Windows/System32/config/SOFTWAREā€
      key=ā€œ\Microsoft\Windows\CurrentVersion\DevicePathā€
      devpath=ā€œ%SystemRoot%\inf;%SystemRoot%\DRVā€;
      reged -e ā€œ$regfileā€ &>/dev/null <<EOFREG
      ed $key
      $devpath
      q
      y
      EOFREG
      echo -e ā€œ\b\b\b\b\b\b\b\b\b\b\b${ceol}Doneā€; # this just removes ā€œIn Progress and replaces it with done :-)ā€[/CODE]

      my drivers are on a second drive on the server and the mount path is /partages/Drivers, and i make a ā€œlnā€ to /fog/Drivers

      and i try with Hp Elitebook 8560w - /partages/Drivers/Win7/HP EliteBook 8560w/x64

      The script create the DRV drivers on the fresh fog machine but don’t transfert the drivers.

      What’s wrong with my code ?

      help a noob plz šŸ™‚

      Olivier

      posted in Windows Problems
      T
      TheKoR
    • RE: Fog issues

      3081 :
      [Fri Mar 06 10:21:03 2015] [error] [client 192.168.123.125] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/PluginManagementPage.class.php on line 289, referer: [url]http://192.168.123.6/fog/manage$[/url]

      and still the same problem šŸ˜•

      edit : and i clear cache, i try with another browser, and with another computer šŸ™‚

      posted in FOG Problems
      T
      TheKoR
    • RE: Image Not Valid

      What version is your old server? and your new?

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      [Thu Mar 05 13:55:28 2015] [error] [client 192.168.123.125] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/PluginManagementPage.class.php on line 289, referer: [URL=ā€˜http://192.168.123.6/fog/manage$’]http://192.168.123.6/fog/management/index.php?node=plugin&sub=installed&run=aad276684955eb3421d3edd3e79cd0dc&installed=aad276684955eb3421d3edd3e79cd0dc[/URL]

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      3077 - I delete a DMI Association
      and when i come back in the plugin :[IMG]http://image.noelshack.com/fichiers/2015/10/1425555150-capone.jpg[/IMG]

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      yeap it’s ok

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      3074 :

      Can’t access to capone management in GUI

      ā€œWrong redirectionā€

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      all machine booting on init.xz work fine, only older one with init_32.xz don’t work

      Ok with 3074 for both init and init_32

      THX

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      Please, Can you make a ā€œinit_32.xzā€? I have the same problem with olders computers.

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      Ok for me too

      Thx so much for your reactivity

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      no change / nothing in error log

      edit : bad name for my file, i retry

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      SVN 3067 :

      no more mysql error, but still don’t work, stuck on dmi and nfs error

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      error.log

      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 266, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 266, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 266, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 266, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::mysqli(): (HY000/2002): Can’t connect to local MySQL server through socket ā€˜/var/run/mysqld/mysqld.sock’ (2) in /var/www/fog/lib/db/MySQL.class.php on lin$
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::mysqli(): (HY000/2002): Can’t connect to local MySQL server through socket ā€˜/var/run/mysqld/mysqld.sock’ (2) in /var/www/fog/lib/db/MySQL.class.php on lin$
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::mysqli(): (HY000/2002): Can’t connect to local MySQL server through socket ā€˜/var/run/mysqld/mysqld.sock’ (2) in /var/www/fog/lib/db/MySQL.class.php on lin$
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::mysqli(): (HY000/2002): Can’t connect to local MySQL server through socket ā€˜/var/run/mysqld/mysqld.sock’ (2) in /var/www/fog/lib/db/MySQL.class.php on lin$
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:36 2015] [error] [client 192.168.123.125] PHP Warning: mysqli::query(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 120, referer: [url]http://192.168.123.6/fog/management/index.php[/url]
      [Tue Mar 03 09:42:37 2015] [notice] caught SIGTERM, shutting down

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      I know I’m a bit annoying but :

      i up to 3066 and that’s my bug :
      (back to 3051 errors still here)

      In capone, blocked on the looking up for dmi field (and no version number)
      [IMG]http://image.noelshack.com/fichiers/2015/10/1425371270-img-20150303-091306.jpg[/IMG]

      And with quick image : ā€œfailed to mount NFS volumeā€.
      Already check if i have the .mntcheck in image and dev and its ok? already check the exportfs file

      [IMG]http://image.noelshack.com/fichiers/2015/10/1425371264-img-20150303-091407.jpg[/IMG]

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      We work only on refurbished computers.

      The disk has Blanco on it.

      i can install manually, ghost an image but don’t want to fog and this is the same blanco drive we received for the last 4 years, and only now don’t want to initialize …

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      I’m getting mad with the initialization of disk.

      Still don’t work.

      If someone have an option to fast init (i actually used a cd with a blank .gho and a fast autoboot ghost mode)

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      With 3051 - no more problem for upload

      posted in FOG Problems
      T
      TheKoR
    • RE: Fog issues

      For the upload task:

      2 - I can’t upload Image no more (new one or update). i create in gui, and i create the task, the computer pxe boot well, launch the task but boot on hdd instead of partclone.

      Edit : the machine don’t boot on hdd, but go to fog menu instaed of partclone

      posted in FOG Problems
      T
      TheKoR
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 5 / 9