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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-23-2009, 08:15 AM
|
#1
|
LQ Newbie
Registered: Oct 2008
Posts: 12
Rep:
|
Does anyone know how to image a Linux machine???
So I think I've seen every page on the internet trying to solve this problem. (or at least it feels that way ;-)
I'm creating a Ubuntu/Xubuntu network of computers. My 2 image machines (1 for Ubuntu, 1 for Xubuntu) are both using ext3 filesystems, with 2 partitions (HDA0 = Swap, HDA1 = Linux) with varying size hard drives.
I would like to make an image I can push onto other machines. I would prefer it to be an all-in-one program, but we all know how that goes.
DOES ANYONE KNOW OF A PROGRAM THAT DOES THIS? I don't need anything extravagant. Just to do the job.
THANKS!!!!!!!
|
|
|
03-23-2009, 08:28 AM
|
#2
|
Member
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548
Rep:
|
We've used Disk Image to image our Red Hat servers. Imaged and restored servers. You must use the same basic hardware for this to work, but I believe that is the case with all the imaging software.
Here is a link to there website: http://www.disk-image.net/
Edit to add:
After using Disk Image and realizing that we had many variations of Dell hardware, we opted for using scripted Kick Start network installs.
Last edited by DotHQ; 03-23-2009 at 08:31 AM.
|
|
|
03-23-2009, 08:46 AM
|
#3
|
Member
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184
Rep:
|
I used PartImage to create images a couple of times and was quite happy with it.
|
|
|
03-23-2009, 08:54 AM
|
#4
|
LQ Newbie
Registered: Oct 2008
Posts: 12
Original Poster
Rep:
|
I've used PartImage with no great sucess. I might be using something. Do you have any HowTo or walkthrough for it?
And the disk-image you mention looks good. But the problem is with budget cuts I can't purchase anything. :/ We have altiris, but apparently we need Symantec Ghost to be able to image linux. Which OF COURSE, costs.
Sorry, should've added in the original that I need something free. 
|
|
|
03-23-2009, 09:26 AM
|
#5
|
LQ Newbie
Registered: Mar 2006
Location: Dubai, United Arab Emirates
Distribution: Suse 10.0
Posts: 14
Rep:
|
Doing it the "hard" way
At work I deal with one system that has about 70 PCs, all running the same image. They boot up and look at their own MAC address to figure out what to do, pretty neat.
It was put together by some top dogs, and here are some ideas about how they set it up:
Backup (put tarball of image on remote drive)
tar -C / --exclude=./proc --exclude=./sys --one-file-system -czf - . boot | | ssh user@repository_server cat > /pathto/image.tar.gz
Restore (boot Knoppix and set your IP address first)
First they wiped out the MBR, set up partitions using parted and mounted them.
ssh user@repository_server "cat /pathto/image.tar.gz" | tar -C /mnt -xzf -
Then they used grub-install to sort out the bootloader.
This isn't a recipe that you can apply without some tweaking and testing, but it's an incredible demo of the power of shell scripting.
Last edited by phugoid; 03-23-2009 at 09:27 AM.
|
|
|
03-23-2009, 09:32 AM
|
#6
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
clonezilla - Open Source - Complete solution..
Acronis True image - Commercial Solution
|
|
|
All times are GMT -5. The time now is 06:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|