Foreman TFTP Remapping

> I'm having a little trouble getting PXE working with foreman. The
> directories are populated correctly, and pxelinux.0 is found. The error I
> get is:
>
> Could not find kernel image: boot/CentOS-6/3=x86_64-vmlinuz
>
> TFTP logs look like this:
>
>
> Jan 20 09:36:37 build in.tftpd[15883]: RRQ from 192.168.4.192 filename
> pxelinux.cfg/564d0e7d-4d3c-3c06-cd30-e73f2bc1bb11
> Jan 20 09:36:37 build in.tftpd[15883]: sending NAK (1, File not found) to
> 192.168.4.192
> Jan 20 09:36:37 build in.tftpd[15884]: remap: input:
> pxelinux.cfg/01-00-0c-29-c1-bb-11
> Jan 20 09:36:37 build in.tftpd[15884]: remap: done
> Jan 20 09:36:37 build in.tftpd[15884]: RRQ from 192.168.4.192 filename
> pxelinux.cfg/01-00-0c-29-c1-bb-11
> Jan 20 09:36:37 build in.tftpd[15885]: remap: input:
> boot/CentOS-6.3-x86_64-vmlinuz
> Jan 20 09:36:37 build in.tftpd[15885]: remap: done
> Jan 20 09:36:37 build in.tftpd[15885]: RRQ from 192.168.4.192 filename
> boot/CentOS-6.3-x86_64-vmlinuz
> Jan 20 09:36:37 build in.tftpd[15886]: remap: input:
> boot/CentOS-6.3-x86_64-vmlinuz.cbt
> Jan 20 09:36:37 build in.tftpd[15886]: remap: done
> Jan 20 09:36:37 build in.tftpd[15886]: RRQ from 192.168.4.192 filename
> boot/CentOS-6.3-x86_64-vmlinuz.cbt
> Jan 20 09:36:37 build in.tftpd[15886]: sending NAK (1, File not found) to
> 192.168.4.192
> Jan 20 09:36:37 build in.tftpd[15887]: remap: input:
> boot/CentOS-6.3-x86_64-vmlinuz.0
> Jan 20 09:36:37 build in.tftpd[15887]: remap: done
> Jan 20 09:36:37 build in.tftpd[15887]: RRQ from 192.168.4.192 filename
> boot/CentOS-6.3-x86_64-vmlinuz.0
> Jan 20 09:36:37 build in.tftpd[15887]: sending NAK (1, File not found) to
> 192.168.4.192
> Jan 20 09:36:37 build in.tftpd[15888]: remap: input: boot/
> CentOS-6.3-x86_64-vmlinuz.com
> Jan 20 09:36:37 build in.tftpd[15888]: remap: done
> Jan 20 09:36:37 build in.tftpd[15888]: RRQ from 192.168.4.192 filename
> boot/CentOS-6.3-x86_64-vmlinuz.com
> Jan 20 09:36:37 build in.tftpd[15888]: sending NAK (1, File not found) to
> 192.168.4.192
> Jan 20 09:36:37 build in.tftpd[15889]: remap: input:
> boot/CentOS-6.3-x86_64-vmlinuz.c32
> Jan 20 09:36:37 build in.tftpd[15889]: remap: done
> Jan 20 09:36:37 build in.tftpd[15889]: RRQ from 192.168.4.192 filename
> boot/CentOS-6.3-x86_64-vmlinuz.c32
> Jan 20 09:36:37 build in.tftpd[15889]: sending NAK (1, File not found) to
> 192.168.4.192
>
>
>
> What could I be doing wrong?
>
> did it download the file into the boot folder?
maybe your install media is wrong? and its unable to fetch the boot files?

Ohad

··· On Sun, Jan 20, 2013 at 11:39 AM, Frap wrote:


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/oGHYBp8zo4UJ.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

Your message contains a forward slash:

"boot/CentOS-6/3=x86_64-vmlinuz"

so it's looking for a path like "boot / CentOS-6 / 3=x86_64-vmlinuz".

Check your OS name and make sure there's no slashes in it.

··· On 20 January 2013 15:19, Ohad Levy wrote: > > > > On Sun, Jan 20, 2013 at 11:39 AM, Frap wrote: >> >> I'm having a little trouble getting PXE working with foreman. The >> directories are populated correctly, and pxelinux.0 is found. The error I >> get is: >> >> Could not find kernel image: boot/CentOS-6/3=x86_64-vmlinuz >> >> TFTP logs look like this: >> >> >> Jan 20 09:36:37 build in.tftpd[15883]: RRQ from 192.168.4.192 filename >> pxelinux.cfg/564d0e7d-4d3c-3c06-cd30-e73f2bc1bb11 >> Jan 20 09:36:37 build in.tftpd[15883]: sending NAK (1, File not found) to >> 192.168.4.192 >> Jan 20 09:36:37 build in.tftpd[15884]: remap: input: >> pxelinux.cfg/01-00-0c-29-c1-bb-11 >> Jan 20 09:36:37 build in.tftpd[15884]: remap: done >> Jan 20 09:36:37 build in.tftpd[15884]: RRQ from 192.168.4.192 filename >> pxelinux.cfg/01-00-0c-29-c1-bb-11 >> Jan 20 09:36:37 build in.tftpd[15885]: remap: input: >> boot/CentOS-6.3-x86_64-vmlinuz >> Jan 20 09:36:37 build in.tftpd[15885]: remap: done >> Jan 20 09:36:37 build in.tftpd[15885]: RRQ from 192.168.4.192 filename >> boot/CentOS-6.3-x86_64-vmlinuz >> Jan 20 09:36:37 build in.tftpd[15886]: remap: input: >> boot/CentOS-6.3-x86_64-vmlinuz.cbt >> Jan 20 09:36:37 build in.tftpd[15886]: remap: done >> Jan 20 09:36:37 build in.tftpd[15886]: RRQ from 192.168.4.192 filename >> boot/CentOS-6.3-x86_64-vmlinuz.cbt >> Jan 20 09:36:37 build in.tftpd[15886]: sending NAK (1, File not found) to >> 192.168.4.192 >> Jan 20 09:36:37 build in.tftpd[15887]: remap: input: >> boot/CentOS-6.3-x86_64-vmlinuz.0 >> Jan 20 09:36:37 build in.tftpd[15887]: remap: done >> Jan 20 09:36:37 build in.tftpd[15887]: RRQ from 192.168.4.192 filename >> boot/CentOS-6.3-x86_64-vmlinuz.0 >> Jan 20 09:36:37 build in.tftpd[15887]: sending NAK (1, File not found) to >> 192.168.4.192 >> Jan 20 09:36:37 build in.tftpd[15888]: remap: input: >> boot/CentOS-6.3-x86_64-vmlinuz.com >> Jan 20 09:36:37 build in.tftpd[15888]: remap: done >> Jan 20 09:36:37 build in.tftpd[15888]: RRQ from 192.168.4.192 filename >> boot/CentOS-6.3-x86_64-vmlinuz.com >> Jan 20 09:36:37 build in.tftpd[15888]: sending NAK (1, File not found) to >> 192.168.4.192 >> Jan 20 09:36:37 build in.tftpd[15889]: remap: input: >> boot/CentOS-6.3-x86_64-vmlinuz.c32 >> Jan 20 09:36:37 build in.tftpd[15889]: remap: done >> Jan 20 09:36:37 build in.tftpd[15889]: RRQ from 192.168.4.192 filename >> boot/CentOS-6.3-x86_64-vmlinuz.c32 >> Jan 20 09:36:37 build in.tftpd[15889]: sending NAK (1, File not found) to >> 192.168.4.192 >> >> >> >> What could I be doing wrong? > > did it download the file into the boot folder? > maybe your install media is wrong? and its unable to fetch the boot files? > > Ohad >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/foreman-users/-/oGHYBp8zo4UJ. >> To post to this group, send email to foreman-users@googlegroups.com. >> To unsubscribe from this group, send email to >> foreman-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/foreman-users?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en.