[SOLVED] How to deal with an existing WDS PXE directory ?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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 ?
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.