Re: boot/root floppy: "Kernel panic: no init found"
[milos]14:39:41[bin]$ ldd busybox
libc.so.6 => /lib/libc.so.6 (0x4001b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Aha! Thanks! (I assumed this thing would link statically by default --
still can't see why it doesn't..)
-chris
On Fri, 2 Feb 2001, Joey Hess wrote:
> Chris Majewski wrote:
> > 1) rdev the kernel on the floppy to /dev/fd0, mkfs.ext2 on a second floppy,
> > install Busybox on this floppy (Busybox is a really tiny
> > implementation of various unix essentials, like /bin/sh and
> > /sbin/init.) Boots fine, then prompts for root diskette. I insert the
> > root diskette, press Enter, and get the above error message. Yes there
> > is an executable /sbin/init on the root floppy. Perhaps the root
> > floppy should not have a filesystem on it?? But the kernel says it
> > mounted root. Hmm.
>
> You will get the same "not found" message if you don't have a libc on
> the floppy and your program is dynamically linked. Link it statically or
> look into using mklibs.sh from the debian boot-floppies source to
> generate a reduced libc.
>
> --
> see shy jo
>
Reply to: