LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-23-2006, 05:21 PM   #1
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
Single Image creation to Install on all PC's


Hello, I am looking to create a single base image of a distro such as Fedora or Debian with all software updates and patches along with all packages necessary. I then want to clone that base image created to other Servers so we can all be on the same distro with the same packages and customizations. Is this possible? Will I recieve a kernel panic if I just use Ghost 4 Unix to create disk clones and place it into machines with different hardware?

Thanks
 
Old 11-23-2006, 06:59 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
my suggestion would be to designate one computer to act as an X client, and have any other computers you need network as X servers (the client-server names are reversed for X networking ).

This takes a bit of work, but IMO it's the easiest way to do a network of computers with identical setups. Keep in mind though, should that server encounter an error, EVERYONE will encounter that error.

Another upside to this, though, is that you only have to make a change once, instead of making the same change across an entire network of machines.
 
Old 11-23-2006, 07:19 PM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
Cloning an installed OS to machines with different hardware from the original may be problematic. The only thing to do it try it I suppose. Ultimately I think it must depend on how different the machines are.

If you have different sized drives in the new machines, make sure your image is small enough to fit on the smallest of them. I would imagine that afterwards you can expand the partitions to fill the devices, but I'm not sure. It probably depends on which filesystem type you are using etc.

Be aware there will be some things you will have to re-configure after the image has been loaded onto the new machines - hostname, statically configured IP addresses etc. I don't have a definitive list to hand.
 
Old 11-23-2006, 07:29 PM   #4
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
indienick

Hi! Thanks for the reply, this won't work however, since the machines will mainly be mail servers. I have just taken over a job and we have a large variety of Linux mail servers running all different versions of Fedora and Red Hat at different client locations. My goal is to get all the servers on a single version of Redhat with the same security, mail, and web tweaks without having to manually configure each server. Editing small configurations such as IP addresses and hostnames won't be an issue. The goal is to have a single image where I can run the same patch management tools and test in.

Last edited by keysorsoze; 11-23-2006 at 07:32 PM.
 
Old 11-23-2006, 09:18 PM   #5
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
keysorsoze

Gotcha. Well, I'm not sure if this is the case with the RedHat installer you'll be using, but with the Mandriva/Mandrake installers, they allow you to save package lists in a .pl file, which stores all installed packages in a Perl list (or hash - I can't remember offhand), so, my second suggestion would be, if your RedHat installer has that feature, save the package list to a flash drive, disk, or CD, and load that package list for every install, and then tweak away to your heart's content.
 
Old 11-23-2006, 10:55 PM   #6
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
Indienick

I think I could use a kickstart file for the packages in Redhat simplifying the task of installing packages. Then I could probably just copy the configs from the master image over to the other clones. I'm gonna give it a shot.

Thanks for the help.
 
Old 11-23-2006, 11:05 PM   #7
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
keysorsoze

Anytime, anytime.



Let me know if it works 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About FC5 ISO image creation mahabooba Fedora 1 09-27-2006 08:34 PM
Regarding Creation of Bootable ISO of hard disk image having multiple partitions.. nagamohan_p Programming 1 08-25-2006 09:11 AM
PHP image-creation while loop taking forever benrose111488 Programming 9 07-09-2005 07:04 PM
lp with image file creation/editing pleaseee linuCs Linux - Newbie 1 09-06-2004 01:07 AM
eroaster image creation never start Half_Elf Linux - Software 6 08-08-2002 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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