Hello Sir,
(This applies to the RH8.0 supplied syslinux 1.75-3 and the upgraded
tftp-server-0.32-1 from RH Rawhide)
I'm having fun remotebooting my ViA EPIA box (an ITX form-factor 800MHz ViA
C3 semi-embedded pc), and have landed on pxeboot as the 'best tool for the
job'.
Right now I have it working, but the documentation found elsewhere on the web
has confused me.
Specifically, having a dot ('.') in the filename of the image seems to
crash or reboot my machine.
I'm not sure if that is intended behaviour (or even a known bug), but I have
found other documentation that specifies 'linux.0' as the kernel and
'linux.1' as the initrd, and this breaks on my system. Also using
typical RH-style kernel image names (vmlinuz-2.4.x-y) fails the same way.
I guess what I am missing is a simple how-to on the pxelinux part.
I humbly submit my own <MAC> file, which loads a kernel without a ramdisk,
and hangs on a no-root-fs panic;
[root at leire linux]# cat /tftpboot/pxelinux.cfg/C0A80165
label linux
kernel boot
...while the following (kernel properly renamed, of course) results in either a
crash or a reboot, depending on how the kernel was built
[root at leire linux]# cat /tftpboot/pxelinux.cfg/C0A80165
label linux
kernel boot.0
Please use these as examples as you wish.
I'll go off now to build a working initrd.
Thank you for great tools.
Yours,
-Simen Thoresen
--
Simen Thoresen, Beowulf-cleaner and random artist - close and personal.
Er det ikke rart?
The gnu RART-project on http://valinor.dolphinics.no/~simentt/rart
On Monday 20 January 2003 03:15 pm, Simen Thoresen wrote:> > Right now I have it working, but the documentation found elsewhere on the > web has confused me. > > Specifically, having a dot ('.') in the filename of the image seems to > crash or reboot my machine. >here is my config from a production system here: <paste> SERIAL 0 115200 DEFAULT pxe PROMPT 1 TIMEOUT 100 DISPLAY pxe/pxelinux.txt LABEL pxe KERNEL pxe/linux.bin APPEND initrd=pxe/root.bin console=ttyS0,115200 maxcpus=2 root=/dev/ram0 LABEL local LOCALBOOT 0 </paste> Please forgive any line wrapping.
Hi, "Simen Thoresen" <simentt at dolphinics.no> schrieb am 21.01.03 00:18:00:> Right now I have it working, but the documentation found elsewhere on the web has confused me. > > Specifically, having a dot ('.') in the filename of the image seems to crash or reboot my machine.[..]> ...while the following (kernel properly renamed, of course) results in either a crash or a reboot, depending on how the kernel was built > [root at leire linux]# cat /tftpboot/pxelinux.cfg/C0A80165 > label linux > kernel boot.0Please avoid the '.0' ending with syslinux (and pxelinux) if booting a linux kernel. The same applies to '.bin', '.iso', '.bss', (fill in missing pieces here ...). See the syslinux and isolinux documentation for all the endings. These files are interpreted in a special way by sys/pxe/isolinux (boot sectors, iso images, ...), and will do something funny with files not being what the filename tells it to be. Since this really gets a FAQ: HPA, would you be so kind to include this at the top of the sys/pxe/isolinux documentation? Regards, Josef ______________________________________________________________________________ E-Mails sehen immer gleich aus? Aber nicht bei WEB.DE FreeMail! http://freemail.web.de/features?mc=021138