I am attempting to set up a PXE boot server for use at work. Every once in a while we get a computer with no CD Drive in, or with a non-working CD Drive, and it would be useful to be able to load diagnostics and such from the network. I was beginning by attempt to get a Sony Vaio laptop to load BARTPE so that I could format the drive and run the windows installer off of a USB stick. This computer does not have a CD drive or floppy drive and will not boot off of a USB stick either as there is no option in BIOS for USB boot. I have not tried a USB CDROM yet as it was not readily available.
I spent a few hours trying to get PXE boot working off of an ubuntu 8.10 install. I set up dhcp3-server with the following config:
I have the tftpd-hpa server for my tftp boot server and it is running as a daemon (at least I think it is running as there is nothing in syslog after I boot or attempt to start it) My inetd.conf contains the following line to start the server:
subnet 192.168.129.0 netmask 255.255.255.0
range dynamic-bootp 192.168.129.100 192.168.129.110;
option broadcast-address 192.168.129.255;
option routers 192.168.129.1;
I have the tftp server pointing to /tftpboot which I chmoded to 777 to be sure that all files were readable. The 'netstat' program does not show the server nor does 'ps aux' run as root. Is it really running and if so how do I tell, if not by the previously stated methods?
tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot
/tftpbot contains the following files:
pxelinux.cfg contains a file named default with the following contents:
12/12/2008 07:00 PM 0 winnt.sif~
12/09/2008 05:33 PM 163,493,888 BARTPE.ISO
03/24/2005 08:42 PM 47,772 ntdetect.com
03/24/2005 04:29 PM 278,016 NTLDR
03/24/2005 04:29 PM 22,528 ramdisk.sys
03/24/2005 03:06 PM 24,466 startrom.0
12/12/2008 07:02 PM 149 winnt.sif
12/12/2008 09:56 PM <DIR> pxelinux.cfg
startrom.0 is renamed from startrom.n12 from XP CD,
ntdetect.com is from same CD.
ramdisk.sys is from server2003 sp1 as it doesn't reset USB like the XP one does.
NTLDR is from server2003, renamed from setupldr.exe
But I don't think any of that is the problem. I am currently getting an error from the client which states:
BootDevice = "ramdisk(0)"
BootPath = "\i386\System32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=bartpe.iso"
Does anyone have any ideas? Right now I would be happy to get it to boot anything just to prove that it's not the server configuration but the files that is wrong. All the bartpe stuff came from a couple of walkthroughs that I read, the rest came from walkthroughs on how to boot Linux. Thank you for any ideas!
PXE-E32: TFTP Open Timeout