Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-22-2010, 10:57 AM
|
#1
|
Member
Registered: Nov 2009
Posts: 45
Rep:
|
i have server which has Linux version centos i want to create the image of the server
hi
i am using Linux type Centos sever which have some configuration every time if i have any problem, i have to reinstall is any thing which i can put it as image of the server and restore it if any thing wrong happen to server with bootable CD. any image command which took .
i know some thing like dd in Linux.
dhiren shah
|
|
|
07-22-2010, 11:01 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
If the server is mission critical you can clone the hard disk with CentOS inside. Anything goes wrong you simpy swap the disk. The clone needs either exactly the same size of just larger.
If the source is sda (or hda) and the target is sdb (or hdb, the one to be written on) the cloning is just
Code:
dd if=/dev/sda of=/dev/sdb bs=32256
The parameter bs=32256 can be omitted but each record will be defaulted to 512 bytes. 32256 is 63 sectors x 512 bytes or a complete track.
To put it on an image you need to run an operating system to restore it.
Last edited by saikee; 07-22-2010 at 11:03 AM.
|
|
|
07-22-2010, 11:02 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,149
|
Quote:
Originally Posted by dhirendrs
hi
i am using Linux type Centos sever which have some configuration every time if i have any problem i have to reinstall is any thing which i can put it as image of the server and restore it if any thing wrong happen to server with bootable CD any image command which took
i know some thing like dd in Linux.
dhiren shah
|
Your post is hard to read without capital letters and punctuation.
Are you saying that every time you have ANY problems with your server, the only thing you do is reinstall it?? And what do you mean by "some configuration"??
If you searched on LQ, or on Google, you'd find lots of references to how to create recovery disks. DD is one option, but you can also use mkcdrec, mondoarchive, and systemimager.
|
|
|
07-22-2010, 11:11 AM
|
#4
|
Member
Registered: Nov 2009
Posts: 45
Original Poster
Rep:
|
still it is not clear for me
Quote:
Originally Posted by TB0ne
Your post is hard to read without capital letters and punctuation.
Are you saying that every time you have ANY problems with your server, the only thing you do is reinstall it?? And what do you mean by "some configuration"??
If you searched on LQ, or on Google, you'd find lots of references to how to create recovery disks. DD is one option, but you can also use mkcdrec, mondoarchive, and systemimager.
|
can u tell me the steps 1 2 3....
dhiren
|
|
|
07-22-2010, 02:46 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,149
|
Quote:
Originally Posted by dhirendrs
can u tell me the steps 1 2 3....
dhiren
|
Can YOU spell out your words, write clearly, and show some effort on your part???
I gave you the names of three packages, which do what you want. Look them up, read the documentation. Search the threads on this VERY SITE, which will tell you more.
|
|
|
07-22-2010, 04:00 PM
|
#6
|
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Rep:
|
I echo TB0ne sentiment here.
Although I have offered my advice generically it would be better for the OP to do some work himself/herself in order to get the real benefit of any advice.
|
|
|
07-22-2010, 08:20 PM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,149
|
Quote:
Originally Posted by saikee
I echo TB0ne sentiment here.
Although I have offered my advice generically it would be better for the OP to do some work himself/herself in order to get the real benefit of any advice.
|
Thanks, but it goes further than that.
Does the OP honestly expect people here to type out the exact sets of directions/notes/etc., for three different software packages, and tailor those notes to their installation?? No, sorry....pointed the OP in the right direction, gave options...time for the OP to do some reading.
Far different if the post is "I'm getting error XXXXX using Distro yy.zz, anyone have ideas?"
|
|
|
All times are GMT -5. The time now is 10:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|