LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-17-2017, 08:53 AM   #1
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 98

Rep: Reputation: Disabled
Cloning OS disk


Hi

I've the same question as in this thread https://www.linuxquestions.org/quest...9/#post3505787

How to find all the files to edit in order to be able to run a clone of an existing OS on the same machine assuming we keep the original OS without any changes in it ?

mrrangerman didn't answered this question but an other one...

Last edited by rtmistler; 09-18-2017 at 08:53 AM. Reason: Add link to original question
 
Old 09-17-2017, 09:48 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by dezix View Post
Hi

I've the same question :

How to find all the files to edit in order to be able to run a clone of an existing OS on the same machine assuming we keep the original OS without any changes in it ?

mrrangerman didn't answered this question but an other one...
This thread is at least SEVEN YEARS old, you should start your own thread for your own question, as this can confuse the original question/answer.

Post reported.

Last edited by jsbjsb001; 09-17-2017 at 09:50 AM. Reason: typo
 
Old 09-17-2017, 10:38 AM   #3
dezix
Member
 
Registered: Sep 2017
Location: Frog's Land
Distribution: Debian
Posts: 98

Original Poster
Rep: Reputation: Disabled
@jsbjsb001

Ok !

... but the primary Q? never been answered and this can confuse me and others looking for answer.

In a "newbie" forum
it would be even better delete this no-use thread dealing with dd command
the well known as Data Destroyer
 
Old 09-17-2017, 10:41 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by dezix View Post
@jsbjsb001

Ok !

... but the primary Q? never been answered and this can confuse me and others looking for answer.

In a "newbie" forum
it would be even better delete this no-use thread dealing with dd command
the well known as Data Destroyer
This has already been reported, if you want help, start a NEW thread.
 
Old 09-18-2017, 07:12 AM   #5
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
The simple answer is do not use the OS on the disk to clone it.
Boot from a stand-alone OS on a different drive.
 
Old 09-18-2017, 07:46 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,788
Blog Entries: 13

Rep: Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831Reputation: 4831
@dezix in the future, it is best to consider a very old thread like this as a reference and include a link to this thread into a new question.

Old threads are old threads, LQ never deletes them.

If you wish to question LQ's policies on handling of very old threads, then suggest you use the Contact Us link here or at the bottom of every LQ form.

Your continued replies in this thread are probably best served to clarify and help solve your question versus insulting the dd command.

None of: The original question, The first follow up, nor your added new question are very clear.

They seem to say, "I want to make an exact clone, but I want it to be unique. What files do I edit?"

These do not cover any more details about what exact result you wish to attain. There are no files to edit.

Step 1:
Make a clone of your existing OS. This is what mrrangerman has answered, and answered very well.
Are there any further questions as to how to do this step?

Result:
You now have two identical copies of your OS.

If you wish to make the new copy unique in some manner, then:

Step 2:
Boot the clone and edit whichever files you wish to, and now once you've done this, you have a new, unique copy of your original OS, however changed to suit whatever needs you feel make sense, such as host name or other relevant information.

As far as what files to edit, there is no fixed list and it is solely up to the user's choice.

If you modify settings, relevant files should be updated automatically.

For instance if you change the host name, you can do that using the hostname command. This will edit the appropriate system files.

The original poster mentioned editing the fstab. Editing fstab is somewhat a normal thing for a person to do, but only if they choose to do so.

When someone has made an exact duplicate of an OS, the system files will be a duplicate from the original disk.

The question therefore would be what differences the OP or you, dezix, are envisioning to make with your new copy?

Only knowing what customized changes you wish to make, can people advise what next steps to take. And once again, this applies only after you have made your copy of the OS.
 
1 members found this post helpful.
Old 09-18-2017, 03:22 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,705

Rep: Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584Reputation: 3584
Lets get to the simple part of this question.

A clone is an identical copy.
You can copy by one of two ways.
Either a bit by bit copy of the entire drive or
you can copy file by file.
There are maybe 20 or more common ways to do either of those.


To replicate a system is a different matter. There have been some ways to catalogue the unique files and versions and match them to a new install. If that is what you mean then we might be able to figure that out for you.
 
  


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
Disk Cloning Not Working on RAID 1 Solo Disk MtnBikeMike Linux - General 6 12-02-2014 03:48 PM
disk cloning ? hadimotamedi Linux - Newbie 15 02-18-2014 04:54 PM
Disk cloning Diggy Linux - Software 12 01-28-2009 03:44 PM
cloning disk using cp - no special devices for target disk vulture99 Linux - General 6 05-08-2005 05:36 PM
Disk Cloning sts_cat Linux - General 1 03-24-2003 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 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
Open Source Consulting | Domain Registration