LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-18-2006, 04:11 PM   #1
knarfling
LQ Newbie
 
Registered: Aug 2006
Distribution: RHEL, Fedora
Posts: 11

Rep: Reputation: 1
Unhappy Creating a custom ISO using RHEL4


I hope that I am posting this to the right forum.

My company is doing a large project in which up to 30 different servers need to be installed. Each will be almost identical, and all will need to be built quickly. For a variety of reasons, RHEL4 was chosen as the Distribution to use.

Naturally, I thought of kickstart as an easy way to standardize and speed up the installation process. Unfortunately, kickstart is not a friendly process.

First, I wanted to eliminate the switching of CD's. That gives me a couple of options. Right now, a network installation is not an option. (Political reasons) My first thought was to use a USB key. After a big mixup with a U3 usbkey that the server would not recognize, I finally found out that the USB has to emulate a harddrive install. But a hard drive install will not let you choose which RPMs to install onto the USB. You have to copy the entire ISO from the CD. So if you need one rpm from CD 3, you have to copy the entire 600Mg ISO. Since right now I only have access to 512Mg USB, the hard drive/USB install is out.

That leaves me with custom ISO from CD. Following some instructions I found on the web, I was able to build a custom iso what all the packages I need (and some more that are installed by default but that I don't think that I need.) My problem is that as soon as the install image is copied to the server, the installation aborts with the message, "Install exited abnormally" with no further information as to why.

Does anyone have any ideas what I could do to troubleshoot this kind of problem?

Thanx in advance.
 
Old 08-18-2006, 04:41 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Your best option is kickstart. I've installed tons of hosts at the same time in this way. Kickstart easy to understand once you get the concept.

What you'll have to do is copy all RHEL4 CD's to a folder such as /var/ftp/RHEL4. Then start nfs and ftp services. nfs will allow you to mount and run the kickstart file and ftp, which is a little faster, will download the RPM's during the install.

You will need to create your own ks.cfg file with the desired packages and options and select it as an option during the CD boot install of all of your 30 hosts. Of course the hsots will need a CDROM drive and a compatible network card. A kickstart install is the fastest install of all, not only because a network install is faster than CD but also because you can modify all install options with the pressing of one key.

Let me know if you need further help.

Ram
 
Old 08-18-2006, 06:35 PM   #3
knarfling
LQ Newbie
 
Registered: Aug 2006
Distribution: RHEL, Fedora
Posts: 11

Original Poster
Rep: Reputation: 1
Perhaps I was not clear on a couple of things. Yes, I am trying to do a kickstart installation. However, nfs and ftp are not an option for me. Despite my assurances, management has heard that both are possible security holes and those ports are being blocked at the firewall even for the internal network. For other reasons, static IPs are used. We do not have a DHCP server. I would need to create one just for the network install. Much as I would like to do a network install, I cannot.

I have built a ks.cfg file, but I cannot seem to access it. I tried placing it on a USB key and accessing it with ks=hd:/dev/sdc1:/ks.cfg (and placing ks.cfg in the root of the key), but it does not seem to work. (/dev/sdc1 is the usb. I have verfied this several times.)

If I could get the ks file to be access even if I have to switch cd's in the middle, that would be an improvement. But I cannot seem to access the kickstart file. Or if it is being accessed, something must be wrong with it because it never seems to work.

Knarfling
 
Old 08-18-2006, 11:28 PM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I would recommend to put all the 30 computers in their separate network, even if it's temporary. You can make the first computer the installation host that serves, dhcp, nfs, ftp and kickstart. Do all 30 installs then integrate them onto the company network afterward.

The USB drive most probably not work unless you load the module first. You can also include the modules if you built your own custom built init ram disk and then you'll be able to kickstart off the usb thumbstick. I still think doing it over the network is the best alternative. If you don't have permission from the admins you can still do it by creating you own temporary network or using a laptop.
 
  


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
New install of RHEL4 isn't creating /dev/sg* drivers for tape library linux4dave Linux - Hardware 2 03-24-2008 03:32 PM
Creating DVD ISO from CD ISO subhranath Suse/Novell 3 01-18-2006 03:37 AM
Creating a custom process id cbutcher Linux - General 2 04-29-2005 07:59 AM
creating custom locale jinujose Linux - General 1 10-21-2003 01:50 AM
Custom ISO Jay_highlands Slackware 1 10-18-2003 06:37 PM


All times are GMT -5. The time now is 10:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration