| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-18-2006, 03:11 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2006
Distribution: RHEL, Fedora
Posts: 11
Rep:
|
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.
|
|
|
|
08-18-2006, 03:41 PM
|
#2
|
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
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
|
|
|
|
08-18-2006, 05:35 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2006
Distribution: RHEL, Fedora
Posts: 11
Original Poster
Rep:
|
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
|
|
|
|
08-18-2006, 10:28 PM
|
#4
|
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:57 PM.
|
|
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
|
|