LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2006, 09:30 AM   #1
xptchina
LQ Newbie
 
Registered: Mar 2006
Posts: 8

Rep: Reputation: 0
Duplicating / backing up system to other harddisk


I am looking for best way to clone a system. I have well setup Ubuntu6.06 server which I want to clone to several other PCs. The other PCs will have various size harddisks, I can install all the harddisks to be hda.

The target is to have same partitions and LVM2 systems in all PCs.

I could do dd if=/dev/hda of=/dev/sda ( target installed to USB of my source bserver ), but some of the target disks are smaller than the source disk and also using dd is overkill because there is only couple of GB actual data and dd copies whole 250GB disk.

sysresccd might be suitable for the job, but I can not access sysresccd.org website? Also partimage could do the job but can not access that website either? Are they up to date? Systemimager looks good but a little bit too powerfull tool for this. It seems to need own separate server?

How to copy partition structure ( hda hda1 LVM2 etc ) to other disk?
How to copy the boot setup ( MBR, grub setup etc ) to other disk?

If I can get those previous two steps done I can just copy directories and files to the other disks.
 
Old 09-19-2006, 09:38 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I'm not sure about the actual cloning of the disk... With identical drives in all machines it's simple using dd, but with different drive types I don't know.

What I wanted to say was that there will probably be some post-clone configuration to do: don't forget to set up the hostnames, and you may end up with a little weirdness with the network config with unexpected interface names. There was a post a week or two ago which mentioned it. Anyone have a link?
 
Old 09-19-2006, 10:06 AM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
There is commercial software called "Migrate Easy": http://www.acronis.com/homecomputing...s/migrateeasy/

You create a bootable CD that can be used on any PC. The software allows you to resize individual partitions when copying disks and handle different sizes for source and destination disks. I've used it a lot myself. It is designed to ease the process of upgrading a hard disk. Using disk cloning to install linux on multiple PCs is another story though. As the previous poster said, it will cause problems unless hardware is identical on the two machines, because all the existing configuration stuff will be copied.
 
  


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
Duplicating a Linux System Disk rapidly (ie. ghosting a HDD) richearle Linux - General 1 08-02-2006 03:56 AM
Backing up your system? alime Ubuntu 2 05-18-2005 09:06 PM
Backing up for system upgrade ivelgo Fedora 1 12-14-2004 02:37 PM
Backing up the whole system... koyi Linux - General 12 10-07-2003 06:22 AM
Backing Up LFS4 Base System nuxie1 Linux From Scratch 7 11-14-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 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