LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-25-2006, 06:10 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
Cloning Linux System from PC->PC


Hi ..
I just finished setting up a debian router the way I want it to be. I have to create another 3 routers with the same setup and hardware. Is there any software available that aids me cloning the debian system from the installed PC. To the other PCs ?

Thx for any suggestions
 
Old 07-25-2006, 06:27 AM   #2
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142

Rep: Reputation: 15
Try G4L - which I find really useful. Ghosting drives or partitions really easily.
 
Old 07-25-2006, 05:10 PM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
You can simply copy the contents from one drive to another. Read the manual page for details of how to copy whilst retaining ownership and permissions, and do it from a Live CD so you don't run into issues with stale lock files.

Once the copy is done install a bootloader on the newly made system drive and it's ready to go.

If the drives are identical you could use dd to copy the entire hard drive accross including partition layout info and the master boot record. However it will copy the empty space over aswell so it may take longer if you have a big drive
 
Old 07-26-2006, 08:28 AM   #4
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Thanks for the info I will try both suggestions and post my results
 
Old 07-26-2006, 05:09 PM   #5
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Or you can tar cvpjf backup.tar.bz2 /
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cloning (somewhat) my lfs system DropSig Linux From Scratch 2 02-11-2006 10:23 PM
disk/system cloning Sharaz Linux - General 2 12-28-2005 03:11 PM
cloning both partitions, dual boot system, master boot record, logical volume manager saranga2000 Linux - Hardware 3 01-10-2005 11:04 AM
cloning system image gag Linux - Newbie 1 11-24-2003 01:24 PM
cloning a harddisk on Linux gsbarry Linux - Software 17 04-24-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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