-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I have problems booting linux 2.4.21 with syslinux 2.04
from floppy.
Booting with this combination I get the following error:
Loading kernel................
Boot failed: please change disks and press a key to continue.
(Note: there are exactly 16 dots ".", it this is relevant)
The floppy was DOS formatted with mformat and contains
the following files:
Directory for A:/
INITRD~1 CON 106 07-16-2003 15:17 initrd.conf
kernel 817674 07-16-2003 16:36 kernel
syslinux cfg 84 07-16-2003 16:35 syslinux.cfg
LILO~1 CON 1335 07-16-2003 14:39 lilo.conf
INITRD GZ 349474 07-16-2003 15:17 initrd.gz
MAP 25088 07-16-2003 15:08 map
ldlinux sys 7828 07-16-2003 16:21 ldlinux.sys
BOOT <DIR> 07-16-2003 16:05 boot
8 files 1 201 589 bytes
106 496 bytes free
"syslinux.cfg" contains:
KERNEL kernel
APPEND initrd=initrd.gz root=/dev/rd/0
Note:
a) The _same_ floppy boots fine if I use LILO or GRUB (that's
the reason there are other files not belonging to SYSLINUX
in the floppy listing above). So it's not a hardware problem.
b) If I replace the 2.4.21 kernel image with an image from linux
2.2.21 (again, on the same floppy), syslinux does _not_ print
the error. Instead it boots the kernel and the initial ramdisk
just fine. Both kernels are bzImages, by the way.
I haven't tried other kernel images yet.
Any idea anyone?
- - andreas
- --
Andreas Haumer | mailto:andreas at xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/FWXAxJmyeGcXPhERAuDvAKC+kg/BFo/Rio0N6NoUkuJFm5f3VwCfRodv
jWGqFEtjslYlinPxb+2ANcc=uPBJ
-----END PGP SIGNATURE-----
Andreas Haumer wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > I have problems booting linux 2.4.21 with syslinux 2.04 > from floppy. > > Booting with this combination I get the following error: > > Loading kernel................ > Boot failed: please change disks and press a key to continue. > > (Note: there are exactly 16 dots ".", it this is relevant) >This means read error returned by the BIOS.> Note: > > a) The _same_ floppy boots fine if I use LILO or GRUB (that's > the reason there are other files not belonging to SYSLINUX > in the floppy listing above). So it's not a hardware problem.Bogus assumption. Different bootloaders have different access patterns, so BIOS/hardware problems can manifest differently.> b) If I replace the 2.4.21 kernel image with an image from linux > 2.2.21 (again, on the same floppy), syslinux does _not_ print > the error. Instead it boots the kernel and the initial ramdisk > just fine. Both kernels are bzImages, by the way.Again, access pattern difference.> I haven't tried other kernel images yet. > > Any idea anyone?Try syslinux -s. -hpa
Andreas Haumer wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > I have problems booting linux 2.4.21 with syslinux 2.04 > from floppy. > > Booting with this combination I get the following error: > > Loading kernel................ > Boot failed: please change disks and press a key to continue. > > (Note: there are exactly 16 dots ".", it this is relevant) > > kernel 817674 07-16-2003 16:36 kernel... this means the kernel was downloaded, and it get a read error after the kernel was fully downloaded. At that point it should start looking for initrd.gz in the root directory. I also see a file with a "long" filename (lilo.conf) precede it in the directory. I wonder if there is a connection here.> syslinux cfg 84 07-16-2003 16:35 syslinux.cfg > LILO~1 CON 1335 07-16-2003 14:39 lilo.conf > INITRD GZ 349474 07-16-2003 15:17 initrd.gz > MAP 25088 07-16-2003 15:08 map > ldlinux sys 7828 07-16-2003 16:21 ldlinux.sys > BOOT <DIR> 07-16-2003 16:05 boot > 8 files 1 201 589 bytes > 106 496 bytes free >What happens if you create a floppy without LILO? -hpa