LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-10-2009, 03:36 PM   #1
Andy M
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
PXE Booting diskless cluster node problems


Hey, everyone,
I'm trying to PXE boot a Red Hat 3 cluster node using a dhcp and tftp server. The dhcp server assigns the node an IP (confirmed with tcpdump on the server) and pxelinux.0 is obtained, as well. The tftp server hosts files at /tftpdboot:

Code:
pxelinux.0
vmlinuz
initrd.img
kickstart/node01-ks.cfg
pxelinux.cfg/default
The default file is obtained successfully by the node, but the Red Hat installation starts instead of the kickstart file.

initrd.img and vmlinuz were obtained from the Red Hat 3 CD under /images/pxeboot. Is this correct? Is this image configured to automatically start the installation instead of using the kickstart file I specify? Should I make my own initrd.img?

Contents of default:

Code:
label linux
kernel vmlinuz
append initrd=initrd.img network ksdevice=eth0 ks=nfs://10.0.0.5/tftpdboot/kickstart/node01-ks.cfg load_ramdisk=1
IPAPPEND 1
10.0.0.5 is my DHCP/TFTP server. 10.0.0.2 is the IP assigned to the node by my DHCP server. If I change the ks= line to something bogus the node complains about the kickstart file being null instead of starting the Red Hat installation.

Contents of node01-ks.cfg:

Code:
# mount disk from the NFS server which contains support files
mkdir -p /
mount 10.0.0.5:/var/10.0.0.2 -o ro /
Here is my exports file, as well:
Code:
/tftpdboot      10.0.0.2(ro,no_root_squash,anonuid=0)
/var/10.0.0.2   10.0.0.2(ro,no_root_squash,anonuid=0)
How can I make the node use the kickstart file, as opposed to automatically starting the installation process?
 
Old 03-12-2009, 04:38 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Here's a link to a working howto :
http://www.linuxquestions.org/questi...ia-pxe-554021/

I would say you have to build a custom initrd.
 
  


Reply



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
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 1 07-27-2015 08:33 AM
Cluster node not booting up madnanansari Linux - Newbie 1 09-17-2008 08:03 PM
Booting opensuse10.2 diskless over pxe - nfs tcp problem? sniff SUSE / openSUSE 0 07-08-2007 05:25 AM
bash script problems: scp/ssh from the node of a cluster to the other server frankie_DJ Programming 2 01-27-2007 06:29 PM
cannot ping cluster node...pxe-error..help dogma Linux - Newbie 2 09-13-2006 11:34 AM

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

All times are GMT -5. The time now is 04:13 PM.

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