LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-28-2011, 07:43 AM   #1
zelycorn
Member
 
Registered: May 2011
Posts: 48

Rep: Reputation: 0
How to deal with an existing WDS PXE directory ?


Hello,

im posting here because I can't find a solution to my issue :

An existing Windows 2003 Server hosts a WDS pxe role. A networtk shared directory provides some customized OS.

I have to migrate this server without altered the WDS directory. Is it possible to deal with this stack under Redhat with pxelinux ?

Actually, my tests are negative. But I definitively have to deal with as a requirement. Otherwise an update will be made for each alteration of the OS.

POC : Red Hat 5 64bits, Apache2, Samba3, pxelinux, tftp-hpa.

I had successfully boot a virtual pc under Red hat. But I'm alaways game over with the corporate OS. When I load a pxeboot.n12 file there is an invalid file or corrupt error. When I rename this file as pxeboot.0 (to use pxelinue) the next step is a boot menu. I load a BCD file but after a boot.ini file is required but not present. This file doesn't exits in the current directory.

Last edited by zelycorn; 06-30-2011 at 06:36 AM.
 
Old 06-29-2011, 12:03 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I *think* your question is:

1) You currently have a Windows 2003 PXE server
<= More specifically, it sounds like you have a W2K3 server running WDS, with Microsoft PXE

2) You want to migrate away from it
<= It sounds like you're moving to Redhat and pxelinux

3) You're having problems getting the Windows hosts to boot

Correct so far?

These links might help:

http://linux-sxs.org/internet_serving/pxeboot.html

http://sysadminman.net/blog/2007/pxe...e-pxe-server-8

Please let us know how it goes!
 
Old 06-29-2011, 01:44 AM   #3
zelycorn
Member
 
Registered: May 2011
Posts: 48

Original Poster
Rep: Reputation: 0
Hello,

thanks for the second link.

I can't boot the WinPe.

Here is the directory I have to implement in pxelinux :

Boot
----Fonts----wgl4_boot.ttf
----x86----Images ----Generic_x8.wim
-----------abortxe.com
-----------bootmgr.exe
-----------hdlscom1.com
-----------hdlscom1.n12
-----------hdlscom2.com
-----------hdlscom2.n12
-----------lenabortpxe.com
-----------pxeboot.com
-----------pxeboot.n12
-----------wdsnbp.com
----boot.sdi
Tmp
----x86.{0901386B-E450-423A-B5D9-F69985A8F0B9}.bcd

As the tutotial in the second url said, I have to boot the pcxelinux.0 from syslinux, after load the pxelinux.cfg/default menu and then boot the pxeboot.com or n12 renamed in .0 to be processed by pxelinux network bootstrap program ?

But I doesn't want to rename or alter the WDS directory. Is it a way to proceed ?
 
Old 06-29-2011, 02:24 AM   #4
zelycorn
Member
 
Registered: May 2011
Posts: 48

Original Poster
Rep: Reputation: 0
So is it possible to load the Generic_X86.wim image with pxelinux ?

So far i have an error when trying to boot it :

pxelinux.cfg/default

DEFAULT net
PROMPT 0

LABEL net
KERNEL memdisk
APPEND initrd=win.img iso raw keeppxe

=> pxe boot :

MEMDISK: Image has fractional end sector cylinder
MEMDISK: Images seems to have fractional end cylinder
INT 13 08: Failure, assuming this is the only drive
 
Old 06-29-2011, 08:50 AM   #5
zelycorn
Member
 
Registered: May 2011
Posts: 48

Original Poster
Rep: Reputation: 0
Jun 29 15:45:01 00x in.tftpd[4394]: RRQ from filename pxelinux.cfg/default
Jun 29 15:45:01 00x in.tftpd[4395]: RRQ from filename Boot/pxeboot.0
Jun 29 15:45:02 00x in.tftpd[4396]: RRQ from filename bootmgr.exe
Jun 29 15:45:04 00x in.tftpd[4397]: RRQ from filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 29 15:45:04 00x in.tftpd[4397]: tftp: client does not accept options
Jun 29 15:45:04 00x in.tftpd[4398]: RRQ from filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 29 15:45:04 00x in.tftpd[4399]: RRQ from filename \boot.ini remapped to /boot.ini
Jun 29 15:45:04 00x in.tftpd[4399]: sending NAK (1, File not found) to 10.4

Always looking for a boot.ini but I haven't it. I have a boot.sdi and a default.bcd and a win.wim.
 
Old 06-30-2011, 06:26 AM   #6
zelycorn
Member
 
Registered: May 2011
Posts: 48

Original Poster
Rep: Reputation: 0
So, i have found this morning !

a tftp map include a remap for boot.ini and hyperfile.sys to a empty file. Then the boot.sdi is requested by the pxe client. then the wim image is loaded and the winpe is on the right way !

touch /tftpboot/Boot/empty

vi /etc/tftpd.map

re ^\\boot.ini Boot/empty
re ^\\hiberfil.sys Boot/empty
r ^\\boot\ Boot/
rg \\ /

/etc/init.d/xinetd restart

Jun 30 13:17:55 server in.tftpd[5953]: RRQ from ip filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 30 13:17:55 server in.tftpd[5953]: tftp: client does not accept options
Jun 30 13:17:55 server in.tftpd[5954]: RRQ from ip filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 30 13:17:55 server in.tftpd[5955]: RRQ from ip filename \boot.ini remapped to Boot/empty
Jun 30 13:17:55 server in.tftpd[5955]: tftp: client does not accept options
Jun 30 13:18:27 server in.tftpd[5982]: RRQ from ip filename \Boot\BCD remapped to /Boot/BCD
Jun 30 13:18:27 server in.tftpd[5982]: tftp: client does not accept options
Jun 30 13:18:27 server in.tftpd[5983]: RRQ from ip filename \Boot\BCD remapped to /Boot/BCD
Jun 30 13:18:28 server in.tftpd[5984]: RRQ from ip filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 30 13:18:28 server in.tftpd[5984]: tftp: client does not accept options
Jun 30 13:18:28 server in.tftpd[5985]: RRQ from ip filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 30 13:18:28 server in.tftpd[5986]: RRQ from ip filename \hiberfil.sys remapped to /hiberfil.sys
Jun 30 13:18:28 server in.tftpd[5986]: sending NAK (1, File not found) to ip
Jun 30 13:18:28 server in.tftpd[5987]: RRQ from ip filename \Boot\winpe.wim remapped to /Boot/winpe.wim
Jun 30 13:18:28 server in.tftpd[5987]: tftp: client does not accept options
Jun 30 13:18:28 server in.tftpd[5988]: RRQ from ip filename \boot\boot.sdi remapped to /boot/boot.sdi
Jun 30 13:18:28 server in.tftpd[5988]: tftp: client does not accept options
Jun 30 13:18:28 server in.tftpd[5989]: RRQ from ip filename \boot\boot.sdi remapped to /boot/boot.sdi
Jun 30 13:18:31 server in.tftpd[5990]: RRQ from ip filename \Boot\winpe.wim remapped to /Boot/winpe.wim
Jun 30 13:20:39 server in.tftpd[6105]: RRQ from ip filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
Jun 30 13:20:39 server in.tftpd[6105]: tftp: client does not accept options
Jun 30 13:20:39 server in.tftpd[6106]: RRQ from ip filename \Boot\Fonts\wgl4_boot.ttf remapped to /Boot/Fonts/wgl4_boot.ttf
 
  


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
how to check existing directory? izza_azhar Programming 1 04-15-2005 05:09 AM
WDS+WiMax+PXE+LiveCD? xyzxyz Linux - Networking 1 11-09-2004 09:03 AM
How does one force directory permissions for existing/new files salieg Linux - Newbie 3 05-12-2004 06:58 AM
Moving existing directory to new partition? chris8myshoe Linux - General 3 02-04-2004 08:48 PM
Mounting existing directory Mikhail_16 Linux - Newbie 2 11-17-2003 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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