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

    Is there a way to deploy only 1 partition of my image?

    Scheduled Pinned Locked Moved
    General
    4
    8
    2.6k
    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.
    • ThiagoT
      Thiago
      last edited by

      Sorry if it is a dumb question…
      I have an image of a dualboot system Debian8/Win10 that works perfectly.
      Now, in one machine, my Win10 is broken. I would like to know if i can deploy only the win10 partition.
      My debian is different from the saved image and I do not want to change it again.

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

        @Thiago You probably can by editing the various small text files in the image’s folder. I would strongly recommend making backups of these files before you change them.

        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/

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

          @Thiago You should be able to skip deploying particular partition files by renaming them (e.g. mv d1p2.img d1p2.disabled). Should tell you “Partition File Missing” for sda2 but will still continue doing all the other things.

          @Tom-Elliott There is also the “Partition” option within the image definition. Selecting “Partition 2 only” works great for upload but will totally mess up your client if you try to deploy this to a machine because it does not have d1.partitions or d1.mbr but creates the default full size NTFS partition…

          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

          ThiagoT 1 Reply Last reply Reply Quote 3
          • ThiagoT
            Thiago @Sebastian Roth
            last edited by

            @Sebastian-Roth Selecting “Partition 2 only” will be my next step when i update the image, selecting only Debian partition for upload, maintaining Win10 intact. (correctly?)
            Renaming files simply works!!

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

              @Thiago Please do not try the “Partition 2 only” setting! At least don’t deploy it to any machine! It will screw it! Let’s wait what Tom thinks about this.

              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
              • S
                Sebastian Roth Moderator
                last edited by

                @Developers Today I somehow got reminded of this… From my point of view restoring a single partition is a very dangerous thing as we have it in FOG trunk right now (if you restore lets say Partition 2 only it will still do all the usual steps - delete your whole MBR, create a full size NTFS partition, restore the MBR - and therefore wipe all your other partition data!) and should definitely not make it into a release as is! Was this feature ever tested? Should we work on making it save or should we remove it?

                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

                GoodGuyQG 1 Reply Last reply Reply Quote 0
                • GoodGuyQG
                  GoodGuyQ @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Thanks for this info. i came to ask about this very same issue, but luckily found this thread before doing so.

                  Ubuntu 14.x
                  Fog: 1.3.0 (7581)
                  Client OS: Win 7/10

                  I have an 1TB hdd. I create 2 partitions; C/D. The OS partition (C:) is small, like 300GB. The 😧 partition can be different; sometimes its XX files, sometimes it is GG files. The 😄 would always be the same. I was hoping to have the functionality of taking independent partition images and burning them separately, but I understand why this is a difficult task. Windows has its own boot partition is one issue.

                  Anyway, the point of the post is to say, it would be cool to have, but I would say it is a low priority - even to someone like me who would use it often.

                  Now to find ways to boost the speed!

                  GGQ

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

                    @GoodGuyQ While this issue has been fixed back then I think it never really got tested by the users (who are a hell lot better at finding the odd bits and pieces that we developers just don’t think about)!! Would be awesome if you can give it a try and let us know. Be aware that things might go wrong. So always keep a full image at hand.

                    That said you could also do things like skipping only one partition out of three (and still do the MBR) by renaming the image files on your FOG server. Try renaming /image/<image-name>/d1p2.img for example to skip_d1p2.img and it should be skipped while deploying. At least it worked in older revisions. Let’s hope I didn’t break that when working out the single partition cloning stuff.

                    Looking forward to hear if it is working for you!

                    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

                    151

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project