I have tried to get this working SO many times, everywhere I look on the web tells me i have this correct. I have the following stanza in my /tftboot/lts/pxelinux.cfg/default label Ghost kernel memdisk append initrd=netboot.img For some reason, it doesn't work - I get the error messages Missing parameter in config file Could not find kernel image: linux boot: The netboot.img is in the same directory as the linux kernel, which boots fine.
robotti at godmail.com
2005-Aug-12 13:40 UTC
[syslinux] PXE/Memdisk/bootimage having a fight
>I have tried to get this working SO many times, everywhere I look on >the web tells me i have this correct. > >I have the following stanza in my /tftboot/lts/pxelinux.cfg/default > > >label Ghost >kernel memdisk >append initrd=netboot.img > > >For some reason, it doesn't work - I get the error messages > >Missing parameter in config file >Could not find kernel image: linux >boot: > >The netboot.img is in the same directory as the linux kernel, which >boots fine.You should have this. /tftboot/lts/memdisk /tftboot/lts/netboot.img /tftboot/lts/pxelinux.0 /tftboot/lts/pxelinux.cfg/default
Mr Tyrese wrote:> > I have tried to get this working SO many times, everywhere I look on > the web tells me i have this correct. > > I have the following stanza in my /tftboot/lts/pxelinux.cfg/default > > > label Ghost > kernel memdisk > append initrd=netboot.img > > > For some reason, it doesn't work - I get the error messages > > Missing parameter in config file > Could not find kernel image: linux > boot: > > The netboot.img is in the same directory as the linux kernel, which > boots fine. >They *should* be in the /tftboot/lts/ directory, together with the pxelinux.0 file. Are they? -hpa
robotti at godmail.com
2005-Aug-12 18:06 UTC
[syslinux] PXE/Memdisk/bootimage having a fight
>*** >prompt=100 >kernel bzImage-2.4.26-ltsp-2 >append init=/linuxrc rw root=/dev/ram0 initrd=initrd-2.4.26-ltsp.gz > >label Ghost >kernel memdisk >append initrd=netboot.img > >*** > >The above is my entire file > >what i want is the ability to choose which on for my end usersYou could do it like this. default Other prompt=100 label Other kernel bzImage-2.4.26-ltsp-2 append init=/linuxrc rw root=/dev/ram0 initrd=initrd-2.4.26-ltsp.gz label Ghost kernel memdisk append initrd=netboot.img
robotti at godmail.com
2005-Aug-12 19:19 UTC
[syslinux] PXE/Memdisk/bootimage having a fight
>> You could do it like this. >> >> default Other >> prompt=100 >> >> label Other >> kernel bzImage-2.4.26-ltsp-2 >> append init=/linuxrc rw root=/dev/ram0 initrd=initrd-2.4.26-ltsp.gz >> >> label Ghost >> kernel memdisk >> append initrd=netboot.img > >When I do it like that, I don't have the option to choose it just >defaults to the linux entry. I want a menu system, so that users can >choose which entry they use. And if no choice has been made after 10 >seconds, THEN it fires up the default profiledefault Other prompt 1 timeout 100 display boot.txt Create a simple text file 'boot.txt' that explains the choices the user has at the boot prompt.
>I have tried to get this working SO many times, >everywhere I look on >the web tells me i have this correct. > >I have the following stanza in >my/tftboot/lts/pxelinux.cfg/default> > >label Ghost >kernel memdisk >append initrd=netboot.img > > >For some reason, it doesn't work - I get the error >messages > >Missing parameter in config file >Could not find kernel image: linux >boot: > >The netboot.img is in the same directory as the >linux kernel, which >boots fine.That directory structure looks like a pain in the butt to me. I have mine a lot simpler here is how mine looks # ls -Rl /tftpboot/ /tftpboot/: total 1500 -rwxr-xr-x 1 root root 1474560 Aug 12 13:51 floppy.img -rwxr-xr-x 1 root root 19852 Aug 12 13:51 memdisk -rw-r--r-- 1 root root 12968 Aug 12 13:49 pxelinux.0 drwxr-xr-x 2 root root 4096 Aug 12 13:51 pxelinux.cfg /tftpboot/pxelinux.cfg: total 8 -rw-r--r-- 1 root root 89 Aug 12 13:51 default # cat /tftpboot/pxelinux.cfg/default default floppy prompt 1 timeout 40 label floppy kernel memdisk append initrd=floppy.img # cat /etc/dhcpd.conf ddns-update-style ad-hoc; subnet 192.168.3.0 netmask 255.255.255.0 { range 192.168.3.100 192.168.3.200; option domain-name-servers 172.24.0.22, 172.24.0.25; option routers 192.168.3.1; next-server 192.168.3.1; filename "pxelinux.0"; } ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs