Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
OK, I've searched for this but couldn't find it specifically. This is not your typical "What's like Ghost, but free?" question. In this case, I don't mind if it cost money. I have a disk clone question but not related to disaster recovery.
I come from an all Windows world where the tools and procedures to clone desktop PC's are rather mature. If you want to cookie-cut a Windows XP installation for a company, you load Windows with your Corporate license, load all your apps and tweak it to your liking. Copying it to another identical PC involves:
* Ghosting it to another PC, or Acronis, or Drive Image, etc.
* Changing the SID
* Change the name of the PC
* Add to NT Domain/ADS
* Add appropriate user(s) to Administrator group if needed.
I'm still a Linux newbie, but I wanted to know what is the equivalent in the Linux world? Is there anything obtuse like the registry in Linux? Or is everything file based like the good 'ol DOS/Win3.1 days I loved so much? And if so, what files need to be edited and changed between identical hardware installations to differentiate them enough like the "SID/Name" change for Windows? Lastly, any tools for these procedures?
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
well if the disks are identical you can just use dd to make an exact copy it's a basic unix tool and should be in any linux distro. no registry all the configs are in text files if the computers are identical you should only have to change the hostname and ip
For ghosting there is ghost for unix (g4u) http://www.feyrer.de/g4u/ but depending on what distribution you use it may be easier to use kickstart (redhat, fedora, suse all do stuff like this) which will do an installation over the network via pxe boot.
All configuration is file based and the configuration files for nearly everything on your system are under the /etc/ directory.
You will need to regenerate your ssh keys and whatever other fingerprint keys your system might have on there. The hostname should be changed and network information if you are using static ip addresses should be changed.
clone using a terminal or xterm (like bash), but since you cannot clone a running system (too much in flux) you'd need to boot with a live cd. at the terminal run [partimage] and it'll run you through a simple quasi-graphical program.
then you'd re-run that program on a new computer and, using the live cd, install a bootloader.
The "dos" filesystem... no. Its a UNiX-type fs *layout*, but yes, most settings are config file based. You'll still need to do this:
* Change the SID
* Change the name of the PC
* Add to NT Domain/ADS
Making said changes depends, somewhat, on your distribution of choice. Most have a GUI tool (graphical user interface) but some need to be done via the terminal (command line) (all can prob be done via command line, but each "branch" (i.e. Red Hat vs Debian vs Gobo vs etc) may be a bit different; GUI tools are usually easier. I'd post that question in the specific distro if you cannot find GUI tools).
This last one:
* Add appropriate user(s) to Administrator group if needed
is a bit different. Linux has a "root" user, i.e. Admin, but it has power to do EVERYTHING so you do NOT want to give that password/rights to really ANYONE but the system maintainer(s). You can make diff groups and give rights to file access/prog execution to those groups, but do NOT make them a part of the Root group!
oops. Run [partimage] and then save the file to a disk/cd (might need to boot back into the regular install to do so). Then, using the live cd AND THE DISK WITH THE FILE THAT YOU CREATED AND COPIED, rerun [partimage] and use that prog to install the image.
An image can be created of any partition, not just the install partition, but that is what you were asking about.