Re: How is an OS bound to the Linux kernel

From: Martin Steigerwald
Date: Sun Jun 29 2014 - 03:07:40 EST


Am Sonntag, 29. Juni 2014, 11:54:32 schrieb Gideon D'souza:
> hey guys,

Hi Gideon,

> I generally manage to understand the various pieces of the linux
> kernel and what their functions are.
>
> However, one thing I don't fully understand is how is any OS, say
> fedora (which is what I use) is bound to the kernel.
>
> Lets say I want to just build a system on top of linux that boots and
> keeps printing hello world to the screen. When the user presses a key
> it exits.
>
> How would I begin to do this? What should I read or look at?
>
> I'm guessing it's a two part thing right, one I need to somehow tell
> the kernel what to do after booting, and second I'll have to tell the
> kernel what the screen is ? Where would I find more information about
> this?
>
> Note: I actually want to make the program I described so tips on how
> to play with grub to get the whole thing to work would also be
> helpful.

Look for init= kernel parameter (there is a kernel-parameter documentation file
in kernel doc drawer).

And I suggest looking through things like Linux From Scratch. I am not sure
how useful this is to your case.

Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/