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

    More control with Partitions

    Scheduled Pinned Locked Moved
    General
    18
    28
    13.8k
    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.
    • M
      Mitchel Drake
      last edited by

      Hello,
      Here is the situation, the 1TB Hard drive is setup with two partitions. Partition 1 contains the operating system and installed software, Partition 2 contains random data that the users store their documents, pictures, etc. As of FOG 0.32 there is no way to upload just Partition 1 to an image and deploy that to another hard drive with the same/similar configuration. My question is will that feature be available in the near future?

      1 Reply Last reply Reply Quote 0
      • B
        Blackout Developer
        last edited by

        No.

        But you can manually rename/remove the image files so the system cannot find them, it will then skip that partition.

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by

          We have developed this feature, but we use fog 0.30.
          The way it operates is simple:
          1 º) When you upload the picture for the first time you save the partition scheme in the database, via web services.
          2 º) for the next time, the web interface gives you the option to choose which partition you want to upload.
          3 º) FOG script on the client, ask via web services if you need to upload the whole disk or just a partition. If the result of the query is running the fogpartinfo ALL, otherwise, it returns the device / dev / sdaX.
          4 º) Once the upload process, the web service takes care of Post_Stage2.php to copy the image file of the partition in its place
          5 º) Saving the partition scheme you know that images have the same schema, so you can share the image files of partitions.

          In this way the code is responsible for making the task of renaming files, and avoid human error.

          Example:
          The source name image is aula-bz-cursos-A6A-rembo-mantenimiento. We can upload all partitions, sda1(NTFS) or sda5 (NTFS) and share it with aula-bz-cursos-A6A-rembo-gx620_produccion image

          [IMG]http://www.ehu.es/fogenehu/captures/version_1_030_4/upload.jpeg[/IMG]

          1 Reply Last reply Reply Quote 0
          • L
            Lanstack
            last edited by

            Hello

            Users of version 0.32 FOG
            I have a shared hard drive into 2 partitions. The first contains the system + programs and the second is just to store temporary work files.
            How do you back up and restore the first partition?

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

              [quote=“Fernando Gietz, post: 252, member: 13”]We have developed this feature, but we use fog 0.30.
              [/quote]

              That is cool, I would be interested in something like that. Would it to to much trouble to post the coding behind this? Even if it is for the older version, I bet people would find it useful, maybe even update it to the newer version.

              @LanStack
              At the moment the only way to do this, it to do what Blackout said, and rename or delete the secondary partition image. Then when fog does a restore, will not be able to find the second partition and error out and skip it. As long as your partition layout is exactly the same on every computer, it will not destroy any data on the secondary partition.

              The thing that sucks about this setup is whenever you update you image, you will need to remember to rename or delete the secondary partition, otherwise it will overwrite all the data on the secondary partition with the one on the server, and that is not good.

              1 Reply Last reply Reply Quote 0
              • D
                DanielVass
                last edited by

                i think you should delete the image file

                1 Reply Last reply Reply Quote 0
                • I
                  ismatrix
                  last edited by

                  My Friend Fernando Gietz
                  thank you for your help but this feature it is exist in the version 0.32 FOG
                  pleas any one can help
                  that’s important to me

                  1 Reply Last reply Reply Quote 0
                  • F
                    Fernando Gietz Developer
                    last edited by

                    Sorry for taking so long to respond, I’ve been on vacation.
                    I did not know that something similar was implemented in FOG. This is the first news I have about it. I’m glad.

                    1 Reply Last reply Reply Quote 0
                    • I
                      ismatrix
                      last edited by

                      Never mind my Friend Thank You Man!!!

                      1 Reply Last reply Reply Quote 0
                      • P
                        prattyy
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • P
                          prattyy
                          last edited by

                          [quote=“Catsrules, post: 2142, member: 296”]That is cool, I would be interested in something like that. Would it to to much trouble to post the coding behind this? Even if it is for the older version, I bet people would find it useful, maybe even update it to the newer version.

                          @LanStack
                          At the moment the only way to do this, it to do what Blackout said, and rename or delete the secondary partition image. Then when fog does a restore, will not be able to find the second partition and error out and skip it. As long as your partition layout is exactly the same on every computer, it will not destroy any data on the secondary partition.

                          The thing that sucks about this setup is whenever you update you image, you will need to remember to rename or delete the secondary partition, otherwise it will overwrite all the data on the secondary partition with the one on the server, and that is not good.[/quote]

                          @catsrules
                          so you are saying that before i deploy the image i shoud delete my second partition??
                          and what should i do after the deployment to restore the partition and its data?

                          1 Reply Last reply Reply Quote 0
                          • B
                            boon
                            last edited by

                            [quote=“prattyy, post: 3330, member: 1074”]@catsrules
                            so you are saying that before i deploy the image i shoud delete my second partition??
                            and what should i do after the deployment to restore the partition and its data?[/quote]
                            I believe he meant that you should delete the second partition from the FOG server, so it does not overwrite the user data partition upon restore.

                            1 Reply Last reply Reply Quote 0
                            • P
                              prattyy
                              last edited by

                              Ohh yes sorry I completely misunderstood this.
                              I deleted the image of second partition and it works
                              Will do some more tests with diffrent operating systems
                              Thanks boon

                              1 Reply Last reply Reply Quote 0
                              • B
                                boon
                                last edited by

                                [quote=“prattyy, post: 3360, member: 1074”]Ohh yes sorry I completely misunderstood this.
                                I deleted the image of second partition and it works
                                Will do some more tests with diffrent operating systems
                                Thanks boon[/quote]
                                Nice! I like the easy ones 😉

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ismatrix
                                  last edited by

                                  hi prattyy
                                  would you explain your test to know more …
                                  because i try this before but not complete
                                  and what is the path of the image in the Fog.

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    Hesham Saladin
                                    last edited by

                                    To Blackout:No.

                                    But you can manually rename/remove the image files so the system cannot find them, it will then skip that partition.

                                    Reply:thats true and working…but when i try to use the same image for another Pc it tells me wrong partition table…so how can i use this image for any another pc?

                                    1 Reply Last reply Reply Quote 0
                                    • V
                                      Varadin
                                      last edited by

                                      this feature is really interesting I am managing a park of laptops and I want to keep the manufacturer restore partition. does somone have the sourcecode or a clear walktrough of how to do that in 0.32 or 0.33

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Mason Colbert
                                        last edited by

                                        Did anyone ever get a line on the source code or a walk through on this? I am managing dual boot laptops and it would be very useful (and a time saver) to (for example) image the Windows partition while leaving the Centos partition unchanged.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chad-bisd Moderator
                                          last edited by

                                          There is a thread/wiki article about some custom mods a guy made for his company. See if you can find that.


                                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

                                            Hello there, where can i find the feature of fernando please? I don’t find out a thread/wiki talking about this

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            164

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project