LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2006, 07:45 PM   #1
O-Gamer
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Editing the Linux Kernel


Hey there!

I have heard about editing the Linux kernel to create operating systems, but how? I would like to create my own personal operating system just for fun, nothing big, and I'd like to use the Linux kernel. It would just have basic software on it, and would be able to read from the Floppy, CD, and maybe a DVD drive. I know where to download the kernel, but once I do, then what? Where do I open it to edit it? What language is it in? I know some C, C++, and Perl, and other languages. Does anyone know a good book I can get started on this with?

Thanks!
~Matt
 
Old 01-19-2006, 08:17 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
That's no small task if you're unfamiliar with all of the things you'll need. You could try starting at http://www.linuxfromscratch.org/ and see if that's what you want to do. You could also start with an existing distribution, customise it and produce your own distro from that.

I haven't done either of those - I'm sticking with Slackware...
 
Old 01-19-2006, 09:37 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
It may be good to define some semantics....
"operating system" means kernel + all the other utilities---this combination is what is commonly called a "distribution"
The kernel is not "edited"---if you want a custom kernel, you modify the source code a re-compile.

I can't tell from you post if you want a custom kernel or a custom distribution. For the latter, Linux from Scratch is a good source of info---but you can also use something like Gentoo to make a custom setup.
If you want a custom kernel, you can find all the relevant documentation at TLDP
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xconfig for kernel editing applelinuxman Linux - Newbie 2 07-27-2005 02:46 PM
Kernel editing NCC-1701&NCC-1701-D Programming 2 07-24-2005 11:18 AM
Editing My Compiled Kernel (2.6.11.10)... DreameR-X Slackware 9 05-23-2005 06:39 PM
Editing tagfiles for new kernel? Makaelin Slackware - Installation 1 12-17-2004 11:53 PM
Need help editing grub for updated kernel pilotgi Linux - General 3 10-05-2003 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration