public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4 bootdisk kernel panic
@ 2002-05-31  1:11 Jon Hedlund
  0 siblings, 0 replies; only message in thread
From: Jon Hedlund @ 2002-05-31  1:11 UTC (permalink / raw)
  To: linux-kernel

I have been trying to update a 1.44 floppy based linux system to a 
2.4.18 kernel from 2.4.4. However whenever I try to boot the 
updated floppy I get the following kernel panic:

RAMDISK: Compressed image found at block 501
VFS: Mounted root (ext2 filesystem)
Freeing unused kernel memory: 64K freed
Kernel panic: no init found. Try passing init= option to the kernel.

I have tried it with a bunch of kernels, 2.4.4, 2.4.7 and 2.4.9 boot 
fine, 2.4.12, 2.4.13, 2.4.17, and 2.4.18 all give the panic.
I create the bootdisk with the following script:

rdev bzImage /dev/fd0
rdev -R bzImage 0
rdev -r bzImage 16885
# 16885= Don't prompt, Load ramdisk, offset = 501
dd if=bzImage of=tempfi bs=1k conv=sync
cat rootfs.gz >> tempfi
dd if=tempfi of=/dev/fd0 bs=1k

I manually edit the 16885 for whatever the size of the kernel is, just 
over 500KB in this case.
The kernel doesn't use loadable modules.
Modules are compiled into the kernel for the tulip network card, 
iptables, ext2, floppy drive, etc. I can post my config file if more info 
is needed.

JonH


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-31  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31  1:11 2.4 bootdisk kernel panic Jon Hedlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox