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

    Cloning only installed files VS entire drive?

    Scheduled Pinned Locked Moved
    General Problems
    4
    29
    8.5k
    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
      TTellez
      last edited by

      The image our client gave us is larger than the drive in the new model laptop thy are using. While we could build a fresh image, I was wondering if there was a way to just clone the installed files VS the entire drive image???

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • C
        coop90
        last edited by

        I dont think that is possible as fog works by going block by block on a drive and doesnt care what data is stored there. There isnt a “fog file explorer,” that I know of.

        If you do create a fresh image, either build it on a virtual machine with a 50gb hard drive or if that isnt possible, put in the smallest hard drive you can find and build it on that. You can always expand it later (not the other way around).

        1 Reply Last reply Reply Quote 0
        • T
          TTellez
          last edited by

          So, I decided to make a new deployment image. but do it with “Single Disk - Resizable” chosen just as a test to see what it would do differently.

          Looks like the image is much smaller. So fingers crossed.

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

            @TTellez said in Cloning only installed files VS entire drive?:

            …but do it with “Single Disk - Resizable” chosen just as a test to see what it would do differently.

            That is the right choice. Just make sure you are on FOG 1.3.5 (stable) since the developers put a ton of effort between 1.3.4 and 1.3.5 to get the resizeable bits working well for all disk formats.

            FWIW: You have to capture it in the resizeable mode to get it to expand/contract correctly on the target machine.

            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 2 Replies Last reply Reply Quote 3
            • T
              TTellez @george1421
              last edited by

              @george1421 perfect. I did that. And it worked…the imaging didn’t fail. HOWEVER. Once completed, the computer reboots to a black screen with a blinking white cursor and just sits there. Suggestions?

              Thanks in advance for all your help George.

              Wayne WorkmanW george1421G 2 Replies Last reply Reply Quote 0
              • T
                TTellez @george1421
                last edited by

                @george1421 it looks to me like its the MBR. When I created my image initially, I chose partition 1 and MBR only. I am guessing that is not correct. The hardware is all exactly the same, except for the hard drive in the new machine. I am guessing the MBR would have issue with that.

                I tried to repair the MBR, but as I had to use an external cd/dvd reader, it isn’t detecting the drive for me to repair it.

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @TTellez
                  last edited by

                  @TTellez said in Cloning only installed files VS entire drive?:

                  Once completed, the computer reboots to a black screen with a blinking white cursor and just sits there. Suggestions?

                  To help beyond here, we need basic information such as fog 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/

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    TTellez @Wayne Workman
                    last edited by

                    @Wayne-Workman 1.3.5 revision 6067

                    Morning!

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

                      @TTellez let see where you are at.

                      You captured the image from a larger disk as single disk resizable. Then you deployed it to a smaller disk. When the target computer rebooted it didn’t boot into windows it just sat at a black screen with a cursor. Do I understand that right?

                      If I do then I have these questions.

                      1. If you change the firmware so the hard drive is first in the boot order does it still do this?
                      2. Is the image on the disk gpt or mbr?
                      3. Is the image on the source disk UEFI or legacy (bios) based?
                      4. The system you are deploying this reference image to, does it match the uefi/legacy settings of the source 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!

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        TTellez @george1421
                        last edited by

                        @george1421

                        1. Boots to the black screen with the flashing white cursor
                        2. Uh…unsure? Im an idiot apparently.
                        3. Legacy
                        4. legacy as well on the deployed system
                        george1421G 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @TTellez
                          last edited by

                          @TTellez So the only thing in question right now is gpt vs mbr. What OS is deployed on the source disk?

                          If you boot into a rescue can you repair the disk with the fixpart and bootpart (not sure if those are the right commands. But need to rebuild mbr and then ensure that the proper partition is configured to boot). I’m only interested in seeing if the image can be salvaged. Then we can work on why.

                          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 Reply Quote 1
                          • T
                            TTellez @george1421
                            last edited by

                            @george1421 Win 7 is the deployed image.

                            No, bootpart commands do not fix the issue.

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

                              @TTellez OK then. If you have the same size disk can you deploy it one for one? The question that is running through my mind is the source image defective? Because you should not have this issue. The capture resize, and deploy does work. At this point I’m just trying to rule out where the problem isn’t. The source image is suspect if you can’t recover the target system. But again I’m only saying that so we can eliminate it from the problem.

                              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 2 Replies Last reply Reply Quote 1
                              • T
                                TTellez @george1421
                                last edited by

                                @george1421 they are not one for one. The source is a 500GB SSD SATA drive. The client we are deploying to is a 250 GB FlashSSD. All other hardware remains the same.

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

                                  @TTellez Sorry I was not clear.

                                  At this point we don’t know

                                  1. Is the fact that we are going from 500GB->Smaller the issue
                                  2. Something is damaged in the master image on the 500GB drive
                                  3. FOG is doing something unexpected with the reimage.

                                  My question is around #2 if we went from 500GB to 500GB would it work?

                                  Then for question #3 how can we determine the image on the 500GB is good.

                                  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 2 Replies Last reply Reply Quote 1
                                  • T
                                    TTellez @george1421
                                    last edited by

                                    @george1421 Yeah and I think its that threefold possiblity that is making it very hard for us to determine exactly what the issue is.

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      TTellez @george1421
                                      last edited by

                                      @george1421 what I am doing now as a test is configuring the same exact machine from scratch. Then I will clone it, and deploy it, and see if that makes the difference. If it works, then I have the right image for future machines.

                                      In my past experience with FOG we already had the images created, and we did have one that was a “generic” install. I wish I knew how we created that one as well…but alas, I don’t have that resource any longer.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        TTellez @george1421
                                        last edited by

                                        @george1421 UPDATE: I created a new image on the same exact laptop we are trying to image. Still boots to a black screen. ARGH.

                                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                        • T
                                          TTellez
                                          last edited by

                                          I think the hardest part for me is that a majority of the documentation I can find is based on an older version, and this version has many options that older versions didn’t.

                                          1 Reply Last reply Reply Quote 0
                                          • Wayne WorkmanW
                                            Wayne Workman @TTellez
                                            last edited by

                                            @TTellez We need to collect some information about your image before capture - and after deployment. This won’t be too tough but we need to dig into your issue.

                                            Don’t spent a lot of time making a fancy image - just install windows, nothing else. no updates.

                                            Do a debug capture. This is created like a normal capture but you select the debug checkbox, pictured below.

                                            0_1490793028311_Debug Capture.png

                                            When the target system boots for capture, you’ll be presented with some information - press enter to go through this. Eventually you’ll land at a linux shell. Here, we need you to do some commands and take well-focused readable photos of the output.

                                            sfdisk -d /dev/sda
                                            lsblk
                                            

                                            Then after you have pictures taken, issue the fog command and proceed with capture. At every single step, the capture process will ask you to press enter to continue - just do this and get it completely through capture.

                                            Then, we’re going to do similar with deploy. Schedule a debug deployment using this new image. But this time, we’re going to allow FOG to deploy the image - and then were going to run the same information gathering commands after the image deployment is done. So when the target boots, it’ll again be in debug mode. Press enter through the informational parts. When you’re at a shell, issue the fog command. Press enter through each phase of deployment until everything is done. Then at the end, do not power off, do not restart - issue these commands and take photos of the output.

                                            sfdisk -d /dev/sda
                                            lsblk
                                            

                                            And also, please, when you’re posting the photos here, go ahead and give us the high resolution copies. It’s OK to crop, but we need to be able to read this stuff otherwise it’s of no use. And please label the photos so we know which are what.

                                            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/

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

                                            187

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project