LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-24-2011, 07:23 AM   #1
bradvan
Member
 
Registered: Mar 2009
Posts: 367

Rep: Reputation: 61
Possible to have kickstart support two versions of the same OS?


I currently have a kickstart server working with RHEL 5.5. I wanted to add a RHEL 6 installation. So, I added a RHEL6 directory to my NFS share and put the contents of the dvd in it. I also added a RHEL6 directory to my tftp directory and put the initrd.img and vmlinuz from RHEL6 in it. I put in the ks.cfg: nfs --server 10.0.1.1 --dir /kick (where /kick is the nfs exported directory). In my pxelinux.cfg directory, I created a file corresponding to the ip address and put in:
Code:
default RHEL6

label RHEL6
   kernel RHEL6/vmlinuz
   append initrd=RHEL6/initrd.img ramdisk_size=9690 ks=nfs:10.0.1.1:/kick/kickstart/my_rhel6 ksdevice=eth0
I then added an entry to the dhcpd.conf file for that host and restarted the dhcp daemon. The boot starts working up until it tries to read the dvd contents. At that point it complains about not being able to find a server installation tree.

So, I'm trying to figure out what happened. I did not change my nfs shared /kick/images directory. I did not change pxelinux.0 in the tftp directory. I figured the server was just using those to boot and the actual configuration would come when it started reading the kickstart file.

Any ideas what I could be missing?

Thanks!
 
Old 05-24-2011, 03:27 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it's certainly possible. If you can't find the kickstart tree then I would intially be given to assume there was a path issue, or maybe rights. You deal with a lot of relative paths, so it can be tricky working out the context of the paths all the time, be they tftp relative paths or ks root paths.

Personally I'd suggest you manage the whole thing better using Cobbler or Foreman, and server the tree over http too. But none of that is going to be essential. You'll definitely be able to make it work as is. Maybe look at wireshark to clarify what nfs requests are actually being made from within the network traffic and match that to the file system?
 
1 members found this post helpful.
Old 05-25-2011, 05:37 AM   #3
bradvan
Member
 
Registered: Mar 2009
Posts: 367

Original Poster
Rep: Reputation: 61
Thanks Chris,

I'll have to try looking at the packets. After it says it can't find the installation tree, the next window has the correct ip address for the server and the correct path to the nfs share of the RHEL 6 dvd. So, at first glance, I don't see what it is complaining about. I'm working with Red Hat support, so hopefully we'll get this figured out.

Thanks!
 
  


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
kickstart with mpath support thespaceman Red Hat 0 07-30-2010 04:31 PM
Skype versions and webcam support in CURRENT kris108 Slackware 7 05-02-2010 05:56 AM
question about support for ubuntu versions reeseslover531 Ubuntu 1 05-13-2007 03:19 PM
kernel-2.6.9 and higher versions Support for Oracle sailu_mvn Linux - Software 8 02-23-2006 03:26 AM
Precisely what versions support HPT374? BigMadDrongo Slackware 0 06-23-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:20 AM.

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