Hello, When I upgrade syslinux from 2.13 to 3.02. my linux floppy doesn't boot anymore. steps: dd if=/dev/zero of=fdimg bs=18k count=160 mkdosfs fdimg syslinux fdimg mount -o loop fdimg /mnt cp files/* /mnt/ umount /mnt then use memdisk load fdimg the files includes: vmlinuz initrd syslinux.cfg message.txt f1.txt ... it only prompts 1 line: SYSLINUX 3.02 2005-01-04 Copyright ... then hangs. But version 2.13 works very well. there is the syslinux.cfg --------------------------------------- DEFAULT 1 DISPLAY message.txt PROMPT 1 TIMEOUT 300 F1 message.txt F2 f2.txt F3 f3.txt F4 f4.txt F5 f5.txt LABEL 1 KERNEL vmlinuz APPEND initrd=initrd.gz init=/linuxrc rw ramdisk_size=5000 root=/dev/ram0 vga=791 LABEL 2 KERNEL vmlinuz APPEND initrd=initrd.gz init=/linuxrc rw ramdisk_size=5000 root=/dev/ram0 vga=791 noconf freecd LABEL 3 KERNEL vmlinuz APPEND initrd=initrd.gz init=/linuxrc rw ramdisk_size=5000 root=/dev/ram0 vga=771 noconf freecd runfloppy LABEL 4 KERNEL vmlinuz APPEND initrd=initrd.gz init=/linuxrc rw ramdisk_size=5000 root=/dev/ram0 LABEL 5 KERNEL vmlinuz APPEND initrd=initrd.gz init=/linuxrc rw ramdisk_size=5000 root=/dev/ram0 freecd pxeserver -- Best regards, Merlin mailto:softlib at turbolinux.com.cn
[To the mailing list...] Merlin wrote:> > HPA> Could you send me a copy of this image? > Please see attached file. > Thanks!Ah, thanks. That's exactly what I needed. There is a bug relating to too large directories in SYSLINUX; I have attached a patch. Incidentally, why are you using MEMDISK and a disk image from a CD-ROM when you're using it to boot a kernel? Why not use ISOLINUX? Anyway, another workaround is to turn off vfat, this will make the directory smaller; as long as you have vfat off it should be able to handle at least 15 files in the root directory. This is clearly a very serious bug which needs to be fixed. I'm a bit torn between trying to get 3.10 out quicker, release a 3.03, or release a "3.05" (meaning halfway between 3.00 and 3.10 :) which would basically be 3.10-pre1 plus this patch (plus some more testing, presumably.) Do people have any opinions? -hpa -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff URL: <http://www.zytor.com/pipermail/syslinux/attachments/20050106/305559f9/attachment.ksh>