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

FOG restore only one partition

Scheduled Pinned Locked Moved Solved
FOG Problems
5
83
39.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.
  • P
    plegrand
    last edited by Joe Schmitt Mar 7, 2016, 9:59 AM Feb 4, 2016, 2:05 PM

    Hello
    i’ve got a problem during deploy task on a windows xp station.

    I made a capture task (entire dsk) and it seems that everything worked fine, i can see in the images directory all my partitions
    When i make a deploy task, fog only restore the first partition with “test memory” and test system" tools

    Does someone could explain me what is the problem ?
    As i said in an other post, i move the “images” directory from “/images” to “/home/images”
    Thanks

    C 1 Reply Last reply Feb 4, 2016, 2:29 PM Reply Quote 0
    • C
      ch3i Moderator @plegrand
      last edited by Feb 4, 2016, 2:29 PM

      @plegrand Hi, Could you try in debug task ?

      Chosse debug task after select deploy task :

      0_1454595979082_upload-2f298889-4356-4e89-8d8b-13398adf1150

      After PXE boot, you have to run fog task with fog command

      P 2 Replies Last reply Feb 4, 2016, 2:54 PM Reply Quote 0
      • P
        plegrand @ch3i
        last edited by Feb 4, 2016, 2:54 PM

        @ch3i then i use debug task and it restore only sda1, sda2 and sda3 are not restored

        W 1 Reply Last reply Feb 4, 2016, 3:24 PM Reply Quote 0
        • P
          plegrand @ch3i
          last edited by Feb 4, 2016, 3:14 PM

          @ch3i Here is the “image setting”

          Image Name Portable Service Info
          Image Description
          Operating System Windows 2000/XP - (1)
          Image Path /home/images/PortableServiceInfo
          Image Type Single Disk - Resizable - (1)
          Partition Everything - (1)

          And here is the content of /home/images/PortableServiceInfo/
          ls -al /home/images/PortableServiceInfo/
          d1.fixed_size_partitions
          d1.minimum.partitions
          d1.original.fstypes
          d1.original.swapuuids
          d1p1.img
          d1p2.img
          d1p3.img
          d1.partitions

          i cant understand what is the problem
          thanks again

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman @plegrand
            last edited by Feb 4, 2016, 3:24 PM

            @plegrand It might be permissions? use chmod -R 777 /home/images

            Also, you can look through some of the files for this image and make sure details about sda2 and sda3 are included. Look inside of the d1.original.fstypes, d1.minimum.partitions, d1.fixed_size_partitions, and d1.partitions.

            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/

            P 1 Reply Last reply Feb 4, 2016, 3:31 PM Reply Quote 0
            • P
              plegrand @Wayne Workman
              last edited by ch3i Feb 4, 2016, 9:34 AM Feb 4, 2016, 3:31 PM

              @Wayne-Workman

              drwxrwxrwx  5 root root      4096 févr.  4 12:35 images
              
              cat d1.fixed_size_partitions
              1:
              
              cat d1.minimum.partitions
              label: dos
              label-id: 0x1e053b42
              device: /dev/sda
              unit: sectors
              
              /dev/sda1 : start=          63, size=      240912, type=de
              /dev/sda2 : start=      240975, size=    34105626, type=7, bootable
              /dev/sda3 : start=   156408840, size=    19799712, type=7
              
              cat d1.original.fstypes
              /dev/sda2 ntfs
              /dev/sda3 ntfs
              
               cat d1.partitions
              label: dos
              label-id: 0xdb5ddb5d
              device: /dev/sda
              unit: sectors
              
              /dev/sda1 : start=          63, size=      240912, type=de
              /dev/sda2 : start=      240975, size=   156167865, type=7, bootable
              /dev/sda3 : start=   156408840, size=   156167865, type=7
              
              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Feb 4, 2016, 3:54 PM

                What version of fog do you have?

                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

                P 2 Replies Last reply Feb 4, 2016, 3:55 PM Reply Quote 0
                • P
                  plegrand @Tom Elliott
                  last edited by Feb 4, 2016, 3:55 PM

                  @Tom-Elliott The last one i think : in the cloud 6186

                  T 1 Reply Last reply Feb 4, 2016, 3:58 PM Reply Quote 0
                  • P
                    plegrand @Tom Elliott
                    last edited by Feb 4, 2016, 3:56 PM

                    @Tom-Elliott could it be the modification i made about storage
                    /images => /home/images ?

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott @plegrand
                      last edited by Feb 4, 2016, 3:58 PM

                      @plegrand we are now up to 6194 not that you will see any different results. Is this image truly an xp/2000 image? When was the image uploaded?

                      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

                      P 1 Reply Last reply Feb 4, 2016, 4:03 PM Reply Quote 0
                      • P
                        plegrand @Tom Elliott
                        last edited by Feb 4, 2016, 4:03 PM

                        @Tom-Elliott
                        I just upgraded now 6194
                        It’s trully an xp image from an old portable with windows XP
                        i made the test today with the 6186 version
                        i just made the test with the 6194 version with same problem

                        T 2 Replies Last reply Feb 4, 2016, 4:08 PM Reply Quote 0
                        • T
                          Tom Elliott @plegrand
                          last edited by Feb 4, 2016, 4:08 PM

                          @plegrand I do know what the problem is though I don’t know of a good fix at the moment. I believe it’s because of checking done for the image files. Old XP images were to be a single partition/single file. But have no XP image to test with/from. What happens if you change the is version to Windows 10? I’d say 7 or 8 but I know that it would fail due to bcd files trying to be placed that aren’t used in XP. I set up Windows 10 to not replace the bcd though.

                          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

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott @plegrand
                            last edited by Feb 4, 2016, 11:34 PM

                            @plegrand I just rebuilt the init’s to attempt to approach this scenario (three partitions and what not for xp).

                            The one partition was a failure on my part. I was checking if the d1p1.img file was there and verifying it. This is correct, but i was never iterating partitions and what not for XP/Vista. This is because I guess XP/Vista are so old that I didn’t really expect any person to be using an image of these types in such a manner.

                            I’m almost certain, however, that this will still be an issue as we always default to using the FOG systems mbr file. This mbr file only has one partition within it. Maybe I was lucky with how I coded it though?

                            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

                            W P 4 Replies Last reply Feb 5, 2016, 4:12 AM Reply Quote 0
                            • W
                              Wayne Workman @Tom Elliott
                              last edited by Wayne Workman Feb 4, 2016, 10:13 PM Feb 5, 2016, 4:12 AM

                              @Tom-Elliott said:

                              I’m almost certain, however, that this will still be an issue as we always default to using the FOG systems mbr file. This mbr file only has one partition within it. Maybe I was lucky with how I coded it though?

                              Sounds like a good reason to have… two… MBRs. 😎

                              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/

                              P 1 Reply Last reply Feb 5, 2016, 9:22 AM Reply Quote 0
                              • P
                                plegrand @Tom Elliott
                                last edited by Feb 5, 2016, 7:23 AM

                                @Tom-Elliott
                                then what i have to do ?
                                do you want i test with windows 10 version.
                                However this morning i updatet to 6209 version, and now when i try to deploy, partclone “tell” me that “This is not a partclone image”.
                                Did you change something ?

                                Thanks for your help

                                1 Reply Last reply Reply Quote 0
                                • P
                                  plegrand @Tom Elliott
                                  last edited by Feb 5, 2016, 7:28 AM

                                  @Tom-Elliott
                                  I made the test with windows 10 version and this is not the same error :
                                  Image store corrupt : Unable to locate MBR(restorePartitionTableAndBootLoaders)

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    plegrand @Wayne Workman
                                    last edited by Feb 5, 2016, 9:22 AM

                                    @Wayne-Workman
                                    I saw on the wiki that there is 4 partition types :
                                    Single Partition
                                    Multiple Partition - Single Disk
                                    Multiple Partition - All Disks
                                    Raw Image

                                    On the web frontend
                                    Single Disk - Resizable - (1)
                                    Multiple Partition Image - Single Disk (Not Resizable) - (2)
                                    Multiple Partition Image - All Disks (Not Resizable) - (3)
                                    Raw Image (Sector By Sector, DD, Slow) - (4)

                                    As you can see the first option is different.
                                    Then may be i would choose “Multiple Partition - Single Disk”
                                    And it’s, may be, for this reason it failed now ?

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      plegrand @Tom Elliott
                                      last edited by Feb 5, 2016, 10:56 AM

                                      @Tom-Elliott
                                      Then do you think i have to restore manually my station or it will be possible from fog ?

                                      T 1 Reply Last reply Feb 5, 2016, 11:47 AM Reply Quote 0
                                      • T
                                        Tom Elliott @plegrand
                                        last edited by Feb 5, 2016, 11:47 AM

                                        @plegrand Try changing the OS type to Windows 10.

                                        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

                                        P 1 Reply Last reply Feb 5, 2016, 1:01 PM Reply Quote 0
                                        • P
                                          plegrand @Tom Elliott
                                          last edited by Feb 5, 2016, 1:01 PM

                                          @Tom-Elliott
                                          As i said before, i already done that without success

                                          T 1 Reply Last reply Feb 5, 2016, 1:03 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 1 / 5
                                          1 / 5
                                          • First post
                                            17/83
                                            Last post

                                          165

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project