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

W7 Image: Disk read Error after imaging

Scheduled Pinned Locked Moved Solved
FOG Problems
7
32
11.0k
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.
  • G
    gfontenot @roger-jsf
    last edited by Jun 13, 2017, 4:25 PM

    @roger-jsf

    We were having a read error also, changed to the 2nd image type and it worked but created a large file. So, we then changed it back to 1st image type and selected Partclone GZip as the Image Manager, everything worked fine for us after doing this.

    1 Reply Last reply Reply Quote 0
    • R
      roger-jsf
      last edited by roger-jsf Jun 15, 2017, 2:56 AM Jun 15, 2017, 8:56 AM

      Got a little more info:

      Partitions are swapped. The 100 MB partition for system usage is being read as C:.

      And the C:\ is now the D\ drive.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jun 15, 2017, 9:48 AM

        @roger-jsf Can you please post a screenshot of the disk managment (partition layout) of your reference system. As well, please post the content of d1.partitions, d1.minimum.partitions and d1.fixed_size_partitions (all text files!) for this image on your FOG server (find those in /images/<IMAGENAME>/…).

        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

        R 1 Reply Last reply Jun 19, 2017, 9:22 AM Reply Quote 0
        • R
          roger-jsf @Sebastian Roth
          last edited by Jun 19, 2017, 9:22 AM

          @Sebastian-Roth

          Here you go!

          0_1497863976666_Partition Layout.png

          CONTENT OF PARTITION FILES:

          -------d1.partitions----------

          label: dos
          label-id: 0x55366f1b
          device: /dev/sda
          unit: sectors
          
          /dev/sda1 : start=          63, size=       80262, type=de
          /dev/sda2 : start=       81920, size=      204800, type=7, bootable
          /dev/sda3 : start=      286720, size=   976484352, type=7
          

          -------d1.minimum.partitions----------

          label: dos
          label-id: 0x55366f1b
          device: /dev/sda
          unit: sectors
          
          /dev/sda1 : start=          63, size=       80262, type=de
          /dev/sda2 : start=       81920, size=      204800, type=7, bootable
          /dev/sda3 : start=      286720, size=    57298684, type=7
          

          -------d1.fixed_size_partitions--------

          :1:2


          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Jun 19, 2017, 8:27 AM Jun 19, 2017, 2:25 PM

            @roger-jsf Thanks for posting the picture and listings. To me this looks pretty good. Nothing out of the ordinary as far as I can see. We were fighting with type=de partitions about a year ago but FOG should handle those properly since then!

            Can you please boot up this client that you deployed to with a debug deploy task again (normal deploy in FOG web GUI but check the debug checkbox in the view just before scheduling the task). Let the client boot and it will ask you to hit ENTER twice and drop you to a command shell. Run sfdisk -d /dev/sda there, take a picture and post it here.

            By the way: Which setting for “Operating System” is set for this image in the FOG web GUI? Is it “Windows 7 - (5)”?

            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
            • R
              roger-jsf
              last edited by roger-jsf Jun 19, 2017, 9:10 AM Jun 19, 2017, 3:05 PM

              @Sebastian-Roth Yes, “Windows 7 - (5)” is selected. Thanks!

              I don’t know why but I can’t upload the image, so I have posted here: https://s2.postimg.org/djnk4qzvt/fog.jpg

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Jun 19, 2017, 9:22 AM Jun 19, 2017, 3:21 PM

                @roger-jsf Ok, now I see why things go wrong. The start of the partitions are being moved. See the different numbers in the picture you posted.

                Re-reading your initial post I just saw that you are using FOG 1.4.0. Sorry but I didn’t notice this earlier. Could you please upgrade to the very latest version. Tom has worked on this stuff and we need to see if the issue is still persistent in the current code. So please upgrade and re-deploy that same image to one of your clients.

                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

                R 1 Reply Last reply Jun 20, 2017, 7:36 AM Reply Quote 0
                • R
                  roger-jsf @Sebastian Roth
                  last edited by Jun 20, 2017, 7:36 AM

                  @Sebastian-Roth Following Goeorge’s advice I updated to 1.4.2, created a new image , redeployed the image and it didn’t work. 😞

                  G 1 Reply Last reply Jun 20, 2017, 10:02 AM Reply Quote 0
                  • G
                    george1421 Moderator @roger-jsf
                    last edited by Jun 20, 2017, 10:02 AM

                    @roger-jsf Forgive me if I already asked this. What hard drive is in the 3020? Is it a nvme or sata disk?

                    The reason I ask, for nvme you need to have 2 fixes for Win7 installed in the reference image or Win7 will not see the nvme disk.

                    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!

                    R 1 Reply Last reply Jun 20, 2017, 10:08 AM Reply Quote 0
                    • R
                      roger-jsf @george1421
                      last edited by Jun 20, 2017, 10:08 AM

                      @george1421 It’s a sata disk.

                      G 1 Reply Last reply Jun 20, 2017, 10:10 AM Reply Quote 0
                      • G
                        george1421 Moderator @roger-jsf
                        last edited by george1421 Jun 20, 2017, 4:10 AM Jun 20, 2017, 10:10 AM

                        @roger-jsf Is this a new install of fog, meaning you haven’t used fog before for imaging? This is your first system or do you have history imaging with FOG?

                        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!

                        R 1 Reply Last reply Jun 20, 2017, 10:20 AM Reply Quote 0
                        • R
                          roger-jsf @george1421
                          last edited by Jun 20, 2017, 10:20 AM

                          @george1421 I’ve always used clonezilla for imaging, and wanted to try out FOG because I’ll have to image a large quantity of computers shortly.

                          In behalf of the FOG installation itself, it was a clean install in 1.4.0 and then I upgraded to 1.4.2 .

                          G 1 Reply Last reply Jun 20, 2017, 10:23 AM Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Jun 20, 2017, 10:22 AM

                            @roger-jsf Could you please upload /images/<IMAGENAME>/d1.mbr somewhere and post a download link here. Plus run ls -al /images/<IMAGENAME>/ and post the output here. I’ll try to replicate this issue then.

                            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

                            R 1 Reply Last reply Jun 20, 2017, 10:49 AM Reply Quote 0
                            • G
                              george1421 Moderator @roger-jsf
                              last edited by george1421 Jun 20, 2017, 4:24 AM Jun 20, 2017, 10:23 AM

                              @roger-jsf OK, I just wanted to know if this was a new problem (as compared to a previous version of fog).

                              So if you use clonezilla to copy the same master reference image it works correctly? Or did you use a new reference image for FOG too?

                              I’m trying to rule out the reference image being at fault here. There are some drivers that must be embedded into reference image before capture.

                              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!

                              R 1 Reply Last reply Jun 20, 2017, 11:16 AM Reply Quote 1
                              • R
                                roger-jsf @Sebastian Roth
                                last edited by Jun 20, 2017, 10:49 AM

                                @Sebastian-Roth

                                Machine used as fog Server: Ubuntu DESKTOP 14.04 LTS.

                                Link to d1.mbr:

                                http://s000.tinyupload.com/?file_id=05105010012586326507

                                Ls-la of image:

                                0_1497955495096_LS AL image.png

                                1 Reply Last reply Reply Quote 0
                                • Q
                                  Quazz Moderator
                                  last edited by Quazz Jun 20, 2017, 5:07 AM Jun 20, 2017, 11:06 AM

                                  Can I ask how you figured out the disk letters were swapped? Please note that in WinPE enviroments (bootable USB, recovery mode, etc) the drive letters aren’t necessarily representative of what it would be if the system itself booted!

                                  Just want to see if we can exclude a possible issue or not.

                                  R 1 Reply Last reply Jun 20, 2017, 11:11 AM Reply Quote 1
                                  • R
                                    roger-jsf @Quazz
                                    last edited by Jun 20, 2017, 11:11 AM

                                    @Quazz You can exclude this option! I noticed the drive letter issue in WinPE environments and didn’t remember to delete the comment, my bad!

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      roger-jsf @george1421
                                      last edited by Jun 20, 2017, 11:16 AM

                                      @george1421

                                      I don’t understand exactly what are you asking me, so please forgive me. 😛

                                      Are you asking me to replicate the image captured by FOG using clonezilla or if it works capturing and cloning the same machine with clonezilla ?

                                      G 1 Reply Last reply Jun 20, 2017, 11:23 AM Reply Quote 0
                                      • G
                                        george1421 Moderator @roger-jsf
                                        last edited by george1421 Jun 20, 2017, 5:23 AM Jun 20, 2017, 11:23 AM

                                        @roger-jsf Ok here is what I’m thinking.

                                        I’m trying to apply logic to this because the issue can be anywhere. At this point we don’t know if the image is at fault or FOG why this target computer doesn’t boot.

                                        If you told me, this is the same reference image that we clone using clonezilla then I would know the image itself is good, then we would focus on FOG as being the bad guy here and try to understand why.

                                        At this point we have to question everything. Was the master image created incorrectly for this hardware? Is the OS missing boot time drivers (like disk controller drivers)? Was this reference image sysprep’d? Was the image taken from another working 3020 and its failing to deploy to another 3020? How are you injecting the drivers for the 3020. Is FOG messing up expanding the disk after being compressed? Is there a hardware issue with the disk in the target computer?

                                        As you can see right now I have more questions than answers?

                                        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
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Sebastian Roth Jun 20, 2017, 6:33 AM Jun 20, 2017, 12:32 PM

                                          @george1421 @roger-jsf Hopefully I can give some more answers… I think I was able to replicate the problem and I guess it’s within our magic-calculate-partition-resize-awk-script. I might figure this out in the next hours. Please give me a bit more time.

                                          As well I am still trying to figure out why this issue is not more common but only seems to come up with this particular partition layout.

                                          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
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            19/32
                                            Last post

                                          196

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project