pxe installation for kvm machines

svan

New Member
Jul 14, 2010
10
0
1
Hello,
Before opening this forum post I did search and spent over 6 hours in trying to make it work.
My problem is with pxe boot, what I'm trying to do is to make the vm to boot and get the os installed automatically via pxe, but I got stuck to:

filename: pxelinux.0
nothing to boot: no such file or directory

where has that file to be my exactly? because I did try all locations I found on google, nothing is working
 
The installation depends on your setup, not on google. You need a TFTP-Server with its root directory. In this root directory, you need to put your files. DHCPd has also to point to that direction.

Here is my dnsmasq configuration:

Code:
/etc/dnsmasq.d # grep -Eve '^(#|$)' pxe.conf
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/usr/share/syslinux

/etc/dnsmasq.d # ls -l /usr/share/syslinux/pxelinux.0
-rw-r--r--    1 root     root         46995 Oct 26 18:17 /usr/share/syslinux/pxelinux.0

My setup is minimalistic with Alpine linux and installed syslinux package.