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 09-08-2014, 02:55 PM   #1
tiuz
Member
 
Registered: Mar 2006
Distribution: Slackware 14
Posts: 92

Rep: Reputation: 15
tftpd-hpa to boot Windows PE


Hello,

I have a running tftp server (tftpd-hpa) with itīs directory /srv/tftp

Currently i have two Live-OS (Debian and Ubuntu) as well as installers for Slackware 14.1, Debian and Ubuntu and several other stuff (Hard Disk Diagnostic tools, Live-Antivirus-Tools etc..) running and all working.

I wanted to boot Windows PE (created from Windows 7- WAIK).

I have these files in /srv/tftp/Boot

-rwxrw---- 1 root root 79 10. Jun 2009 abortpxe.com
-rwxrw---- 1 root root 16K 8. Sep 19:50 BCD
-rwxrw---- 1 root root 512K 14. Jul 2009 bootmgr.exe
-rwxrw---- 1 root root 3,1M 10. Jun 2009 boot.sdi
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 cs-CZ
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 da-DK
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 de-DE
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 el-GR
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 en-US
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 es-ES
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 fi-FI
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 fr-FR
-rwxrw---- 1 root root 26K 10. Jun 2009 hdlscom1.com
-rwxrw---- 1 root root 26K 10. Jun 2009 hdlscom1.n12
-rwxrw---- 1 root root 26K 10. Jun 2009 hdlscom2.com
-rwxrw---- 1 root root 26K 10. Jun 2009 hdlscom2.n12
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 hu-HU
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 it-IT
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 ja-JP
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 ko-KR
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 nb-NO
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 nl-NL
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 pl-PL
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 pt-BR
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 pt-PT
lrwxrwxrwx 1 root root 11 8. Sep 21:40 pxeboot.0 -> pxeboot.n12
-rwxrw---- 1 root root 26K 10. Jun 2009 pxeboot.com
-rwxrw---- 1 root root 26K 10. Jun 2009 pxeboot.n12
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 ru-RU
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 sv-SE
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 tr-TR
-rwxrw---- 1 root root 1,4K 10. Jun 2009 WdsConfig.inf
-rwxrw---- 1 root root 515K 14. Jul 2009 wdsmgfw.efi
-rwxrw---- 1 root root 31K 10. Jun 2009 wdsnbp.com
-rwxrw---- 1 root root 130M 13. Jul 2009 winpex64.wim
-rwxrw---- 1 root root 110M 13. Jul 2009 winpex86.wim
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 zh-CN
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 zh-HK
drwxrwx--- 2 root root 4,0K 8. Sep 19:52 zh-TW

I have a symlink for bootmgr.exe in /srv/tftp which points to /srv/tftp/Boot/bootmgr.exe
I also have a symlink in /srv/tftp for boot which points to Boot (just in case)

Here is my /etc/default/tftpd-hpa file:

#Defaults for tftpd-hpa
RUN_DAEMON="no"
TFTP_OPTIONS="--secure -m /etc/tftp_remap.conf -v"
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp/"
TFTP_ADDRESS="0.0.0.0:69"

and my /etc/tftp_remap.conf file:

rg \\ /

and finally here is what i have added to /srv/tftp/pexlinux.cfg/default

label 6
menu label ^6. Windows PE zur Installation von Windows starten
kernel Boot/pxeboot.0
text help
Mit Hilfe von Windows PE Windows installieren
endtext

But when pressing either Button 6 or go to the menu entry and pressing enter nothing happens.

If i check /var/log/syslog i get only this (every time is press enter on the client)

Sep 8 21:54:22 assistant in.tftpd[29661]: RRQ from 192.168.0.124 filename Boot/pxeboot.0
Sep 8 21:54:23 assistant in.tftpd[29662]: RRQ from 192.168.0.124 filename Boot/pxeboot.0
Sep 8 21:54:24 assistant in.tftpd[29663]: RRQ from 192.168.0.124 filename Boot/pxeboot.0
Sep 8 21:54:24 assistant in.tftpd[29664]: RRQ from 192.168.0.124 filename Boot/pxeboot.0
Sep 8 21:54:24 assistant in.tftpd[29665]: RRQ from 192.168.0.124 filename Boot/pxeboot.0
Sep 8 21:54:25 assistant in.tftpd[29666]: RRQ from 192.168.0.124 filename Boot/pxeboot.0

Any help/hint would be highly appreciated

Thanks,
tz
 
Old 09-09-2014, 07:33 AM   #2
tiuz
Member
 
Registered: Mar 2006
Distribution: Slackware 14
Posts: 92

Original Poster
Rep: Reputation: 15
Found the solotion myself.

For some reason an entry in my dhcpd.conf file caused the trouble, i had a line

host tftp just below the line with next server and pxelinux.0

I commented out the line with host tftp and everything works now :-)
 
  


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
tftpd problems with both tftpd-hpa and atftpd spitting image Linux - Server 1 10-05-2010 04:40 PM
tftpd problems with both tftpd-hpa and atftpd spitting image Debian 0 10-05-2010 11:04 AM
tftpd-hpa using defaults instead of user configuration MrGorby2u Ubuntu 0 09-11-2008 12:09 PM
The differences between these pakages TFTP, TFTPD, or with -HPA? lifeforce4 Debian 2 06-06-2008 04:00 PM
Trouble getting tftpd-hpa working Mithrilhall Linux - Software 1 10-13-2006 03:21 AM

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

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