mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How is an OS bound to the Linux kernel
@ 2014-06-29  6:24 Gideon D'souza
  2014-06-29  7:07 ` Martin Steigerwald
  0 siblings, 1 reply; 2+ messages in thread
From: Gideon D'souza @ 2014-06-29  6:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Geert Uytterhoeven

hey guys,

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.

Regards,
Gideon

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How is an OS bound to the Linux kernel
  2014-06-29  6:24 How is an OS bound to the Linux kernel Gideon D'souza
@ 2014-06-29  7:07 ` Martin Steigerwald
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Steigerwald @ 2014-06-29  7:07 UTC (permalink / raw)
  To: Gideon D'souza; +Cc: linux-kernel, Geert Uytterhoeven

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-29  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-29  6:24 How is an OS bound to the Linux kernel Gideon D'souza
2014-06-29  7:07 ` Martin Steigerwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®