Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-17-2008, 09:42 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 13

Rep: Reputation: 0
Question Single CD to perform multiple NFS installs

Hello all,

I am very new to linux but slowly getting there.

I work in a testing lab where we are constantly doing NFS installs of RHEL and SLES. Because of this repetition I have been playing with Kickstart files and have a working template that will suite my needs in most cases.

In the case of redhat, we install many different versions from rh3 to 5 and both 32 and 64 bit.

Early on I discovered that you can not just boot to say a 32bit rhu1x32 cd and perform say a 64bit install on a 64bit machine. The boot cd appears to be tied to what version of os you are about to install.

So for example if I boot off of a 32bit version and try to do a 64bit nfs install of even the same build of RH I get an error like:

"The red hat enterprise linux server installation tree in that directory does not seem to match your boot media"

I am trying to find a way to create 1 unified red hat cd with some common kickstart files on it that can be used no matter what os version I need to install. Does anyone know of a way to accomplish this?
Old 01-18-2008, 08:23 PM   #2
LQ Newbie
Registered: Nov 2007
Posts: 22

Rep: Reputation: 15
what about a PXE network boot setup?

I haven't tried a unified CD, but I can suggest what works here. We've set up a series of install kernel/initrd images that are served via PXE. A target machine boots to the network and the relevant pxelinux bootloader presents a set of choices. It's a bit of effort to get the pxelinux configuration correct and the tftp setup right, but if you've already had some success with NFS installs and kickstart it sounds like this isn't out of the realm of your capabilities. If dealing with machines that won't boot from the NIC, you can still go this route via floppy or CD to get the process started and still use pxelinux to load from the network.

The best thing is that it's almost trivial to add a new option - download the new options's ISO(s) to its own (NFS-exported) directory. Mount the ISO as a loop device and copy the kernel and initrd from the ISO image to unique names in the tftpboot directory. Update the pxelinux config to offer the new option and you're done. PXE boot the target machine and you're off.

You might be able to do something similar with CDs and the isolinux boot loader. It's outside my experience, but the concept would be the same - collect the relevant kernel and initrd files (renamed uniquely of course) from various distributions into a unified ISO of the same form, maybe a simple as copying into a filesystem built from one of the ISOs and rebuilding the ISO. You would have to make menu selection additions to the isolinux configuration to offer the added kernel/initrd options.

Kickstart files can be referenced via the kernel boot arguments either route (i.e. either NFS or local CD.)


cd, install, nfs

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
how do i use bash to perform an operation on multiple files Brynn Linux - Newbie 6 07-24-2006 06:02 AM
How to perform an action (a command) on multiple files with the FOR loop? chun-mee Programming 4 08-23-2005 03:11 AM
Multiple installs Katsukhan Linux - Newbie 6 04-27-2004 12:20 PM
Multiple Installs of RH 9 tacobill Red Hat 2 10-05-2003 02:36 PM
Multiple machine installs SamuelB Linux - General 3 08-20-2003 06:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration