<joke> Hello, Can you buy a keyboard with space bar please </joke>
Posts made by TheKoR
-
RE: Add btrfs support.
-
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ā
fiif [ $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
-
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
-
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]
-
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] -
RE: Fog issues
3074 :
Canāt access to capone management in GUI
āWrong redirectionā
-
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
-
RE: Fog issues
Please, Can you make a āinit_32.xzā? I have the same problem with olders computers.
-
RE: Fog issues
no change / nothing in error log
edit : bad name for my file, i retry
-
RE: Fog issues
SVN 3067 :
no more mysql error, but still donāt work, stuck on dmi and nfs error
-
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 -
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]
-
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 ā¦
-
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)
-
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