lkml.org 
[lkml]   [1999]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Custom Linux Distro
On Sun, Feb 07, 1999 at 09:48:07PM -0800, Jeff Knox wrote:
> my machine. So may question is What does the Linux kernel require to
> boot? Are does a very basic base distrobution need? What should I
> include to start with? I figure I will look at some of the floppy linux
> distros and see what they use for a start. Any help would be
> appreciated, thanks.

Maybe you want to have a look at the bootdisks I created. See on my linux
web page:
http://www.garloff.de/kurt/linux/

Your kernel needs nothing but the drivers to access the root filesystem. It
then calls /sbin/init and -- in case of failure -- tries /etc/init,
/bin/init and /bin/sh.
You can pass the init=... parameter to override this.

In order to execute the binary, the kernel needs support for ELF (or
whatever format you want to use) binary format. Probably your binary
is dynamically linked, so you need /lib/ld-linux.so.X (X=1 or 2) and
/lib/libc.so.X (X=5 or 6)
You probably need a shell, libtermcap and some utilsand the reqeuired
libraries.

--
Kurt Garloff <kurt@garloff.de> [Dortmund, FRG]
Plasma physics, high perf. computing [Linux-ix86,-axp, DUX]
PGP key: see mailheader [Linux SCSI driver: DC390]
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.059 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site