Skip to contentSkip to conversation

Linux 2.4.10 etherboot initrd init= problem

DISCUSSION cj 3 participants 4 messages Sep 25, 2001 – Oct 19, 2001

lore
Share & tools
lore

cj

author
#0 lore raw

Linux 2.4.10 etherbooting via mknbi-linux panics with:
....
Net4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0 Freeing initrd memory 3084k freed
VFS:: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 276k freed

Kernel panic: No init found.  Try passing init= option to kernel.

These kernel command lines work with 2.4.9 but not 2.4.10:
auto rw root=/dev/ram ramdisk_size=8192
auto rw root=/dev/ram init=/sbin/init ramdisk_size=8192 auto rw root=/dev/ram init=/bin/ash ramdisk_size=8192

#1 lore raw
Quoted 8 lines · cj

Linux 2.4.10 etherbooting via mknbi-linux panics with:
....
Net4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0 Freeing initrd memory 3084k freed
VFS:: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 276k freed

Quoted 6 lines
Kernel panic: No init found.  Try passing init= option to kernel.

These kernel command lines work with 2.4.9 but not 2.4.10:
auto rw root=/dev/ram ramdisk_size=8192
auto rw root=/dev/ram init=/sbin/init ramdisk_size=8192 auto rw root=/dev/ram init=/bin/ash ramdisk_size=8192

Do you have a /linuxrc link to /sbin/init?

Anuradha

Signature · 4 lines
Debian GNU/Linux (kernel 2.4.10)

An Englishman never enjoys himself, except for a noble purpose.
		-- A.P. Herbert
#2 lore raw
In reply to cj
Quoted 6 lines · cj
Kernel panic: No init found.  Try passing init= option to kernel.

These kernel command lines work with 2.4.9 but not 2.4.10:
auto rw root=/dev/ram ramdisk_size=8192
auto rw root=/dev/ram init=/sbin/init ramdisk_size=8192 auto rw root=/dev/ram init=/bin/ash ramdisk_size=8192

Are the execute permission bits set for /lib/ld-* in your initrd?

Mark.

author
#3 lore raw
In reply to cj

That's it! Thank you very much. A thousand thanks.

Quoted 15 lines · Mark van Walraven
Quoted 7 lines · cj
Kernel panic: No init found.  Try passing init= option to kernel.

These kernel command lines work with 2.4.9 but not 2.4.10:
auto rw root=/dev/ram ramdisk_size=8192
auto rw root=/dev/ram init=/sbin/init ramdisk_size=8192 auto rw root=/dev/ram init=/bin/ash ramdisk_size=8192

Are the execute permission bits set for /lib/ld-* in your initrd?

Mark.