Linux 2.4.10 etherboot initrd init= problem
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
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
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.
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=8192Are the execute permission bits set for
/lib/ld-*in your initrd?Mark.