LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-01-2006, 05:30 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
servyer image


I'm trying to make an image of a server to replicate it in another computer. Does anyone know how am I going to do this? Should I just make ISO & burn the directories (/var, /root/ etc.) in DVD and dump it in the new server? Is there any tool that can make life a bit easier?
 
Old 08-01-2006, 11:08 PM   #2
cs.cracker
LQ Newbie
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 22

Rep: Reputation: 15
First off, unless the servers have the exact same hardware this is a bad idea. If you still want to do it, I'd recommend you connect the new server's hard drive to the old server, and do something like this:

Code:
dd if=/dev/hda of=/dev/hdb
It will be relatively fast, and will be a perfect 1:1 copy. If connecting the new hard drive in the old computer is not feasible, you can make an image file like this:

Code:
dd if=/dev/hda of=/image
Transfer the file to a computer with the new hard drive in it, and

Code:
dd if=/image of=/dev/hda

Last edited by cs.cracker; 08-01-2006 at 11:11 PM.
 
Old 08-18-2006, 07:30 PM   #3
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
I tried

Code:
dd if=/dev/hda of=/image
but it goes in an infinite loop until the disk fills up.

I also tried tar gzip the drive ( / ) and then extract it in the new disk but that doesn't work. Is there any other way I can get an image of the disk?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resize filesystem (image file)? how to truncate the image? nikov3 Linux - General 4 06-27-2006 03:02 AM
difference netween linux-image and kernel image? mariogarcia Linux - Software 2 06-19-2006 08:01 AM
Image Viewer Can't View Image Files. klownska Linux - Software 1 02-27-2006 02:26 AM
Kernel-image renamed to linux-image? powadha Debian 2 08-02-2005 05:07 AM
Best image viewer for very large image files? andvaranaut Linux - Software 1 02-21-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration