• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Windows7 restarts at bootup when it reaches classpnp.sys after being imaged with FOG

Scheduled Pinned Locked Moved Solved
FOG Problems
5
46
22.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    Wayne Workman @MrsPotter
    last edited by Oct 25, 2015, 8:56 PM

    @MrsPotter Anything special about the HDD? Is it mechanical? SSD? Hybrid?

    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
    Daily Clean Installation Results:
    https://fogtesting.fogproject.us/
    FOG Reporting:
    https://fog-external-reporting-results.fogproject.us/

    M 1 Reply Last reply Oct 26, 2015, 8:07 AM Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 25, 2015, 9:36 PM

      @MrsPotter Are you trying to deploy to the exact same disk? Maybe see here: https://social.technet.microsoft.com/Forums/windows/en-US/120d39f1-1bbd-4207-af8a-50410e31f83b/restored-disk-image-wont-start-hangs-on-classpnpsys-restored-from-multiboot-to-singleboot?forum=w7itprogeneral

      And here is another interesting post: http://answers.microsoft.com/en-us/windows/forum/all/windows-7-boot-stalls-at-classpnpsys/60391978-7fba-4afa-8c6b-c2dd8fc316d9

      Interesting. Did some more digging. Turns out that while everyone seems to think the boot is stalling at classpnp.sys, it is in fact stalling at the NEXT file in the boot sequence, which is cdrom.sys (in my case, anyway). That makes a bit of sense. In my case, there was a DVD drive while I installed and configured.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      M 1 Reply Last reply Oct 26, 2015, 8:11 AM Reply Quote 0
      • M
        MrsPotter @george1421
        last edited by MrsPotter Oct 26, 2015, 2:12 AM Oct 26, 2015, 8:02 AM

        @george1421 Clonezilla SE (server edition) is actually very similar to FOG. It is a BOOTP server that can boot any image you want via TFTP. If you boot the Clonezilla image you get the familiar Clonezilla menus (this could be automated) which ultimately uses Partclone to clone your image to the server. FOG’s web GUI is a little nicer though. FOG also took the deploy to many idea much further with all the plug-ins etc. As far as I can tell Clonezilla only has a single developer.

        W 1 Reply Last reply Oct 26, 2015, 3:39 PM Reply Quote 0
        • M
          MrsPotter @Wayne Workman
          last edited by MrsPotter Oct 26, 2015, 2:14 AM Oct 26, 2015, 8:07 AM

          @Wayne-Workman Nothing special. I’ve tried imaging:

          1. an ordinary 3.5" 7200RPM ACHI to a larger 3.5" 7200RPM AHCI
          2. an SSD to a larger 3.5" 7200RPM AHCI

          I’ve tried both “Multiple Partition Image - Single Disk (Not Resizable)” as well as “Single Disk - Resizable”.

          I’ve tried the re-imaged drive in the same PC as well as several others to see if it gets stuck at the same spot. All get stuck at classpnp.sys.

          1 Reply Last reply Reply Quote 0
          • M
            MrsPotter @Sebastian Roth
            last edited by MrsPotter Oct 26, 2015, 2:15 AM Oct 26, 2015, 8:11 AM

            @Uncle-Frank I’m going to try and get a Windows boot log out of one of these machines. It would be very interesting to know if it is the classpnp.sys or the cdrom.sys which is causing the problem.

            What I have done thus far though is to try and disable peripheral I could find in the BIOS to see if that would make a difference. I also tried booting with the CD-ROM plugged in and and plugged out.

            I’m going to have a look at my FOG settings and see if there is something that might cause the problem (or could be changed for that matter).

            1 Reply Last reply Reply Quote 0
            • M
              MrsPotter
              last edited by MrsPotter Oct 26, 2015, 2:34 AM Oct 26, 2015, 8:33 AM

              The important FOG settings are as follow:

              • Version: 1.2.0
              • All plugins & services are disabled
              • FOG_PIGZ_COMP = 9
              • FOG_UPLOADRESIZEPCT = 5
              • FOG_UPLOADIGNOREPAGEHIBER = 1
              • FOG_DISABLE_CHKDSK = 1

              Perhaps I should try it with FOG_DISABLE_CHKDSK = 0?

              W 1 Reply Last reply Oct 26, 2015, 3:41 PM Reply Quote 0
              • W
                Wayne Workman @MrsPotter
                last edited by Oct 26, 2015, 3:39 PM

                @MrsPotter said:

                As far as I can tell Clonezilla only has a single developer.

                And they are doing a great job. I would never discredit their work or try to compare FOG to Clonezilla.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman @MrsPotter
                  last edited by Oct 26, 2015, 3:41 PM

                  @MrsPotter said:

                  The important FOG settings are as follow:

                  • Version: 1.2.0
                  • All plugins & services are disabled
                  • FOG_PIGZ_COMP = 9
                  • FOG_UPLOADRESIZEPCT = 5
                  • FOG_UPLOADIGNOREPAGEHIBER = 1
                  • FOG_DISABLE_CHKDSK = 1

                  Perhaps I should try it with FOG_DISABLE_CHKDSK = 0?

                  I think you should try FOG Trunk… https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  M 1 Reply Last reply Oct 26, 2015, 5:32 PM Reply Quote 0
                  • M
                    MrsPotter @Wayne Workman
                    last edited by Oct 26, 2015, 5:32 PM

                    @Wayne-Workman To clarify: I wasn’t putting Clonezilla down. I’ve been using it for years with much success.

                    Ok so I’ve installed the trunk, but now I can’t seem to get past this screen. I’ve already installed the database etc. But, when I browse to <IP>/fog/management I arrive back at the below screen. I’ve also tried to completely uninstall the previous version and deleted the database, but to no avail.

                    Capture.JPG

                    1 Reply Last reply Reply Quote 0
                    • G
                      george1421 Moderator
                      last edited by george1421 Oct 26, 2015, 12:25 PM Oct 26, 2015, 6:24 PM

                      At this screen you would normally do this during setup. press the install/upgrade now button and then go back to the installer and press Y to finish the setup.

                      Just to recap.
                      in the command window you run the install program. The install program will pause during the install and instruct you to go to website and press the install/ upgrade now button (which will fixup / update the database schema to the 5080 build. Then you go back to the installer and answer yes and the setup will finish. If you forget this database update step I’ve seen the installer fail with errors.

                      Once the installer is done then go to the fog management interface. If you get thrown back to the install update database page then something went wrong. If something went wrong then go to the apache error log at /var/log/httpd/errors_log (on centos) and tail that file. If there was a problem with the update program it will be listed there.

                      I had the error after I applied one svn update that the database update page had an error and would not complete so each time I tried to login after the svn update I was presented with the database update page again.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman
                        last edited by Wayne Workman Oct 26, 2015, 12:42 PM Oct 26, 2015, 6:41 PM

                        When you can’t get the schema installer to stop showing after clicking the Install/Upgrade button, it is normally MySQL/MariaDB related.

                        First thing to try is a restart of that service. ubuntu: service mysql restart CentOS/Fedora/RHEL: systemctl restart mysql

                        What OS is FOG running on? What version?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        M 1 Reply Last reply Oct 29, 2015, 2:18 PM Reply Quote 0
                        • M
                          MrsPotter @Wayne Workman
                          last edited by Oct 29, 2015, 2:18 PM

                          @Wayne-Workman It is Debian 7.8. I’ve tried a system reboot with the same result. I’ll try @georg1421’s suggestion of consulting the log file over the weekend. Thanks a lot for the help thus far. It will be great if I could FOG working for this application.

                          1 Reply Last reply Reply Quote 0
                          • M
                            MrsPotter
                            last edited by Oct 29, 2015, 2:31 PM

                            Where would the log files be located on Debain? I tried /opt/fog/log. But, that is empty.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Oct 29, 2015, 4:13 PM

                              Apache error log on debian is /var/log/apache2/error.log

                              Maybe you ran into the same issue I had just a yesterday. Please let us know what you have in the error log when accessing the website and which php packages are installed: dpkg -l | grep php5

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 1
                              • M
                                MrsPotter
                                last edited by MrsPotter Nov 3, 2015, 6:29 AM Nov 3, 2015, 11:00 AM

                                See the error log below:
                                /var/log/apache2/error.log.1

                                Below is the output of “dpkg -l | grep php5”

                                root@backup:~# dpkg -l | grep php5
                                ii  libapache2-mod-php5                     5.6.14-1~dotdeb+7.1            amd64        server-side, HTML-embedded scripting language (Apache 2 module)
                                ii  php5                                    5.4.41-0+deb7u1                all          server-side, HTML-embedded scripting language (metapackage)
                                ii  php5-cli                                5.6.14-1~dotdeb+7.1            amd64        command-line interpreter for the php5 scripting language
                                ii  php5-common                             5.6.14-1~dotdeb+7.1            amd64        Common files for packages built from the php5 source
                                ii  php5-curl                               5.6.14-1~dotdeb+7.1            amd64        CURL module for php5
                                ii  php5-fpm                                5.6.14-1~dotdeb+7.1            amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
                                ii  php5-gd                                 5.6.14-1~dotdeb+7.1            amd64        GD module for php5
                                ii  php5-mcrypt                             5.6.14-1~dotdeb+7.1            amd64        MCrypt module for php5
                                rc  php5-mysql                              5.6.14-1~dotdeb+7.1            amd64        MySQL module for php5
                                ii  php5-mysqlnd                            5.6.14-1~dotdeb+7.1            amd64        MySQL module for php5 (Native Driver)
                                root@backup:~#
                                
                                1 Reply Last reply Reply Quote 0
                                • M
                                  MrsPotter
                                  last edited by MrsPotter Nov 3, 2015, 6:29 AM Nov 3, 2015, 12:21 PM

                                  Ok I’ve upgraded to the latest version:

                                  apt-get update
                                  apt-get upgrade
                                  

                                  The Debian version is now:

                                  root@backup:~/fog_trunk/bin# cat /proc/version
                                  Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.68-1+deb7u5
                                  

                                  And the PHP versions are:

                                  root@backup:~/fog_trunk/bin# dpkg -l | grep php5
                                  ii  libapache2-mod-php5                 5.6.14-1~dotdeb+7.1           amd64        server-side, HTML-embedded scripting language (Apache 2 module)
                                  ii  php5                                5.6.7+dfsg-1                  all          server-side, HTML-embedded scripting language (metapackage)
                                  ii  php5-cli                            5.6.14-1~dotdeb+7.1           amd64        command-line interpreter for the php5 scripting language
                                  ii  php5-common                         5.6.14-1~dotdeb+7.1           amd64        Common files for packages built from the php5 source
                                  ii  php5-curl                           5.6.14-1~dotdeb+7.1           amd64        CURL module for php5
                                  ii  php5-fpm                            5.6.14-1~dotdeb+7.1           amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
                                  ii  php5-gd                             5.6.14-1~dotdeb+7.1           amd64        GD module for php5
                                  ii  php5-mcrypt                         5.6.14-1~dotdeb+7.1           amd64        MCrypt module for php5
                                  rc  php5-mysql                          5.6.14-1~dotdeb+7.1           amd64        MySQL module for php5
                                  ii  php5-mysqlnd                        5.6.14-1~dotdeb+7.1           amd64        MySQL module for php5 (Native Driver)
                                  

                                  But now if I try to install fog_trunk:

                                  root@backup:~/fog_trunk/bin# ./installfog.sh
                                  

                                  I then get this error:

                                   * Installing package: php5-json...............................Failed!
                                  

                                  I then try to install php5-json:

                                  root@backup:~/fog_trunk/bin# apt-get install php5-json
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  Some packages could not be installed. This may mean that you have
                                  requested an impossible situation or if you are using the unstable
                                  distribution that some required packages have not yet been created
                                  or been moved out of Incoming.
                                  The following information may help to resolve the situation:
                                  
                                  The following packages have unmet dependencies:
                                   php5-json : Depends: phpapi-20131226
                                  E: Unable to correct problems, you have held broken packages.
                                  root@backup:~/fog_trunk/bin# apt-get install phpapi-20131226
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  Note, selecting 'php5-common' instead of 'phpapi-20131226'
                                  php5-common is already the newest version.
                                  0 upgraded, 0 newly installed, 0 to remove and 191 not upgraded.
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Nov 3, 2015, 12:58 PM

                                    ii  php5                                5.6.7+dfsg-1
                                    

                                    The php5 package itself is a different version than all the other packages. This does not seam right to me. Maybe try apt-get install php5. This might get the package into sync with the version of all the other packages.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MrsPotter
                                      last edited by MrsPotter Nov 3, 2015, 7:22 AM Nov 3, 2015, 1:19 PM

                                      Hi,

                                      Tried ‘apt-get -f install php5’ but no success.

                                      Also if I now try and install FOG 1.2.0 I get a fail:

                                       Configuring services.
                                        * Setting up and starting MySql...OK
                                        * Backing up user reports...OK
                                        * Setting up and starting Apache Web Server...Failed!
                                       Script done, file is /var/log/foginstall.log
                                      root@backup:~/fog_1.2.0/bin#
                                      

                                      I also tried rebooting. Previously I managed to install without issues.

                                      PS: Which inline identifier do you use to get the text with the red foreground and light red background - as in your previous post: apt-get install php5 ?

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MrsPotter
                                        last edited by Nov 3, 2015, 2:28 PM

                                        OK, I changed my sources.list to point to the UK.

                                        I then removed php using ‘apt-get --purge remove xxx’. And, then when it re-installed all were the same version. This also allowed apache2 to start up correctly. So I can now install FOG 1.2.0 as before. However, I’m still having trouble to install fog_trunk.

                                        The prior php5 error is now solved, and I manage to progress to here:

                                        * Stopping FOGMulticastManager.service Service................OK
                                        * Stopping FOGImageReplicator.service Service.................OK
                                        * Stopping FOGSnapinReplicator.service Service................OK
                                        * Stopping FOGScheduler.service Service.......................OK
                                        * Stopping FOGPingHosts.service Service.......................OK
                                        * Setting up and starting MySQL...............................Failed!
                                        root@backup:~/fog_trunk/bin#
                                        

                                        However, if I try see what the error is I get no error:

                                        root@backup:~/fog_trunk/bin# /etc/init.d/mysql restart
                                        [ ok ] Stopping MySQL database server: mysqld.
                                        [ ok ] Starting MySQL database server: mysqld ..
                                        [info] Checking for tables which need an upgrade, are corrupt or were
                                        not closed cleanly..
                                        root@backup:~/fog_trunk/bin#
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Nov 3, 2015, 5:08 PM

                                          Make sure packages chkconfig and sysv-rc-conf are installed.

                                          PS: Use single backticks for inline commands in red.

                                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            24/46
                                            Last post

                                          171

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project