[syslinux] PXE/Memdisk/bootimage having a fight
Jeff Sadowski
jeff_sadowski at yahoo.com
Fri Aug 12 13:22:24 PDT 2005
>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
More information about the Syslinux
mailing list