• 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.2k
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 @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
              • T
                Tom Elliott @plegrand
                last edited by Feb 5, 2016, 1:03 PM

                @plegrand Can you try with it set back as XP? I don’t see that being retested.

                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 3 Replies Last reply Feb 5, 2016, 1:07 PM Reply Quote 0
                • P
                  plegrand @Tom Elliott
                  last edited by Feb 5, 2016, 1:07 PM

                  @Tom-Elliott
                  I made the test with windows xp type on 6209 version : partclone “tell” me that “This is not a partclone image”.
                  Not the same error as yesterday with other version (6194)

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

                    @Tom-Elliott Same problem with 6211

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

                      @Tom-Elliott
                      I just made the test today with 6237 version. Same problem : partclone “tell” me that “This is not a partclone image”.
                      Do you think there is a solution to restore image from fog or do i have to reinstall the station ?

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

                        @plegrand there can be a solution but I have to figure out what that solution will be.

                        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 10, 2016, 7:17 AM Reply Quote 0
                        • P
                          plegrand @Tom Elliott
                          last edited by plegrand Feb 10, 2016, 1:32 AM Feb 10, 2016, 7:17 AM

                          @Tom-Elliott
                          for the moment i reinstalled the station and i continu my tests. I’ve got one question :

                          I saw on the wiki that there is 4 images 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.
                          What is the good one
                          Is it single disk or single partition ?

                          And finally, instead opening a new thread, i’ve got a last question :
                          all my host have a red circle with exclamation point and this error message :
                          “no such device or address”. What does that mean ?

                          Thanks for your help

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

                            @Tom-Elliott
                            Hello
                            i just made a test today with an other station
                            Dell Optiplex 760 with again 3 partitions
                            Here is the image definition :
                            default: Windows 2000/XP
                            Single Disk - Resizable
                            Everything

                            The capture seems to works fine and i can see in the “images” directory :

                            ls -al /home/images/Optiplex760780/
                            total 8355044
                            drwxrwxrwx 2 root root 4096 févr. 23 10:09 .
                            drwxrwxrwx 7 root root 4096 févr. 23 10:09 …
                            -rwxrwxrwx 1 root root 3 févr. 23 09:44 d1.fixed_size_partitions
                            -rwxrwxrwx 1 root root 249 févr. 23 09:49 d1.minimum.partitions
                            -rwxrwxrwx 1 root root 30 févr. 23 09:49 d1.original.fstypes
                            -rwxrwxrwx 1 root root 0 févr. 23 09:44 d1.original.swapuuids
                            -rwxrwxrwx 1 root root 3706587 févr. 23 09:49 d1p1.img
                            -rwxrwxrwx 1 root root 8551432512 févr. 23 10:09 d1p2.img
                            -rwxrwxrwx 1 root root 392584 févr. 23 10:09 d1p3.img
                            -rwxrwxrwx 1 root root 249 févr. 23 09:44 d1.partitions

                            But when i try to deploy this image on the same station i’ve got again this error message at the beginning :
                            “This is not a partclone image”

                            Now the station is “dead” and cant boot “Error loading operating system”

                            It’s a real problem because we have a lot of this kind of station

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Feb 25, 2016, 1:28 AM

                              I just added some more code and I think I finally found 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! 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 25, 2016, 10:30 AM Reply Quote 1
                              • P
                                plegrand @Tom Elliott
                                last edited by Feb 25, 2016, 10:30 AM

                                @Tom-Elliott Hello
                                does that mean that with the latest version it will work ?
                                Do you want i try ?
                                Thanks for your help

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Feb 25, 2016, 12:16 PM

                                  @plegrand Yes, would be great if you can upgrade to the latest version and see if it’s fixed. Please report back!

                                  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 25, 2016, 12:38 PM Reply Quote 0
                                  • P
                                    plegrand @Sebastian Roth
                                    last edited by plegrand Feb 25, 2016, 6:50 AM Feb 25, 2016, 12:38 PM

                                    @Sebastian-Roth
                                    i have to capture again before deploy ?

                                    Just to be clearer, here is my configuration :

                                    On my own pxe server(dhcp and tftp) 192.168.151.247
                                    dhcp is configured like that :

                                     next-server 192.168.151.247;
                                     filename "pxelinux.0";
                                    

                                    then on my tftp server i’ve got pxelinux.0 into the tftp root directory
                                    and
                                    this configuration

                                    LABEL FOG_ETUDIANTS
                                    KERNEL fog/ipxe.krn dhcp && chain http://192.168.39.243/fog/service/ipxe/boot.php?mac=${net0/mac}
                                    
                                    

                                    192.168.39.243 is the fog ip address
                                    Do i have to put on my tftp server the new ipxe.krn file ?

                                    Tom ElliottT 1 Reply Last reply Feb 25, 2016, 1:00 PM Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @plegrand
                                      last edited by Feb 25, 2016, 1:00 PM

                                      @plegrand you should not have to re upload the 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! 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 26, 2016, 9:36 AM Reply Quote 0
                                      • P
                                        plegrand @Tom Elliott
                                        last edited by Feb 26, 2016, 9:36 AM

                                        @Tom-Elliott Hello
                                        Fog 6427 / 4874

                                        here is the tests i made

                                        • Restore the station with an old symantec ghost image
                                        • List partitions with diskpart
                                        DISKPART> list disk
                                         Disque ###  Statut      Taille     Libre     Dyn  Gpt
                                         --------  ---------  -----------  --------   ---  ---
                                         Disque 0    Connecté     149 GB      0 B
                                        
                                         DISKPART> select disk 0
                                         Le disque 0 est maintenant le disque sélectionné.
                                        
                                         DISKPART> list partition
                                         Partition ###  Type              Taille     Décalage
                                         -------------  ----------------  -------  -----------
                                         Partition 1    OEM                126 MB    20 KB
                                         Partition 2    Principale          49 GB   126 MB
                                         Partition 3    Principale         100 GB    49 GB
                                        
                                        
                                        • Defragmentation of all the partition
                                        • On fog create a image :
                                        	default: Windows 2000/XP
                                        	Single Disk - Resizable
                                        	Everything
                                        
                                        • Assign the new image to the host
                                        • On fog create a new capture task for the station as a debug task
                                        • Launch the task
                                        • Capture works fine
                                          On the server fog :
                                        	d1.fixed_size_partitions
                                        	d1.minimum.partitions
                                        	d1.original.fstypes
                                        	d1.original.swapuuids
                                        	d1p1.img
                                        	d1p2.img
                                        	d1p3.img
                                        	d1.partitions
                                        
                                        	cat d1.fixed_size_partitions 
                                        	1:
                                        
                                        	cat d1.minimum.partitions 
                                        	label: dos
                                        	label-id: 0x2bd2c32a
                                        	device: /dev/sda
                                        	unit: sectors
                                        
                                        	/dev/sda1 : start=          40, size=      257480, type=de
                                        	/dev/sda2 : start=      257520, size=    31386360, type=7, bootable
                                        	/dev/sda3 : start=   102657680, size=      779520, type=7
                                        
                                        	cat d1.original.fstypes 
                                        	/dev/sda2 ntfs
                                        	/dev/sda3 ntfs
                                        
                                        
                                        	cat d1.partitions 
                                        	label: dos
                                        	label-id: 0x2bd2c32a
                                        	device: /dev/sda
                                        	unit: sectors
                                        
                                        	/dev/sda1 : start=          40, size=      257480, type=de
                                        	/dev/sda2 : start=      257520, size=   102400160, type=7, bootable
                                        	/dev/sda3 : start=   102657680, size=   209839360, type=7
                                        

                                        At reboot, the station stay displaying “Booting…”

                                        Then i try to deploy the image

                                        • Create a new deploy task for the host

                                        During the restauration of /dev/sda1, i’ve got the following error message from partclone

                                        Target partition size (132MB) is smaller than source 132 MB. 
                                        Use option -C to disable size checking (Dangerous)
                                        
                                        

                                        And just after

                                        Image failed to restore and exited with exit code 0 (writeImage)
                                        Args passed /images/test/d1p1 img* /dev/sda1
                                        
                                        

                                        Then the only solution is to redeploy the old ghost image 😉

                                        Tom ElliottT 1 Reply Last reply Feb 26, 2016, 12:29 PM Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott @plegrand
                                          last edited by Feb 26, 2016, 12:29 PM

                                          @plegrand have you tried after updating to the latest.

                                          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 26, 2016, 1:02 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 2 / 5
                                          • First post
                                            Last post

                                          170

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project