Quote:
Originally Posted by business_kid
As I understand PXE, it works this way]
1. Bios wakes up and asks for a kernel "anyone out there?"
2. It gets a kernel from the tftp server
3. It boots this
4. Then, having it's own network card, it takes over
5. Asks "Anyone got an OS?" It needs to see the nic for this
6. Your obliging server responds with an OS
etc
Which point are you stuck at?
|
here is what I've done and then where I'm at:
- mounted iso to /var/www/html/pub
- was able to boot off iso image on test client, specify 'linux askmethod', punch in HTTP info, and do an install
however, we dont want to have to use a boot disc, or iso - we want to grab this from the pxe/http server.
I went back and edited the pxelinux.cfg/default file to include something to this effect:
label 1 CentOS 5 x64
KERNEL /var/www/html/pub/isolinux/vmlinuz
APPEND initrd=/var/www/html/pub/isolinux/initrd.img ramdisk_size=16000 url --url \ http://10.37.129.6/pub/ ip=dhcp (have also used method=http as well, also removing that absolute path to the DocumentRoot, and just used vmlinuz - to no avail)
but when the client picked up its DHCP IP and loaded the menu, I could never see 'label 1' -- all I could see constantly was label 0 - localboot. I added the necessary label entry to the default file, that didnt work. I went and modified the isolinux.cfg found in /var/www/html/pub/isolinux - but that didnt work. I removed any changes I made to isolinux.cfg
Now, I'm back to booting up the client, and I get this:
TFTP prefix: /linux-install/
trying to load: pxelinux.cfg/01-00-1c-42-ec-2b-fb
trying to load: pxelinux.cfg/0A258114
.......
trying to load: pxelinux.cfg/0
trying to load: pxelinux.cfg/default
boot:
i've copied over initrd.img and vmlinuz both to /tftpboot/linux-install/pxelinux.cfg/ and that has not helped either.
i've also modified /pxelinux.cfg/default to read:
kernel /var/www/html/pub/images/pxeboot/vmlinuz - which doesnt work either
more and more I am frustrated, I was 1/2 way there with the HTTP install taking off with the mounted iso at the client (these are both VM's mind you), but now I'm back to square 1 and even more confused.
Can anyone please help. I've read page after page, including your link for the Slackware, pages on CentOS wiki (i'm doing CentOS install), redhat docs, stuff here at Linuxquestions, etc. but I can't ascertain where my problems are.
dhcpd.conf reads as:
ddns-update-style interim;
ignore client-updates;
allow booting;
allow bootp;
subnet 10.37.0.0 netmask 255.255.0.0 {
range 10.37.129.10 10.37.129.20;
next-server 10.37.129.6;
filename "/linux-install/pxelinux.0";
}
when I tail /var/log/messages, I can see the client get issued an IP, and then it chokes at:
CentOS5 in.tftpd[4480]: tftp: client does not accept options I have seen this before during this project, but didnt think it was inhibiting the install process.
any help and pointers would be MUCH appreciated.
Thanks,