LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-23-2009, 09:15 AM   #1
johnson8707
LQ Newbie
 
Registered: Oct 2008
Posts: 12

Rep: Reputation: 0
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!!!!!!!
 
Old 03-23-2009, 09:28 AM   #2
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
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 09:31 AM.
 
Old 03-23-2009, 09:46 AM   #3
reptiler
Member
 
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184

Rep: Reputation: 42
I used PartImage to create images a couple of times and was quite happy with it.
 
Old 03-23-2009, 09:54 AM   #4
johnson8707
LQ Newbie
 
Registered: Oct 2008
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 03-23-2009, 10:26 AM   #5
phugoid
LQ Newbie
 
Registered: Mar 2006
Location: Dubai, United Arab Emirates
Distribution: Suse 10.0
Posts: 14

Rep: Reputation: 0
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 10:27 AM.
 
Old 03-23-2009, 10:32 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
clonezilla - Open Source - Complete solution..

Acronis True image - Commercial Solution
 
  


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
Hardrive image of linux/windows machine bob3dan Fedora 2 03-03-2007 07:23 AM
Move image to another machine patrick2099 Linux - General 5 12-07-2006 12:26 PM
difference netween linux-image and kernel image? mariogarcia Linux - Software 2 06-19-2006 09:01 AM
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 02:25 AM
Can I burn disk image to a cd using my ibook and use it on a windows/linux machine? markhod Linux - General 1 03-15-2005 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 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