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

    Win7x64 : Golden Image : partitions problems ...

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    20
    3.4k
    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 Well the issue (I see as a non-programmer) is that the fixed partitions names may be in a number if different base languages (I tried to find how many native language versions of windows there are, but failed. I can tell you there are 101 native language packs) managing that many different variations would be huge. Other than their label I’m not sure how we could properly identify the partitions. I’m open for ideas too. I wonder if windows uses a consistent UUID of the partition(??).

      We could either poke the right values into the inits using a post install script, or the main inits would have to be able to reach out and read a file on the FOG server that would tell it about the native language for the windows clients. But some how the settings need to be IT Admin configurable. Possibly even via a FOG run time variable where it would pass the real (native language) name of reserved and system partitions… (just thinking out loud here).

      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
      • Jonathan CoolJ
        Jonathan Cool
        last edited by

        Hi,
        Thanks to Tom … the issue is not completely resolved but “in progress” …

        • I edited the d1.fixed_size_partitions : “2:1”
        • after a new DL of the image, the resultt is :
          https://drive.google.com/file/d/0B48PuYLEHxQLWWNDR2E0QWhPZEU/view?usp=sharing

        Same result o7010, hp8000 or 640G2.

        How can expand the space of C after deploy ?

        My stuff :
        Server :
        FOG Version : Running Version 1.5.9
        OS : Debian GNU/Linux 10
        FOG Client Version : 0.12
        Specifications :
        > All images are on a Synology NAS storage : mounted with NAS_ip:/images
        > French user :)
        > “If everything would work the first time, what would you have learned?”
        Challenges make knowledge growth … by George1421 ;)

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Jonathan Cool
          last edited by Sebastian Roth

          @jonathan-cool Remove the 2 in the fixed file and deploy the image to a client…

          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 1
          • Jonathan CoolJ
            Jonathan Cool
            last edited by

            Hi,
            If i add only « :1 » in the d1.fixed_size_partitions, i have this error :
            https://drive.google.com/file/d/0B48PuYLEHxQLaUMxaWpOcmRnb3M/view?usp=sharing

            If i add « 2:1 » in the file d1.fixed_size_partitions and use setupcomplete.cmd to expand the space of C after deploy (by using diskpart utility, https://forums.fogproject.org/topic/1178/extend-your-disk-partition-to-max/4), it work on Optiplex7010 … but NOT in a smaller disk (hp2530p, « Target partition size is smaller than source ») …

            My stuff :
            Server :
            FOG Version : Running Version 1.5.9
            OS : Debian GNU/Linux 10
            FOG Client Version : 0.12
            Specifications :
            > All images are on a Synology NAS storage : mounted with NAS_ip:/images
            > French user :)
            > “If everything would work the first time, what would you have learned?”
            Challenges make knowledge growth … by George1421 ;)

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @Jonathan Cool
              last edited by

              @jonathan-cool Can you share a picture of the device that fails? (please check for plugged in USB sticks, SD cards and such as well)

              Jonathan CoolJ 1 Reply Last reply Reply Quote 0
              • Jonathan CoolJ
                Jonathan Cool @Quazz
                last edited by

                @quazz Hi,
                You wants a picture of the error with the HP2530 computer ?

                (no usb stick or any SD cards …)

                My stuff :
                Server :
                FOG Version : Running Version 1.5.9
                OS : Debian GNU/Linux 10
                FOG Client Version : 0.12
                Specifications :
                > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                > French user :)
                > “If everything would work the first time, what would you have learned?”
                Challenges make knowledge growth … by George1421 ;)

                Q 1 Reply Last reply Reply Quote 0
                • Q
                  Quazz Moderator @Jonathan Cool
                  last edited by

                  @jonathan-cool Yes, plus some info on the disk would be nice too.

                  1 Reply Last reply Reply Quote 0
                  • Jonathan CoolJ
                    Jonathan Cool
                    last edited by

                    I used ssh connection to copy and paste the result …

                     * Imaging using Partclone (gzip)
                    Partclone fail, please check /var/log/partclone.log !
                    ##################################################
                    #                                                                            						#
                    #                        A warning has been detected!                        				#
                    #                                                                            						#
                    ####################################################
                    Image failed to restore and exited with exit code 1 (writeImage)
                       Info: Partclone v0.2.89 http://partclone.org
                    Starting to restore image (-) to device (/dev/sda2)
                    note: Storage Location xxxxx/images/, Image name ImgUniverselle
                    we need memory: 5247876 bytes
                    image head 4160, bitmap 5239616, crc 4100 bytes
                    Calculating bitmap... Please wait... get device size 159935889408 by ioctl BLKGETSIZE64,
                    Target partition size(159936 MB) is smaller than source(171692 MB). Use option -C to disable size checking(Dangerous).
                       Args Passed: /images/ImgUniverselle/d1p2.img* /dev/sda2 
                    ######################################################
                    #                                                                            						             #
                    #                          Will continue in 1 minute         					            #
                    #                                                                            						           #
                    #####################################################
                    * Press [Enter] key to continue
                    

                    fdisk -l on the hp2530p :

                    Disk /dev/ram[0 – 15] : 124 MiB, 130048000 bytes, 254000 sectors ## there is many ram disk here ...
                    Units: sectors of 1 * 512 = 512 bytes
                    Sector size (logical/physical): 512 bytes / 4096 bytes
                    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
                    Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
                    Units: sectors of 1 * 512 = 512 bytes
                    Sector size (logical/physical): 512 bytes / 512 bytes
                    I/O size (minimum/optimal): 512 bytes / 512 bytes
                    Disklabel type: dos
                    Disk identifier: 0xc91a5cff
                    
                    Device     Boot  Start       End   Sectors  Size Id Type
                    /dev/sda1  *      2048    206847    204800  100M  7 HPFS/NTFS/exFAT
                    /dev/sda2       206848 312581631 312374784  149G  7 HPFS/NTFS/exFAT
                    

                    My stuff :
                    Server :
                    FOG Version : Running Version 1.5.9
                    OS : Debian GNU/Linux 10
                    FOG Client Version : 0.12
                    Specifications :
                    > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                    > French user :)
                    > “If everything would work the first time, what would you have learned?”
                    Challenges make knowledge growth … by George1421 ;)

                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @Jonathan Cool
                      last edited by

                      @jonathan-cool Makes sense. With 2:1 it will think that the OS partition shouldn’t get resized, so it reads the original size (which is 160GB) which in turn is bigger than the target hard drive.

                      I am not sure why :1 by itself wouldn’t work though.

                      Can you try leaving the file empty and see if that helps?

                      I have Dutch Windows which also doesn’t get have reserved system picked up properly and for me the file is simply empty. Which seems to work alright.

                      1 Reply Last reply Reply Quote 0
                      • Jonathan CoolJ
                        Jonathan Cool
                        last edited by

                        @quazz said in Win7x64 : Golden Image : partitions problems ...:

                        Can you try leaving the file empty and see if that helps?

                        Failed … and same error.
                        But i agree with your idea and, it’s make sense.

                        Maybe i don’t use the right process to create my VM into Virtualbox …
                        I choosed a 160Gb Virtual Size disk …

                        My stuff :
                        Server :
                        FOG Version : Running Version 1.5.9
                        OS : Debian GNU/Linux 10
                        FOG Client Version : 0.12
                        Specifications :
                        > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                        > French user :)
                        > “If everything would work the first time, what would you have learned?”
                        Challenges make knowledge growth … by George1421 ;)

                        Q 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @Jonathan Cool
                          last edited by

                          @jonathan-cool Dynamic or Static? (Dynamic could cause issues, not to mention it’s slow)

                          You do seem to have a lot of empty space in your virtual environment, but this shouldn’t really impact the deployment process, imo.

                          Resizable image type should be able to resize it correctly.

                          1 Reply Last reply Reply Quote 1
                          • Jonathan CoolJ
                            Jonathan Cool
                            last edited by

                            During creation process of Golden Image, in VirtualBox, i choosed Dynamic disk …
                            On VirutalBox, i can see : Virutal Size : 160Gb.

                            My stuff :
                            Server :
                            FOG Version : Running Version 1.5.9
                            OS : Debian GNU/Linux 10
                            FOG Client Version : 0.12
                            Specifications :
                            > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                            > French user :)
                            > “If everything would work the first time, what would you have learned?”
                            Challenges make knowledge growth … by George1421 ;)

                            1 Reply Last reply Reply Quote 0
                            • Jonathan CoolJ
                              Jonathan Cool
                              last edited by

                              I’m alone now ? … 😐

                              My stuff :
                              Server :
                              FOG Version : Running Version 1.5.9
                              OS : Debian GNU/Linux 10
                              FOG Client Version : 0.12
                              Specifications :
                              > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                              > French user :)
                              > “If everything would work the first time, what would you have learned?”
                              Challenges make knowledge growth … by George1421 ;)

                              Q 1 Reply Last reply Reply Quote 0
                              • Q
                                Quazz Moderator @Jonathan Cool
                                last edited by

                                @jonathan-cool Sorry, forgot to reply.

                                As far as I can recall, dynamic disk can give issues for resizable image type. I haven’t been able to find when/how this was a problem using the search, however.

                                Only advice I can give is to try and make it a fixed size drive and see if that helps at this point

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

                                  Marked this solved as the initial issue can be circumnavigated and we have a github issue open on that topic.

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

                                  188

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project