LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-14-2009, 06:53 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
pxe booting problem


Hi,
I tried to install debian via PXE.
following the doc, I install netboot.tar.gz which contains pxe file.
I configured the dhcpd.conf here is relevant part :

host 00016CB3066E{ # MAC
hardware ethernet 00:01:6C:B3:06:6E;
fixed-address 172.19.6.224;
server-name debian225;
next-server debian225;
filename "/var/lib/tftpboot/pxelinux.0";
}

I decompressed netboot.tar in /var/lib/tftpboot ,
I installed tftpd-hpa
first problem:
the file contains /etc/default/tftpd-hpa


RUN_DAEMON="no"
OPTIONS="-l -s /var/lib/tftpboot"

so the standalone tftpd-hpa is disabled, ??
While the file /etc/inetd.conf contains the good line
tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot


When I boot a remote machine, I get correct address from the dhcp,

but the error is : file not found tftp error ?????
why I declared pxelinux0 in the /var/lib/tftpboot

question: must I run a standlone /tftpd-hpa or thru inetd, where I have to declare pxelinux0 for the connection

thanks a lot
bela
 
Old 09-15-2009, 08:37 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Should be able to run it either way. Paths in tftp are relative so you should set the filename to just pxelinux.0 in your dhcp config.
 
  


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
problem in pxe booting shishirkotkar Linux - Networking 2 04-10-2008 12:13 PM
Booting via PXE/TFTP problem freeindy Linux - Networking 7 03-01-2008 10:02 AM
Booting opensuse10.2 diskless over pxe - nfs tcp problem? sniff SUSE / openSUSE 0 07-08-2007 05:25 AM
PXE booting Knoppix - NFS problem royceH Linux - Networking 25 12-21-2006 01:28 PM
PXE booting problem with DHCP amagi Linux - Networking 4 08-15-2006 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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