LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 03-02-2008, 11:15 AM   #1
VG1
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Question Error creating RHEL5 cdrom for 64 bit machine


The aim of my task is to eventually create a customized minimum red hat installation (only base/core packages)


I have downloaded the RHEL 5 distribution for 64 bit amd/x86 machines and I have copied off all the data from the CDs onto my local harddrive (a 32 bit RHEL 4) machine. I run the mkisofs command to create a bootable iso with CD1 contents in it.

When I burn this CD and try to install on the target machine, after the first couple of steps (Language, keyboard) I get a prompt saying : "What type of media contains the packages to be installed?" with a list of possible media types.
I select CD ROM and the next screen gives me the following error message :
"The Red Hat Enterprise Linux Server CD was not found in any of your CDROM drives. Please insert the Red Hat Enterprise Linux Server CD and press OK to retry."

At install time the other consoles show the following messages :
"starting to STEP_URL
trying to mount CD device hdc
ejecting /tmp/cdrom..."

and
"<7>ISO 9660 Extensions: Microsoft Joliet Level 3 <4>Unable to load NLS charset utf8 <4>Unable to load NLS charset utf8 <7>ISO 9660 Extensions: RRIP_1991A"

Questions :
1. What causes this error?
2. Must I perform the packaging on an environment identical to the target machine? (i.e. a 64 bit RHEL5 env, as opposed to a 32bit one? - tried it, doesnt work)
3. The distro is currently copied to directories like CD1, CD2 etc. When I use mkisofs, do I need to have the files under a particular name (like it used to be i386 for older RHEL versions)?
4. Since RHEL5 has a completely different directory structure etc (such as Server/*rpms, no base dir, no RPMS dir, no hdlist* files), what is actually required to create my own iso? Can I just package the CD1 like that? Do I have to perform any further steps?
 
Old 03-04-2008, 08:14 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Why???? This is already possible from the media without any changes. One just has to un-slect everything, if done correctly then only the first CD (or ISO image) is needed. After the first time then one can use the anaconda.ks.cfg file for additional installations.

For a reference see: http://wiki.centos.org/FAQ/CentOS5#q1
 
Old 11-24-2008, 10:36 AM   #3
jnojr
Member
 
Registered: Sep 2007
Location: San Diego, CA
Posts: 175

Rep: Reputation: 15
Quote:
Originally Posted by VG1 View Post
"The Red Hat Enterprise Linux Server CD was not found in any of your CDROM drives. Please insert the Red Hat Enterprise Linux Server CD and press OK to retry."

At install time the other consoles show the following messages :
"starting to STEP_URL
trying to mount CD device hdc
ejecting /tmp/cdrom..."
I'm having the same problem.

When I ran into this with RHEL4, the answer turned out to be the options I was calling mkisofs with. But the correct, working options for RHEL4 aren't helping me here.

What is the secret to creating a customized RHEL5 CD/DVD?
 
Old 11-12-2009, 02:09 PM   #4
VG1
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Missing .discinfo file

This error was because I was missing the .discinfo file in the base directory. This is what anaconda looks for to determine that the CD is a valid Red Hat install CD. Once I put this in, the installation went through fine.

Lenard, I was trying to create a custom installer that installed basic Red Hat and then went ahead and installed our company software on it. It had to be an automated installation so that our boxes could be mass installed with it in production.
 
Old 01-26-2010, 05:26 AM   #5
noshir
LQ Newbie
 
Registered: Aug 2007
Location: tel aviv - israel
Distribution: zplinux, ubuntu, zenwalk, centos
Posts: 2

Rep: Reputation: 0
thank you it was my problem now.
 
Old 04-15-2010, 09:36 AM   #6
ghurlag
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
I was having the same issue, and the .discinfo file was indeed NOT in the root directory. I recreated an image with this file and was able to successfully load a system with a kickstart file on this new image.
 
Old 04-13-2011, 06:58 PM   #7
ChillyFlyer
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Thumbs up You Da Man!

Thank you, Thank you, Thank you!!! I've been working on this issue for 3 days and I finally found the answer after many Googles... That'll teach me not to come to this site first!
 
  


Reply

Tags
customize, installation, rhel5


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
64 bit - RHEL5 BRaider Red Hat 15 02-04-2010 08:32 AM
mount cdrom in RHEL5 ust Linux - Software 4 11-13-2009 12:38 PM
how do I install 32-bit compiler libraries onto a 64-bit machine? charleycat Linux - Software 1 08-16-2007 01:45 PM
Acrobat Reader 7.0.9, error on 64 bit machine lawrence_lee_lee Linux - Software 2 06-19-2007 05:33 AM
useradd:'invalid user name' error when creating a machine account on RedHat Linux ES4 santosh0805 Linux - General 1 07-12-2005 08:39 AM


All times are GMT -5. The time now is 01:32 AM.

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