[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: boot/root floppy: "Kernel panic: no init found"



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: