LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-23-2014, 08:57 PM   #1
rstuff
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
How to clone OS from one PC to another PC.


I would like to clone a pc running LMDE Mate to another pc. Can I do this with an external hard drive or wifi? Clonezilla keeps popping up but I have never used it. Thank you.
 
Old 03-24-2014, 03:29 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,234

Rep: Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765
External HD and Clonezilla. If you've never used it then now is the time to learn
 
Old 03-24-2014, 04:08 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,400

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Or with udpcast you can clone partitions/disks over the network.

Last edited by descendant_command; 03-24-2014 at 04:09 AM.
 
Old 03-24-2014, 04:19 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,234

Rep: Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765Reputation: 765
Quote:
Originally Posted by descendant_command View Post
Or with udpcast you can clone partitions/disks over the network.
I'd still be keeping a copy on the external HD as a backup
 
Old 03-24-2014, 05:40 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,245

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
See also MondoRescue http://www.mondorescue.org/.

Note that any time you literally clone a system, you'll need identical HW or you may face HW driver issues.
 
1 members found this post helpful.
Old 03-24-2014, 06:34 AM   #6
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,400

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Quote:
Originally Posted by chrism01 View Post
See also MondoRescue http://www.mondorescue.org/.

Note that any time you literally clone a system, you'll need identical HW or you may face HW driver issues.
Like?

If you have proprietary drivers installed, or are using a specifically tailored kernel there could be some issues to address.

In most cases, no problem at all.

I normally just delete the /etc/udev/rules.d/70-persistent-net.rules so that the network interface remains eth0 (rather than creating a new eth1 etc) and change the hostname and ip if appropriate.
 
Old 03-24-2014, 07:45 AM   #7
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 1,027

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
I use dd, clonzilla has never cloned the boot partition for me and won't clone to a smaller drive.
 
Old 03-24-2014, 08:01 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,079
Blog Entries: 3

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
if you have room on your drives or new drives and like to keep all the permissions I use "mksquashfs" and squash the drive. on my machine I have different systems built to build certain programs they are heavily modified . like on my from my mother OS I call it. I have a system set up on sda3 it is mounted at /mnt/sda3

so I just make as root cd /mnt/ and mksquashfs sda3/ sda3.sfs now I have a complete copy of my system copy it to a usb thumb drive and put it on any formatted
partition . and then I keep a copy of slackware current with multi lib and all the media programs built. it is 2.9 gigs.
nice thing is you can always mount that squasfs file system if you want.
so now just drop it on the other hard drive. Then unsquashfs sda3.sfs . and set your /etc/fstab file for the new computer or drive and make sure your boot loader is in sync with your /etc/fstab.

if you don't have room on the same drive. you can always put it on another drive. will use the /mnt location for ease. I usually use puppy linux to do this or mother OS
you want to clone the sda3 to sdb1 then cd /mnt mkdir sdb1

then $ mount /dev/sdb1 /mnt/sdb1 mksquashs sda3 /mnt/sdb1/sda3bkup.sfs Then unsquashfs /mnt/sdb1/sda3bkup.sfs then mv /mnt/sdb1/unsquashfs/* /mnt/sdb1/

If you only have one system then boot puppy Linux and do it while you are running in ram.

Last edited by Drakeo; 03-24-2014 at 01:59 PM.
 
Old 03-24-2014, 05:07 PM   #9
rstuff
Member
 
Registered: Jul 2011
Posts: 113

Original Poster
Rep: Reputation: Disabled
Thank you

Thanks for the help. I do have different hardware and drivers. On top of that I seem to have lost about 150 Gb somewhere.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 clone ? vibinlakshman Linux - Newbie 9 08-26-2009 06:43 PM
I would like to clone my OS strangerklone Linux - Newbie 5 06-08-2009 09:44 PM
I need to Clone a Red Hat drive and install clone in HP server drummer54 Linux - Newbie 14 03-07-2009 05:15 PM
How to clone a PC sathiyadev Linux - Newbie 3 01-05-2009 08:36 AM
bugzilla: to clone, or not to clone? The00Dustin Linux - Newbie 1 05-24-2008 06:19 AM


All times are GMT -5. The time now is 10:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration