Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 12619  / 3 Years ago, mon, september 13, 2021, 7:18:28

I have a problem with PXE booting. I followed these instructions on the Ubuntu help wiki. But I get an error on client machine:



Could not find kernel image: vmlinuz-3.13.0-24-generic


And now, question. This image should be in pxelinux.cfg folder, am I right?


More From » boot

 Answers
2

The kernel image (and initrd) must be located relative to the root folder. If you follow that how-to, then you have configured the following parameters:




  • DHCP server is configured to use /tftpboot/

  • The boot image is /pxelinux.0 (relative to the TFTP root directory, so the actual path is /tftpboot/pxelinux.0)

  • PXELinux (part of syslinux) looks for its configuration in the /pxelinux.cfg/ directory. If it does not find a file matching the client MAC address or GUID, then it will fallback to a file named default (/tftpboot/pxelinux.cfg/default) in your case.

  • That file should contain something like:



    LABEL linux
    KERNEL vmlinuz
    INITRD initrd
    APPEND root=...


    The vmlinuz and initrd files are then looked up relative to the TFTP root directory, so ensure that the file /tftpboot/vmlinuz and /tftpboot/initrd exist. You can find these files in /boot/.




I would also suggest not to use /tftpboot/ as root directory for TFTP files, but /srv/tftpboot/. That is a more suitable location for site-specific data.



For debugging, be sure to have a look at your syslog. I have used the dnsmasq DHCP server which sends its logs to syslog (/var/log/syslog). ISC's DHCP sever should do something similar.


[#24357] Wednesday, September 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
overine

Total Points: 20
Total Questions: 109
Total Answers: 98

Location: Aruba
Member since Fri, Jun 24, 2022
2 Years ago
overine questions
Tue, Jul 12, 22, 00:27, 2 Years ago
Wed, Jan 11, 23, 02:15, 1 Year ago
Tue, Aug 10, 21, 01:39, 3 Years ago
;