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

    nvme0n1p2 fatclone c: is not in a valid state

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    42
    16.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.
    • george1421G
      george1421 Moderator @Sebastian Roth
      last edited by

      @Sebastian-Roth While I don’t have an answer for you on the shutdown part, I wonder if the developers of partclone would have checked this flag on a fat partition, just because of the nature of the fat I would suspect its not necessary. They must do this for a reason. Maybe they can provide a switch to ignore or even reset this bit in the disk structure if possible. Windows 10 is here to stay so they will run across this issue more often than not.

      I wonder if the state of this flag could be dependent on the issue I posted before (from memory). I wonder if when the system is sysprepp’d instead of shutdown you pick reboot and then power off the device when it is working through post before it boots. (it may be impossible to catch because of the speed of the system).

      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!

      PsycholiquidP 1 Reply Last reply Reply Quote 0
      • PsycholiquidP
        Psycholiquid Testers @Sebastian Roth
        last edited by Psycholiquid

        @Sebastian-Roth I was trying the chkdsk this morning within windows I had to add a drive letter to the partition. Not sure if it will work yet, taking a raw image of the machine (of course that works but not efficient) to make the powers that be happy.

        chkdsk is what I usually did to any drive that gave this problem. Let me roll it back to the current bad state and try that and I will let you know the results.

        1 Reply Last reply Reply Quote 0
        • PsycholiquidP
          Psycholiquid Testers @george1421
          last edited by Psycholiquid

          @george1421 I tried both reboot and shutdown, I am not sure catching it while it is EFI booting would have an effect, since it is already flagged as soon as it goes down. I think it is getting flagged during the sysprep due to I have rebooted it multiple times. Or maybe even being flagged during the switch to Audit mode. I am attempting the clear from within windows this morning to see if it helps.

          1 Reply Last reply Reply Quote 1
          • PsycholiquidP
            Psycholiquid Testers @Tom Elliott
            last edited by

            @Tom-Elliott said:

            @Psycholiquid What if you add 1 to the d1.fixed_size_partitions file? Will it work then? It looks like it’s growing the EE partition when it really shouldn’t be.

            Not real sure what your talking about here.

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @Psycholiquid
              last edited by

              @Psycholiquid I kept thinking it was download for some reason.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              PsycholiquidP 1 Reply Last reply Reply Quote 0
              • PsycholiquidP
                Psycholiquid Testers @Tom Elliott
                last edited by

                @Tom-Elliott Ahh ok.

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Psycholiquid
                  last edited by

                  @Psycholiquid Can we isolate this issue to this specific hardware? Its unclear to me (at this distance) if your issue is with the M.2 disk, the device, or something crazy that win10 is doing.

                  Thinking about it, I’m not sure trying to duplicate this on different hardware is the answer either. Unless you could build a reference image on different hardware and then deploy to this troubled system.

                  Is it safe to assume you are not using mdt to create your reference image.?

                  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!

                  PsycholiquidP 1 Reply Last reply Reply Quote 1
                  • PsycholiquidP
                    Psycholiquid Testers @george1421
                    last edited by

                    @george1421 Correct I am not using MDT to create them. I am however seeing this same result off of the Surfaces. So I will break down what I am using and that way we can all see what is happening:

                    System 1) HP Z240 using NVME drive.

                    I am creating the image by starting machine up and going through the normal windows start motions for a new machine (basically it is OOBE when I get it) I then upgrade the machine to Enterprise by switching the key. I then install all software I need and make changes. I then switch it into Audit mode (running sysprep). From there I place my Unattend.xml and launch it using elevated command prompt.

                    System 2) MS Surface 4 Pro using NVME drive.

                    I am creating the image by starting machine up and going through the normal windows start motions for a new machine (basically it is OOBE when I get it) I then upgrade the machine to Enterprise by switching the key. I then install all software I need and make changes. I then switch it into Audit mode (running sysprep). From there I place my Unattend.xml and launch it using elevated command prompt.

                    So basically they are both using similar hardware in regards to the drives (Not sure on the MB part though)

                    george1421G 1 Reply Last reply Reply Quote 0
                    • PsycholiquidP
                      Psycholiquid Testers
                      last edited by

                      And it just keeps getting better and better.

                      So i took a RAW image of the PC and when I try to put that image back onto the device I get the following:

                      0_1458044352460_IMG_0625.JPG

                      Now I am thinking it isn’t the OS but the hardware. The reason behind this is when the machine is done imaging it comes up and does its sysprep motions just fine. and all my testing in the VMs were good also. But this doesn’t answer why the partition went bad either, I am thinking it is the Audit mode that causes that and I am building a new OS on the machine now to test the theory and find out.

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Psycholiquid
                        last edited by george1421

                        @Psycholiquid said:

                        @george1421 Correct I am not using MDT to create them. I am however seeing this same result off of the Surfaces. So I will break down what I am using and that way we can all see what is happening:

                        Any thought about creating a standard image on MDT and then deploying to the surfaces since you are upgrading to enterprise anyway. This would give you a consistent image across your fleet of computers from tablets to workstations. The only issue I can see is ensuring you have the proper driver files available for the surface.

                        The idea would be to build your reference image as a vm. If you use the lite touch method (with a little work) you can install windows, update it to the latest patches, install all software, do a last windows update then capture with fog for deployment. This is how we manage our images. Then next quarter rebuild the reference image again with the latest updates and software and recapture with FOG.

                        I know this is off topic a little, but maybe its not the computer but the process that has issues (no offense intended). Its just something to consider.

                        Ref: https://technet.microsoft.com/en-us/windows/dn913725.aspx

                        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!

                        PsycholiquidP 2 Replies Last reply Reply Quote 0
                        • PsycholiquidP
                          Psycholiquid Testers @george1421
                          last edited by

                          @george1421 No I am totally open to ideas. Just because I have been doing it one way doesn’t mean it is the right way.

                          1 Reply Last reply Reply Quote 0
                          • PsycholiquidP
                            Psycholiquid Testers @george1421
                            last edited by

                            @george1421 The problem with the surfaces is that it has to be done a certain way since MS’s key validation isn’t working at the moment. Also using Enterprise you don’t get the pen and apps like you would on a surface, so I am left with upgrading the OS, which in that case I have to reg hack the Surface in order to sysprep it.

                            I haven’t even used MDT but I will read up on it today and see what I can come up with, you may be right though it may be the way I am doing it that is causing the issue.

                            1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator
                              last edited by

                              I really wouldn’t rule out FOG either, since you are swimming in new waters here with Win10, Surface Pro 4, partclone, and FOG. Any weak link could cause everything to fall down.

                              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!

                              PsycholiquidP 1 Reply Last reply Reply Quote 0
                              • PsycholiquidP
                                Psycholiquid Testers @george1421
                                last edited by

                                @george1421 Well I think I should start over using best practices. I will start with building a basic image with no extras in it with MDT and try uploading that to FOG and then downloading it to a PC. That will give me a good starting point. Like I just told my boss, I was pushed into this to fast and have been taking shortcuts to try and get PCs on the floor. When I first started this I was able to take my time with no interruptions. This is not the case this time. People are all up in arms wanting their Surfaces because they are the new cool thing.

                                1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Psycholiquid
                                  last edited by

                                  @Psycholiquid This new photo appears like it’s not getting the actual disk number :(.

                                  It appears to be cutting the disk number off. (/dev/nvme0n, where your disk is /dev/nvme0n1)

                                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  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

                                  PsycholiquidP 1 Reply Last reply Reply Quote 1
                                  • PsycholiquidP
                                    Psycholiquid Testers @Tom Elliott
                                    last edited by

                                    @Tom-Elliott Agreed

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by

                                      @Psycholiquid Would you mind running this small tool called chkfatflags? Probably easiest if you start the client in debug (capture or deploy does not matter) mode and run and take a picture of what you see:

                                      wget --no-check-certificate -O chkfatflags https://forums.fogproject.org/uploads/files/1458048073579-chkfatflags
                                      chmod 755 chkfatflags
                                      ./chkfatflags /dev/nvme0n1p2
                                      

                                      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
                                      • PsycholiquidP
                                        Psycholiquid Testers
                                        last edited by

                                        OK huge update.

                                        I worked today to learn MDT (Not that bad at all) and got it all setup and the image done. With @george1421 and @Wayne-Workman I got the dual EFI and BIOS booting going, I was able to capture and deploy windows 10 Enterprise. This is setup correctly for EFI and boots no problems. I am going to build off of this now and see where I can get it. Hopefully I can document, I always say I am going to but never do because work gets the better of me.

                                        So this is exactly what I did:

                                        Setup VM with EFI firmware
                                        Loaded windows and it picked up on the EFI drive and partitioned it as a GTP drive with the EFI partition.
                                        Started the MDT sysprep and shut it down.
                                        Changed the firmware over to BIOS on teh VM.
                                        Captured the image
                                        Set PC to deploy and ran it (The screen was stuck on init.xz but it was imaging)
                                        IT rebooted after imaging and I have a Windows 10 Screen and it is Enterprise.

                                        1 Reply Last reply Reply Quote 2
                                        • PsycholiquidP
                                          Psycholiquid Testers
                                          last edited by

                                          So this makes me wonder if it is AUDIT mode that causes it more and more, I will have to play with that later to see if it is and why it causes it.

                                          george1421G 1 Reply Last reply Reply Quote 0
                                          • george1421G
                                            george1421 Moderator @Psycholiquid
                                            last edited by

                                            @Psycholiquid Totally ignoring the fact that this is probably a win 10/hardware issue.

                                            If you are going to be deploying more that two or three of these tablets, it will be well worth your while to go the MDT route and build a standard platform image for your deployments. That way you can include your standard software and configuration settings. The idea in any mass setup is to ensure that each device is exactly the same that way if (when) you run into an issue, you fix it for one you fix it for all, because they are exactly alike with the same exact software and 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!

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

                                            249

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project