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

    How do I capture centos images

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    3
    10
    1.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.
    • C
      china.boy
      last edited by

      Hi
      I looked through the document and I didn’t see how to make a mirror image of centos and capture it. I need some help. Thank you!

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

        @china-boy said in How do I capture centos images:

        mirror image of centos

        What do you mean by that? Capturing an image from CentOS is quite similar to capturing images from other machines. If your CentOS is setup with LVM or disk encryption that’s different though.

        Please tell us more about why you ask and in case you already ran into an error you better take a picture of it and post here.

        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

        C 1 Reply Last reply Reply Quote 0
        • C
          china.boy @Sebastian Roth
          last edited by

          @Sebastian-Roth I want to batch deploy centos and all centos images that I need to capture. I’ve looked for BBS and it’s all about Windows image making

          1 Reply Last reply Reply Quote 0
          • C
            china.boy
            last edited by

            @Sebastian-Roth
            I want to batch deploy centos and all centos images that I need to capture. I’ve looked for BBS and it’s all about Windows image making

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

              @china-boy Sorry but I can’t follow what you are saying.

              I want to batch deploy centos.

              What’s the problem? FOG can deploy an image to dozens or even a hundred machines at the same time (using multicast) or in a row.

              I’ve looked for BBS and it’s all about Windows image making

              What does BBS stand for? When searching the web I found Bit Beta System, Batch Broker Service, Bulletin Board System and many more that don’t make any sense to me in the context of imaging. Maybe you are thinking of FOG being something different than it actually is?

              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
              • C
                china.boy
                last edited by Sebastian Roth

                @Sebastian-Roth said in How do I capture centos images:

                以及其他许多

                Sorry, my English is not good to use the translation software may not express clearly
                I want to deploy centos in bulk but I don’t know how to do that
                Batch deployment Windows I have realized my reference https://www.youtube.com/watch?v=Mth0K6dsWtQ
                My question is how does centos image

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

                  @china-boy In the video link you posted we see a very old FOG version (definitely use a more current version!) used to deploy an image to 16 computers. It does not talk about Windows or BBS (whatever that is).

                  I am sorry but I still don’t understand your question. FOG can capture Windows machines just as it can capture CentOS or other Linux systems. Setup your master machine with CentOS (don’t make it a LVM partitioning or encrypted home partition) and capture that same as you would with a Windows master. Then deploy that image to as many machines as you like.

                  Sorry but we can’t help you without knowing what exactly is failing or is it just that you might not know how to do all this? Do you have a running FOG server? Can you capture and deploy Windows images/machines with 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

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    china.boy @Sebastian Roth
                    last edited by

                    @Sebastian-Roth

                    This is centos7 operating system that I need to capture and I did not find the relevant tutorial

                    0_1543800154382_d5aff939-df1b-409b-961d-b9f0e7156e11-image.png

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jflippen @china.boy
                      last edited by jflippen

                      @china-boy In order for us to help you more, could you do two things?

                      • Make sure your image is set to Linux in FOG
                        0_1543805575900_6725edba-2092-4e66-b248-1cf170c1f9a2-image.png
                      • Open terminal and run the following command: fdisk -l
                        When you run that command, if you see text like below, then @Sebastian-Roth is saying it won’t work:
                         Device Boot      Start         End      Blocks   Id  System
                      /dev/sda1   *        2048     2099199     1048576   83  Linux
                      /dev/sda2         2099200   209715199   103808000   8e  Linux LVM
                      
                      

                      If he is correct, then you may have to re-create your initial CentOS 7 install, but don’t use the default settings for the disk format. The default settings when doing the manual partitions is like this:
                      0_1543806290076_90608988-ab9e-4f5f-bd2e-d86e947fa7dd-image.png
                      which creates this:
                      0_1543806354251_d268ae6a-0840-4748-a15d-22f075ede5c0-image.png

                      What you want is this:
                      0_1543806400280_5e570166-fbfb-41be-8d49-6edad2957684-image.png

                      To create this:
                      0_1543806434119_86074a70-76cf-494e-97a1-44568ecc4b1a-image.png

                      Also, if you are planning on multicasting, I would read up on this page as well:
                      https://wiki.fogproject.org/wiki/index.php/Multicasting

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

                        Ok, seems like @jflippen’s advice helped here. Now we face a new issue following up here: https://forums.fogproject.org/topic/12742/capturing-centos-linux-image

                        @china-boy I moved your post with the pictures to the new 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

                        149

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project