Re: Custom Linux Distro

Kurt Garloff (K.Garloff@ping.de)
Mon, 8 Feb 1999 17:05:12 +0100


--7ZAtKRhVyVSsbBD2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

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=3D... 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=3D1 or 2) and
/lib/libc.so.X (X=3D5 or 6)
You probably need a shell, libtermcap and some utilsand the reqeuired
libraries.

--=20
Kurt Garloff <kurt@garloff.de> [Dortmund, FRG]
Plasma physics, high perf. computing [Linux-ix86,-axp, DUX]
PGP key: see mailheader [Linux SCSI driver: DC390]

--7ZAtKRhVyVSsbBD2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in

iQCVAwUBNr8LOBaQN/7O/JIVAQFGpAQAkXCj7OlTdVX99vLqPHjIWXuITWHsLx64
PIYsZm0oZjqucxB1JMQuVhJX0Z3wQz/NouRzKs4qAe4MbZf7BpxMbKOcDZ0nZfHf
cK9a/Ce9k//w4Q1ju6by0uPt4s0kpWLa0eXOy6w6hH22h8/ko7jugn6vGM2zwnAD
mfxUyy2njgc=
=C+XE
-----END PGP SIGNATURE-----

--7ZAtKRhVyVSsbBD2--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/