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

Deployed image boot loop - black screen & Press Ctrl Alt Delete

Scheduled Pinned Locked Moved Solved
Bug Reports
3
22
6.6k
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.
  • T
    TomcatKZN
    last edited by Nov 6, 2017, 3:29 PM

    Hi Guys
    Am running RC1.5.0-RC-9 on Centos 7.
    I captured an image of a Dell 3020 factory image by way of a backup so I could restore it if required. Captured with no problem (Win7-Single disk -multiple partitions-all default settings).
    I tried to deploy the image back to the same computer but on reboot I get a black screen with “Press Control Alt Delete to boot” when I do that it reboots back to the same screen.
    I’d really appreciate any insight into this. Thank you.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Nov 6, 2017, 3:48 PM

      Are you using FOG as a backup too (one device to one backup image) or as you using it as an imaging tool (one image to many devices)?

      The issue where I’ve seen this error before is when you capture an image on one hardware model and try to deploy to another, where you don’t have the correct drivers installed for that second model computer.

      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
      • T
        TomcatKZN
        last edited by Nov 6, 2017, 3:59 PM

        Hi George
        In this instance I am using fog to backup the factory image from a single Dell machine which I tried to restore back to the same machine, so that I can restore it to factory image if necessary.
        Once I have the factory image saved I plan to deploy our own custom image to the machines. They are all the same Dell-3020 spec.

        G 1 Reply Last reply Nov 6, 2017, 4:08 PM Reply Quote 0
        • G
          george1421 Moderator @TomcatKZN
          last edited by Nov 6, 2017, 4:08 PM

          @tomcatkzn Ok that is what I wanted to be sure of, you were deploying back to the same computer as where the image came from.

          So to collect a bit more info on this:

          1. Did the 3020 come with Win7 on it??
          2. Is the 3020 in UEFI or legacy mode.
          3. Is it possible to get a clear picture taken with a mobile phone and post it here?

          I’d like to see this error screen. I can only think of where this error might be, is during OOBE. But you are just capturing and deploying to the same hardware, so you aren’t running sysprep here. It should “just work”

          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!

          T 1 Reply Last reply Nov 6, 2017, 4:17 PM Reply Quote 0
          • T
            TomcatKZN @george1421
            last edited by Nov 6, 2017, 4:17 PM

            @george1421 said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

            @tomcatkzn Ok that is what I wanted to be sure of, you were deploying back to the same computer as where the image came from.

            So to collect a bit more info on this:

            1. Did the 3020 come with Win7 on it??
            2. Is the 3020 in UEFI or legacy mode.
            3. Is it possible to get a clear picture taken with a mobile phone and post it here?

            I’d like to see this error screen. I can only think of where this error might be, is during OOBE. But you are just capturing and deploying to the same hardware, so you aren’t running sysprep here. It should “just work”
            Hi George, Thanks for the response:

            1. Yes
            2. Legacy mode
            3. Nothing else is displayed before the black screen. Just the black screen and the white writing top left corner directly after bios post. I will try deploy the image again shortly and post the picture.

            I agree I am stuck. In the past a capture and deploy back to the same machine “just worked”

            Perhaps I try the capture again in case it is corrupted somehow.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Nov 6, 2017, 4:51 PM

              @tomcatkzn said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

              backup the factory image from a single Dell machine

              To me this kind of sounds like a weird partition layout issue. Can you please boot one of the original machines into a debug capture task, hit ENTER twice to get to the shell. Then run gdisk -l /dev/sda, take a picture of the screen and post here. As well take a look at the image information stored on the FOG server in /images/<IMAGENAME>. Post the contents of the text file called d1.partitions here as well.

              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

              T 1 Reply Last reply Nov 6, 2017, 5:21 PM Reply Quote 0
              • T
                TomcatKZN @Sebastian Roth
                last edited by Nov 6, 2017, 5:21 PM

                @sebastian-roth said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                @tomcatkzn said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                backup the factory image from a single Dell machine

                To me this kind of sounds like a weird partition layout issue. Can you please boot one of the original machines into a debug capture task, hit ENTER twice to get to the shell. Then run gdisk -l /dev/sda, take a picture of the screen and post here. As well take a look at the image information stored on the FOG server in /images/<IMAGENAME>. Post the contents of the text file called d1.partitions here as well.

                Thank you for the helpful diagnostic comments. Just waiting for another install to finish and I’ll do the “debug” task.
                Here are the two pictures of/images/DellMaster and d1.partitions
                1_1509988882962_Dell3020ImagesList2.PNG 0_1509988882962_Dell3020ImagesList.PNG

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Nov 6, 2017, 12:19 PM Nov 6, 2017, 6:13 PM

                  @tomcatkzn said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                  … Win7-Single disk -multiple partitions-all default settings …

                  From what we see in the picture this was not captured as “Single disk -multiple partitions” but as “Single disk - Resizable”. So please post the contents of d1.fixed_size_partitions, d1.minimum.partitions and d1.original.fstypes as well.

                  We had some issues with type=de partitions a while ago but I think those should be all fixed in RC version. By the way, do you use working or dev-branch?
                  Not sure about the type=27 yet. Possibly this is causing the issue. Why is the boot partition type set to be a “Hidden HTFS partition”? I know this is what you got from Dell…

                  So I’d suggest to actually create a fresh image in the web UI, set it so “Multiple partitions - Single Disk” and try capturing again from an original machine that hasn’t been touched yet. I am fairly sure this will work when deploying to another machine.

                  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

                  T 1 Reply Last reply Nov 6, 2017, 7:16 PM Reply Quote 0
                  • T
                    TomcatKZN @Sebastian Roth
                    last edited by Nov 6, 2017, 7:16 PM

                    @sebastian-roth said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                    @tomcatkzn said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                    … Win7-Single disk -multiple partitions-all default settings …

                    From what we see in the picture this was not captured as “Single disk -multiple partitions” but as “Single disk - Resizable”. So please post the contents of d1.fixed_size_partitions, d1.minimum.partitions and d1.original.fstypes as well.

                    We had some issues with type=de partitions a while ago but I think those should be all fixed in RC version. By the way, do you use working or dev-branch?
                    Not sure about the type=27 yet. Possibly this is causing the issue. Why is the boot partition type set to be a “Hidden HTFS partition”? I know this is what you got from Dell…

                    So I’d suggest to actually create a fresh image in the web UI, set it so “Multiple partitions - Single Disk” and try capturing again from an original machine that hasn’t been touched yet. I am fairly sure this will work when deploying to another machine.
                    Thank you again for the help. Sorry for delay. Needed to Eat :]
                    I last used FOG 0.32 in 2012 - worked great, but I became ill and job went to someone else. That person switched to WDS and left without documentation. I’m a fan of FOG but see I have a lot to catch up on. The work youve done is awesome.

                    Yes - my bad memory: it is indeed Single Disk-Resizeable
                    I installed from dev-branch to get the latest build, as I am happy to give feedback.
                    d1.fixed_size_partitions = :1:2:3
                    d1.minimum.partitions = same as d1.partitions
                    d1.original.fstypes = NTFS
                    Am in the process of recapturing the image. Will post progress shortly.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Nov 6, 2017, 9:08 PM

                      @tomcatkzn said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                      d1.fixed_size_partitions = :1:2:3
                      d1.minimum.partitions = same as d1.partitions

                      Ok so this has essentially been more or less like “Multiple partitions - Single Disk” because our logic of detecting resizable partitions wasn’t able to figure yours as such and marked them all to be fixed size. Then again I wonder why you are seeing the “Press Control Alt Delete to boot” message on boot after deploying the image to another machine. Sure the Windows version and OS ID set in FOG do match?

                      Please schedule a debug deploy task for one of your client. Boot it up and start the deployment by running the fog command. After it finished run fdisk -l /dev/sda and post a picture of the output on screen.

                      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

                      T 1 Reply Last reply Nov 6, 2017, 9:23 PM Reply Quote 0
                      • T
                        TomcatKZN @Sebastian Roth
                        last edited by Nov 6, 2017, 9:23 PM

                        @sebastian-roth said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                        @tomcatkzn said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                        d1.fixed_size_partitions = :1:2:3
                        d1.minimum.partitions = same as d1.partitions

                        Ok so this has essentially been more or less like “Multiple partitions - Single Disk” because our logic of detecting resizable partitions wasn’t able to figure yours as such and marked them all to be fixed size. Then again I wonder why you are seeing the “Press Control Alt Delete to boot” message on boot after deploying the image to another machine. Sure the Windows version and OS ID set in FOG do match?

                        Please schedule a debug deploy task for one of your client. Boot it up and start the deployment by running the fog command. After it finished run fdisk -l /dev/sda and post a picture of the output on screen.

                        Yes. Op sys is win7 and image type is set to Win7
                        I watched the end of the deploy task and it said “Sync Successful” for each partition
                        I restored it back to the exact same machine and still get "Press Ctrl-Alt-Del to Restart
                        immediately after bios boot.

                        Am running a debug task now.

                        1 Reply Last reply Reply Quote 0
                        • T
                          TomcatKZN
                          last edited by Nov 6, 2017, 9:43 PM

                          Disk partitions in Windows:
                          0_1510004520865_dell-WinPartitions.jpg
                          Output from GDisk -l:
                          0_1510004314404_Dell-GDiskOutput.jpg

                          Output from FDisk -l:
                          0_1510004568439_Dell-FDiskOutput.jpg

                          Any help greatly appreciated.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth Nov 7, 2017, 12:39 AM Nov 7, 2017, 5:58 AM

                            @TomcatKZN Thanks for the pictures. Although I am sure we have found the issue we still need to figure out what exactly is causing this. I need more information on where those pictures were taken. I’ve tried to replicate this in a test VM but was not successful yet. So I guess my assumptions are wrong.

                            Please let me know where and when exactly those gdisk and fdisk output pictures were taken. I surely see this is a FOG debug task but was this on a fresh untouched client before capture, after capture or on another machine before / after deployment?

                            What I am sure is that the partition start positions are moved at some point. And because of that Windows cannot boot. Though I am still not sure if the initial partition layout is crappy or if this is something FOG is causing.

                            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

                            T 1 Reply Last reply Nov 7, 2017, 7:03 AM Reply Quote 0
                            • T
                              TomcatKZN @Sebastian Roth
                              last edited by Nov 7, 2017, 7:03 AM

                              @sebastian-roth said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                              @TomcatKZN Thanks for the pictures. Although I am sure we have found the issue we still need to figure out what exactly is causing this. I need more information on where those pictures were taken. I’ve tried to replicate this in a test VM but was not successful yet. So I guess my assumptions are wrong.

                              Please let me know where and when exactly those gdisk and fdisk output pictures were taken. I surely see this is a FOG debug task but was this on a fresh untouched client before capture, after capture or on another machine before / after deployment?

                              What I am sure is that the partition start positions are moved at some point. And because of that Windows cannot boot. Though I am still not sure if the initial partition layout is crappy or if this is something FOG is causing.

                              The Gdisk and FDisk output is from a freshly deployed Client which failed.
                              The same client from which the image was taken.
                              The picture from windows is before the capture and deploy.
                              I will install an untouched disk and generate the same output from before the capture.

                              T 1 Reply Last reply Nov 7, 2017, 8:40 AM Reply Quote 0
                              • T
                                TomcatKZN @TomcatKZN
                                last edited by Nov 7, 2017, 8:40 AM

                                @Sebastian-Roth

                                GDisk -PreImage:
                                0_1510043914797_Dell-GDiskOutputPreImage.jpg

                                FDisk-PreImage:
                                0_1510043953337_Dell-FDiskOutputPreImage.jpg

                                Does this help identify the problem with capturing this image?

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TomcatKZN
                                  last edited by Nov 7, 2017, 12:17 PM

                                  0_1510056960842_dell-EPMOutput.jpg

                                  I also ran Easus partition manager and posted the output.
                                  Seems the 1st partition is fat16. perhaps thats the problem.
                                  Wonder if I can change it to fat32 if it will still work.
                                  What do you think?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Nov 7, 2017, 12:53 PM

                                    @TomcatKZN Ok thanks, I think Ich found what’s causing this. Just need a little more time to fix. Will get back to you soon.

                                    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

                                    T 1 Reply Last reply Nov 7, 2017, 2:20 PM Reply Quote 0
                                    • T
                                      TomcatKZN @Sebastian Roth
                                      last edited by Nov 7, 2017, 2:20 PM

                                      @sebastian-roth said in Deployed image boot loop - black screen & Press Ctrl Alt Delete:

                                      @TomcatKZN Ok thanks, I think Ich found what’s causing this. Just need a little more time to fix. Will get back to you soon.

                                      Awesome. Much appreciated.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by Nov 7, 2017, 11:05 PM

                                        @TomcatKZN We have a proposal of a fix ready but I want to discuss this with the other developers before we release the fix. The resizing code is crucial and shouldn’t be messed with. Will let you know as soon as possible.

                                        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
                                        • T
                                          TomcatKZN
                                          last edited by Nov 8, 2017, 4:29 AM

                                          Understood. Thank you.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            4/22
                                            Last post

                                          211

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project