LinuxQuestions.org
Visit Jeremy's Blog.
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 08-01-2005, 07:49 PM   #1
Xeln
LQ Newbie
 
Registered: Apr 2005
Location: Arizona
Posts: 3

Rep: Reputation: 0
Network Installation using PXE Boot


Hello

I am attempting to do a network installation of Fedora Core 4 without having to use floppies or CD's.

Using a Dell OptiPlex GX520 booting from the NIC. DHCP options are set to point the PXE booting Dell to a TFTP server containing the pxelinux.0 file and the pxelinux.cfg file (see below):

******************* pxelinux.cfg/default **********************
default linux
serial 0,38400n8
label linux
kernel vmlinuz
append ksdevice=eth0 console=tty0 load_ramdisk=1 initrd=initrd.img network noprobe ks=nfs:10.10.10.10:/path/to/ks.cfg

**********************************************************

The system PXE boots, loads the pxelinux.0 file and launches into the setup. At the "Choose a language" screen (the very first screen) where it is supposed to begin answering the prompts using the ks.cfg file (created with the Kickstart Config Utility) it just sits there waiting and I have to do a manual installation.

It seems as though it's not finding the ks.cfg file. So, I started going through the process manually and when I was prompted for the installation type, I selected NFS. Once I did that, I was prompted to select the type of NIC that I was using.

That being the case, I'm figuring that when the Linux setup is launched, it is at that point no longer connected to the network and therefore cannot connect to the NFS server to get the ks.cfg file. If that is true, then how can I specify the type of NIC from the beginning so that it connects and is able to grab the ks.cfg? If I select a driver from the list, the Broadcom Tigon 3 Ethernet driver seems to work just fine. So, is there a way that I can just tell it from the beginning to load that driver and use it to get the ks.cfg and do the unattended install?

So far, the network installation part is working fine and I can PXE boot into setup and go through the installation manually. The only piece I'm missing is getting it to grab and use the Kickstart file.

Another thing...most of the documentation I've seen on setting up DHCP refers to a Linux-based DHCP server. We're using Win2K DHCP server for this, so if there are other options that I need to specify or whatever, please let me know. I have option 66 set as the TFTP server IP and option 67 is the path to the pxelinux.0 file.

I've checked permissions on the all files and directories in question (pxe kernel, kickstart file, base files, etc.) and they're all wide open for the moment to ensure that's not an issue.

I think I've covered all the pertinent info, but please feel free to ask for clarification on anything.

Feedback and/or ideas are most appreciated!!! Thanks!!!

__________
Daniel J. Carrington
dcarrington@discounttireco.com
 
Old 08-16-2005, 12:04 PM   #2
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43

Rep: Reputation: 15
Hi

I am trying the same thing, but not as far as you. Could you give me advise on the dhcpd.conf side?

The pc im using gets the ip address from the server, and then it cant find the tftp server or something. Just does TFTP ......

Gives me errors like: PXE-E32: TFTP open timeout.

Could you give me atvise please?
 
Old 08-16-2005, 02:48 PM   #3
Xeln
LQ Newbie
 
Registered: Apr 2005
Location: Arizona
Posts: 3

Original Poster
Rep: Reputation: 0
icedude

I wish I could help with that part, but we're not using a dhcp.conf. Our DHCP servers are Win2K. I have seen other documentation out there that talk about how to set up the dhcp.conf, though. For Win2K, I've set options 66 and 67 (boot file server & filename respectively). But I don't think that applies if you're using a Linux-based DHCP server.

Sorry, I guess I'm not much help there.
 
Old 08-30-2005, 12:07 PM   #4
#!
Member
 
Registered: May 2001
Distribution: RedHat, 'drake, suse, slack, gentoo, beehive, lfs...
Posts: 43

Rep: Reputation: 15
was this issue ever solved? I have the same exact problem. The last time this happened it turned out to be a botched driver in the vmlinuz that comes in the isolinux directory of the boot CD. Unfortunately, using any other vmlinuz results in a boot media/install media mismatch. If anyone has clues here, I'd be forever grateful.
 
Old 08-30-2005, 02:14 PM   #5
#!
Member
 
Registered: May 2001
Distribution: RedHat, 'drake, suse, slack, gentoo, beehive, lfs...
Posts: 43

Rep: Reputation: 15
ugh. I figured out my problem. I had updated all of the files in my PXE hierarchy, but forgot to change the initrd symlink. It was pointing at the fc3 initrd instead of fc4. Once I changed that, everything worked. Hope someone finds this useful.
 
Old 08-30-2005, 08:45 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Thanks for following up with your solution.
 
Old 09-01-2005, 07:50 PM   #7
Xeln
LQ Newbie
 
Registered: Apr 2005
Location: Arizona
Posts: 3

Original Poster
Rep: Reputation: 0
I just wish that worked in my case. :-(

We were never using FC3, so all of our files were already FC4 and I'm still having this problem.

But then, now it also tells me (during a manual install) that it can't find the hard disk on my Dell OptiPlex GX520. Red Hat finds it....Suse finds it...but FC4, no dice!!
 
Old 09-16-2005, 10:20 AM   #8
rob_s_levine
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
Diskless Boot - Network Booting Service Wizard Error

I am trying to set up PXE Boot.

Got through most of the steps, but I am now getting an error from the Network Booting Service Wizard at the dialog called "Enter the NFS information".

I enter the IP, and the directory, and hit "forward".

Then I get the following error regarding the directory I put in:
"The diskless directory must be NFS exported, and contain a boot directory".

Both of these conditions are true, but I still get this error, so I am unableto complete the diskelss environment.

Can anyone help me get through this error?
Has anyone bumped into this problem before?

Thanks in advance for the help.

Rob
 
  


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
pxe boot "PXE-T01 file not found" ssharma_02 Linux - Networking 16 05-18-2011 04:21 PM
i need a pxe boot disk for a Netgear FA411 network card... snip128 Linux - Networking 2 10-13-2005 02:48 PM
network booting and tftp potential / pxe rhoyerboat Linux - Networking 1 08-30-2005 06:32 AM
password protect pxe installation ssharma_02 Linux - Security 3 06-09-2005 06:20 AM
network install pxe error dogma Linux - Networking 0 08-15-2003 06:13 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:55 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