How do I capture centos images
-
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! -
@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.
-
@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
-
@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 -
@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?
-
@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 -
@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?
-
This is centos7 operating system that I need to capture and I did not find the relevant tutorial
-
@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
- 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:
which creates this:
What you want is this:
To create this:
Also, if you are planning on multicasting, I would read up on this page as well:
https://wiki.fogproject.org/wiki/index.php/Multicasting - Make sure your image is set to Linux in FOG
-
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.