Jump to content

Recommended Posts

Posted (edited)

Hi guys,

I'm trying to setup Fog v0.27 on Ubuntu 9.04 server. Here are the steps I took.

 

1. Downloaded and installed Ubuntu 9.04 Server on a spare box, choose LAMP and SSH server options during setup.

2. Downloaded Fog v0.27 from here Download FOG - A Free Cloning Solution from SourceForge.net

3. I am trying to follow the wiki, FOGUserGuide - FOGWiki, ran sudo ./installfog.sh

 

 

We are about to install MySQL Server on

this server, if MySQL isn't installed already

you will be prompted for a root password. If

you don't leave it blank you will need to change

it in the config.php file located at:

 

/var/www/fog/commons/config.php

 

Press enter to acknowledge this message.

 

4. I press enter

5. The script finishes without any errors.

 

Setup complete!

 

You still need to install/update your database schema.

This can be done by opening a web browser and going to:

 

http://192.168.1.20/fog/management

 

Default User:

Username: fog

Password: password

6. I launch Firefox and navigate to http://192.168.1.20/fog/management and get the following error message.

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /var/www/fog/management/index.php on line 47

Unable to connect to Database

 

I did not set a Mysql database password during the installation, I couldn't choose a password, just was informed that it is blank.

 

Here is my config.php from /opt/fog/service/etc

 

define( "MYSQL_DATABASE", "fog" );

define( "MYSQL_USERNAME", "" );

define( "MYSQL_PASSWORD", "" );

 

define( "LOGMAXSIZE", "1000000" );

 

define( "REPLICATORLOGPATH", "/opt/fog/log/fogreplicator.log" );

define( "REPLICATORDEVICEOUTPUT", "/dev/tty3" );

define( "REPLICATORSLEEPTIME", 600 );

define( "REPLICATORIFCONFIG", "/sbin/ifconfig" );

define( "SCHEDULERLOGPATH", "/opt/fog/log/fogscheduler.log" );

define( "SCHEDULERDEVICEOUTPUT", "/dev/tty4" );

define( "SCHEDULERWEBROOT", "/var/www/fog" );

define( "SCHEDULERSLEEPTIME", 60 );

?>

 

Here is config.php from /var/www/fog/commons

 

<?php

/*

* FOG is a computer imaging solution.

* Copyright © 2007 Chuck Syperski & Jian Zhang

*

* This program is free software: you can redistribute it and/or modify

* it under the terms of the GNU General Public License as published by

* the Free Software Foundation, either version 3 of the License, or

* any later version.

*

* This program is distributed in the hope that it will be useful,

* but WITHOUT ANY WARRANTY; without even the implied warranty of

* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

* GNU General Public License for more details.

*

* You should have received a copy of the GNU General Public License

* along with this program. If not, see .

*

*

*/

 

define( "IS_INCLUDED", true );

define( "TFTP_HOST", "192.168.1.20" );

define( "TFTP_FTP_USERNAME", "fog" );

define( "TFTP_FTP_PASSWORD", "305955023a73b981bafdb59541e54a32" );

define( "TFTP_PXE_CONFIG_DIR", "/tftpboot/pxelinux.cfg/" );

define( "TFTP_PXE_KERNEL_DIR", "/tftpboot/fog/kernel/" );

define( "PXE_KERNEL", "fog/kernel/bzImage" );

define( "PXE_KERNEL_RAMDISK", 127000 );

define( "USE_SLOPPY_NAME_LOOKUPS", "1");

define( "MEMTEST_KERNEL", "fog/memtest/memtest" );

define( "PXE_IMAGE", "fog/images/init.gz" );

define( "PXE_IMAGE_DNSADDRESS", "" );

define( "STORAGE_HOST", "192.168.1.20" );

define( "STORAGE_FTP_USERNAME", "fog" );

define( "STORAGE_FTP_PASSWORD", "305955023a73b981bafdb59541e54a32" );

define( "STORAGE_DATADIR", "/images/" );

define( "STORAGE_DATADIR_UPLOAD", "/images/dev/" );

define( "STORAGE_BANDWIDTHPATH", "/fog/status/bandwidth.php" );

define( "CLONEMETHOD", "ntfsclone" ); // valid values partimage, ntfsclone

define( "UPLOADRESIZEPCT", 5 );

define( "WEB_HOST", "192.168.1.20" );

define( "WEB_ROOT", "/fog/" );

define( "WOL_HOST", "192.168.1.20" );

define( "WOL_PATH", "/fog/wol/wol.php" );

define( "WOL_INTERFACE", "eth0" );

define( "SNAPINDIR", "/opt/fog/snapins/" );

define( "QUEUESIZE", "10" );

define( "CHECKIN_TIMEOUT", 600 );

define( "MYSQL_HOST", "localhost" );

define( "MYSQL_DATABASE", "fog" );

define( "MYSQL_USERNAME", "root" );

define( "MYSQL_PASSWORD", "" );

define( "USER_MINPASSLENGTH", 4 );

define( "USER_VALIDPASSCHARS", "1234567890ABCDEFGHIJKLMNOPQRSTUVWZXYabcdefghijklmnopqrstuvwxyz$

define( "NFS_ETH_MONITOR", "eth0" );

define("UDPCAST_INTERFACE","eth0");

define("UDPCAST_STARTINGPORT", 63100 ); // Must be an $

define("FOG_MULTICAST_MAX_SESSIONS", 64 );

define( "FOG_JPGRAPH_VERSION", "2.3" );

define( "FOG_REPORT_DIR", "./reports/" );

define( "FOG_THEME", "blackeye/blackeye.css" );

define( "FOG_UPLOADIGNOREPAGEHIBER", "1" );

define( "FOG_VERSION", "0.27" );

define( "FOG_SCHEMA", 19);

?>

 

 

Any thoughts?

 

Thanks.

Edited by ZeroHour
  • 1 month later...
Posted

Had the FOG issue: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /var/www/fog/management/index.php

 

This is caused by the FOG PHP session looking to connect to 'localhost', the correct password is not being passed causing the failure. Not having time to research the exact fix I found the following is a quick solution.....

 

Before trying to open the FOG management webpage

Install PHPMYADMIN (this makes database management easy)

Open //localhost/phpmyadmin

Create a new user and give them ALL permissions for ALL HOSTS (basically they should be the same as ROOT

Check the user is there and the permissions are set correctly.

Go into the PERMISSIONS tab and remove the password for ROOT under localhost & 127.0.0.1

Open the FOG webmanagement page

Set up the users in FOG

Go back to PHPMyAdmin and make sure FOG has been added as a database. You will need to log on as the 'new user' above

Reset the root password to something secure (as per pre install???)

Open the FOG database

Go to Permissions and BLANK the root password for localhost & 127.0.0.1

 

That should solve the issue.

  • Thanks 1
  • 2 months later...
  • 7 years later...
Posted

Hello,

 

Please can someone help me...

 

I'm new to Ubuntu, but have used FOG in my previous job, I'm now trying to set up a new FOG server in my new workplace to make the deployment of images etc a lot quicker...

 

I've installed Ubuntu 16.04 LTS, set an IP Address, downloaded FOG_1.3.4, installed it via terminal.

 

Following a YouTube video online, it says 'is the My SQL password blank [y/n]', i select no, the same as the video, which worked in my previous job...

 

FOG installs, etc, i get the message:

 

'You still need to install/update your database schema.

This can be done by opening a web browser and going to:

 

http://**.**.**.***/fog/management

 

I type in the URL and get an error:

 

The 10.31.97.240 page isn’t working

 

10.31.97.240 is currently unable to handle this request.

HTTP ERROR 500

 

Please help me, I need the server setup as quick as possible.

 

TIA

 

Dan

 

P.S I can ping the fog server and access the internet on it.

Posted
Do you get 'It works!' at http://10.31.97.240? If not, Apache isn't running and you need to make sure your install.sh is running all necessary steps - apt needs to be working and connecting correctly too.

 

If I remove the /fog/management from the end, i get the Apache page, but then as soon as I click on the file that says FOG, nothing happens, and I get the same error.

 

Please can you let me know how to do the above as you've said...

 

I'm new to it, well, haven't set it up for a while.

 

Thanks,

 

Dan

Posted
On the server console, take a look in /var/logs/apache2/error.log and see what it is complaining about. I am going to guess that this is probably due to 16.04 shipping with both PHP5 and PHP7 somehow.

 

There's a little bit of info about it here - https://wiki.fogproject.org/wiki/index.php?title=Ubuntu_16.04

Which version do you think I should install? I've looked in that file path and had a look at the error log, this is what I'm seeing:

 

[Mon Jan 30 12:26:25.263289 2017] [mpm_event:notice] [pid 7366:tid 140281219909504] AH00489: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations[Mon Jan 30 12:26:25.263374 2017] [core:notice] [pid 7366:tid 140281219909504] AH00094: Command line: '/usr/sbin/apache2'[Mon Jan 30 12:27:16.938334 2017] [mpm_event:notice] [pid 7366:tid 140281219909504] AH00491: caught SIGTERM, shutting down[Mon Jan 30 12:27:16.985951 2017] [mpm_prefork:notice] [pid 16399] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations[Mon Jan 30 12:27:16.986020 2017] [core:notice] [pid 16399] AH00094: Command line: '/usr/sbin/apache2'[Mon Jan 30 12:27:17.252182 2017] [mpm_prefork:notice] [pid 16399] AH00169: caught SIGTERM, shutting down[Mon Jan 30 12:27:17.433956 2017] [mpm_prefork:notice] [pid 16473] AH00163: Apache/2.4.25 (Ubuntu) configured -- resuming normal operations[Mon Jan 30 12:27:17.434011 2017] [core:notice] [pid 16473] AH00094: Command line: '/usr/sbin/apache2'[Mon Jan 30 12:47:33.797683 2017] [mpm_prefork:notice] [pid 16473] AH00169: caught SIGTERM, shutting down[Mon Jan 30 12:51:24.800108 2017] [mpm_prefork:notice] [pid 12190] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations[Mon Jan 30 12:51:24.800162 2017] [core:notice] [pid 12190] AH00094: Command line: '/usr/sbin/apache2'[Mon Jan 30 12:51:37.929227 2017] [php7:error] [pid 12195] [client 10.31.97.240:53296] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412[Mon Jan 30 12:51:49.549202 2017] [php7:error] [pid 12198] [client 10.31.99.252:58300] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412[Mon Jan 30 13:06:08.442178 2017] [php7:error] [pid 12197] [client 10.31.99.252:58557] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412[Mon Jan 30 13:06:21.394581 2017] [php7:error] [pid 12196] [client 10.31.99.252:58564] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412, referer: http://10.31.97.240/[Mon Jan 30 13:10:55.480007 2017] [mpm_prefork:notice] [pid 12190] AH00169: caught SIGTERM, shutting down[Mon Jan 30 13:11:41.526417 2017] [mpm_prefork:notice] [pid 1051] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations[Mon Jan 30 13:11:41.575708 2017] [core:notice] [pid 1051] AH00094: Command line: '/usr/sbin/apache2'[Mon Jan 30 13:11:47.347386 2017] [php7:error] [pid 1133] [client 10.31.99.252:58669] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412[Mon Jan 30 13:11:49.355567 2017] [php7:error] [pid 1134] [client 10.31.99.252:58672] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412[Mon Jan 30 13:11:57.844428 2017] [php7:error] [pid 1135] [client 10.31.99.252:58673] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412[Mon Jan 30 13:12:08.229716 2017] [php7:error] [pid 1134] [client 10.31.99.252:58679] PHP Fatal error: Uncaught Error: Call to a member function errorCode() on null in /var/www/fog/lib/db/pdodb.class.php:412\nStack trace:\n#0 /var/www/fog/lib/db/pdodb.class.php(227): PDODB->sqlerror()\n#1 /var/www/fog/lib/db/pdodb.class.php(168): PDODB::currentDb(Object(PDODB))\n#2 /var/www/fog/lib/db/pdodb.class.php(177): PDODB->_connect(false)\n#3 /var/www/fog/lib/db/pdodb.class.php(100): PDODB->_connect()\n#4 /var/www/fog/lib/db/databasemanager.class.php(43): PDODB->__construct()\n#5 /var/www/fog/lib/fog/loadglobals.class.php(42): DatabaseManager->establish()\n#6 /var/www/fog/lib/fog/loadglobals.class.php(79): LoadGlobals::_init()\n#7 /var/www/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#8 /var/www/fog/management/index.php(22): require('/var/www/fog/co...')\n#9 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 412, referer: http://10.31.97.240/

 

Not sure if you could pick out any obvious errors?

Thanks,

 

Dan

Posted

Ok, so it is using PHP7 it seems. However, it does look like its failing to connect to the database.

 

When you chose that your Mysql password was not blank, are you sure you entered the same password you chose when you set up Ubuntu?

Posted
Ok, so it is using PHP7 it seems. However, it does look like its failing to connect to the database.

 

When you chose that your Mysql password was not blank, are you sure you entered the same password you chose when you set up Ubuntu?

 

On the YouTube video, it brought a grey box up and asked for the password, when I did it, it didn't.

 

Is there a way I can edit the password, rather than having to re-install it again?

 

Thanks,

 

Dan

Posted

so in terminal...

 

CD ./Desktop

ls

lists the installer located on the desktop

cd fog_1.3.4

ls

cd bin

bin$

sudo ./installfog.sh

 

Then go through the install process again...

 

When it gets to the SQL bit, what do i type then, does it have a password? yes or no?

 

Forgive me, i'm new to this.

 

Dan

Posted
Whether it has a password depends on what you set when you installed Mysql. Did you specify a password for Mysql? If so, you will need to choose yes and enter it when prompted.
Posted

How do I know if i've installed MY SQL? i don't remember installing it...

 

I'm running the installer again now, will message you when i'm not sure what to put for the answers...

 

It says installing apache2.....................

 

Dan

Posted

Right...

 

I've got that bit done, and finally loaded the FOG page...

 

Now, I'm getting the below error about the database...

 

[h=1]http://10.31.97.240/fog/management/css/default/images//fog-logo.png[/h][h=2]Open Source Computer Cloning Solution[/h]

Running Version 1.3.4

SVN Revision: 6064

 

 

[h=1]Database Schema Installer / Updater[/h]Your database connection appears to be invalid. FOG is unable to communicate with the database. There are many reasons why this could be the case. Please check your credentials in /var/www/html/fog/lib/fog/config.class.php. Also confirm that the database is indeed running. If credentials are correct, and if the Database service is running, check to ensure your filesystem has enough space.

 

Please advise me what to do about this?

 

Thanks,

 

Dan

 

Posted

Your best bet with Ubuntu 16.04 is to use the development version sourced from the Git repository (instructions here.

 

That will actually work (has for me) but there are some reported issues with MySQL on 16.04 which make it worth keeping the database backed up.

Posted

Right, that's seems to be sorted...

 

Now i can load the FOG page etc...

 

I get the error message about the database:

 

[h=1]http://10.31.97.240/fog/management/css/default/images//fog-logo.png[/h][h=2]Open Source Computer Cloning Solution[/h]

Running Version 1.3.4

SVN Revision: 6064

 

 

[h=1]Database Schema Installer / Updater[/h]Your database connection appears to be invalid. FOG is unable to communicate with the database. There are many reasons why this could be the case. Please check your credentials in /var/www/html/fog/lib/fog/config.class.php. Also confirm that the database is indeed running. If credentials are correct, and if the Database service is running, check to ensure your filesystem has enough space.

 

Thanks,

 

Dan

 

Posted

Hello,

 

I've managed to get FOG installed and finally working, went back to an older version...

 

Now for some more help if possible,

 

I've got X100 of the same machines Dell Optiplex 3040's all with 256GB SSD's - I've created my master image, and I'm now trying to upload the image to the FOG server.

 

I've registered the machine with FOG, entered a host name etc etc. Back on the FOG console;

 

If I go to 'Image Management', then create a new image, give it a name, the bit that I'm getting stuck with is:

 

[TABLE=class: tablesorter tablesorter-default, width: 100%]

[TR=class: alt1]

[TD]mage Name[/TD]

[TD][/TD]

[/TR]

[TR]

[TD]Image Description[/TD]

[TD][/TD]

[/TR]

[TR=class: alt1]

[TD]Storage Group[/TD]

[TD]- Please select an option -default - (1)[/TD]

[/TR]

[TR]

[TD]Operating System[/TD]

[TD]- Please select an option -Linux - (50) Other - (99) Windows 2000/XP - (1) Windows 7 - (5) Windows 8 - (6) Windows 8.1 - (7) Windows 98 - (3) Windows Other - (4) Windows Vista - (2)[/TD]

[/TR]

[TR=class: alt1]

[TD]Image Path[/TD]

[TD]/images/ [/TD]

[/TR]

[TR]

[TD]Image Type[/TD]

[TD]- Please select an option -Single Disk - Resizable - (1) Multiple Partition Image - Single Disk (Not Resizable) - (2) Multiple Partition Image - All Disks (Not Resizable) - (3) Raw Image (Sector By Sector, DD, Slow) - (4)[/TD]

[/TR]

[TR=class: alt1]

[TD][/TD]

[TD][/TD]

[/TR]

[TR]

[TD][/TD]

[TD][/TD]

[/TR]

[/TABLE]

What do I select for the 'Image Type'??

 

The disk is a 256GB SSD and will not be changing it's size or anything, so I selected 'Multiple Partition - Single Disk (Not Re sizable)...

 

It doesn't appear to be working, and I seem to be getting errors, I can boot to FOG fine as I've registered it fine, got my image ready to upload, but it doesn't want to.

 

Please help.

 

Thanks,

 

Dan

Posted
I use Multiple Partition Image - Single Disk for mine. You need to be specific with what part isn't working at this point - can you get the machine to PXE boot to FOG?
Posted
I use Multiple Partition Image - Single Disk for mine. You need to be specific with what part isn't working at this point - can you get the machine to PXE boot to FOG?

Hi,

 

Yes, it boots to FOG Fine, and has been registered as I've said above. I'm just not too sure about how to upload the image to the server.

 

I've registered the machine with FOG, and it appears under the 'host' menu, which is correct...

 

fog help.PNG

fog help 2.PNG

 

Please see the two attached images...

 

I've got the image ready to upload, it just won't get past the point where the screen goes blue and it begins the upload process.

 

Dan

Posted
So it drops out after it starts uploading, just a few percent in? That is usually caused by a RAM problem IME (seen it so may times it's unreal), pulling one stick or swapping it out usually fixed it. If it's not actually starting the upload though (staying at 0%) it may be an issue with the storage mount on the server, permissions to that mount (unusual) or the size of the image file actually fitting in the storage partition on the server.
Posted

Hi,

 

No, it doesn't even start to upload the image, I just seem to be getting an error; one of the errors are:

 

*Preparing to send image to server.

*Checking Mounted System...............Done

 

*Using Image: Windows7EnterpriseFinal

 

*Perparing backup location............Done

*Looking for Hard Disks................Done

*Using Hard Disk: /dev/sda

 

 

An error has detected!

 

No resizable partitions found.

 

Computer will reboot in 1 minute.

 

That's all I'm getting, and I get different errors each time I click on the 'Image Type', and select the different options.

 

Please help, surely it must be something simple that I'm missing...

 

The machines are band new out of the box, I've installed Windows 7 Enterprise on, I know there's two Partitions on there, there's a recovery partition, and then the C:\ drive...

 

Could it be the recovery partition that's causing the issues?

 

Thanks,

 

Dan

Posted
That's the error you get when you select Single Disk with Multiple Partions (not resizeable)? That's mighty odd. I have seen that error when trying to do resizeable partitions, so I ditched that. It is just possible that the partitions on this machine aren't going to play - try another machine with a bare metal install that you have done (no recovery partitions or other stuff).
Posted
That's the error you get when you select Single Disk with Multiple Partions (not resizeable)? That's mighty odd. I have seen that error when trying to do resizeable partitions, so I ditched that. It is just possible that the partitions on this machine aren't going to play - try another machine with a bare metal install that you have done (no recovery partitions or other stuff).

 

Yeah, that's the error I get...

 

I'll have to re-install Windows anyway, somehow I've messed the image up lol, so have to start again anyway. I'll make sure that there is nothing on it at all, except the C:/ drive - I'll get back to you...

 

What partition should I be selecting? 'Multiple Partitions - not resizable?

 

Thanks,

 

Dan

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...