On 9/25/2019 8:17 AM, Reco wrote: > Hi. > > On Wed, Sep 25, 2019 at 07:52:32AM +0200, john doe wrote: >>> Looks like moving debian-installer/pxelinux.cfg to the root of the tftp >>> directory, get me to the Debian installer prompt where I can choose to >>> install/resque Debian. >>> >>> It looks also like symlink created on Windows with the 'mklink' command >>> are not handle properly by Qemu's tftp. >>> >>> I'll give also a shot to your above 'default' file but for now, it is >>> reading time! :) >>> >> >> On Windows the file ldlinux.c32 needs to be in the tftp root directory, >> if it is a symlink created with the 'mklink' cmd it won't work and I >> don't understand why, if anyone has any thoughts on this? >> As far as I can tell, this is related to Windows and syslinux because it >> works on Debian with ldlinux.c32 being a symlink. > > Cannot comment on that. > > >> My next step is to automatically fetch the preseed file to do an >> automatic installation of Debian, I would like to use the local tftp >> server in Qemu but I'm not finding a way to do that, if I happend one of >> the following it fails: >> >> url=tftp://10.0.2.2/preseed.cfg >> url=tftp://preseed.cfg >> >> How can I use the local tftp server of qemu to fetch the preseedfile? > > Put in into pxelinux.cfg/default file, into "append" clause. > Something like that: > > kernel linux > append initrd=initrd.gz url=tftp://10.0.2.2/preseed.cfg >
Looks like it is working but why is it working this way: append initrd=initrd.gz url=tftp://10.0.2.2/preseed.cfg and not this way: append url=tftp://10.0.2.2/preseed.cfg initrd=initrd.gz In other words, what is the difference between arguments before initrd.gz and after it. -- John Doe