LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2004, 05:22 PM   #1
eam
Member
 
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67

Rep: Reputation: 15
Making an OS...


I want to make a small boots-from-floppy OS. Just for fun, nothing serious or fully functional in anyway. I want to use C++ if that's possible, how would I compile it? How would I get the floppy to be reconized and booted when its in the drive when the computer is on?

Any help would be great. If anyone has any resources on this I'd love to read them. Thanks.
 
Old 01-26-2004, 05:57 PM   #2
neilcpp
Member
 
Registered: Jul 2003
Location: England
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329

Rep: Reputation: Disabled
Making an OS


My initial advice would be to:
1. Read as much as you can about operating systems & especially how Linux was originally developed. A good book is 'Rebel Code' by Glynn Moody. If anything it will encourage you to press on with your hobby / ambition.

2. Take a look at the sources of the linux kernel 0.01 (you can get it on the web free). This will give you an idea of the complexity of the task originally for a processor family is now bordering on ancient...

3. Im a C++ enthusiast, but if you are going to put together a brand new OS that requires direct communication with the processer, im not sure that C++ would be the program of choice. It might be 'easier' in C...

4. Visit the forum on this board LFS (Linux from Scratch) - this might interest you.

I would say, dont let anyone discourage you from trying to see your goal through....Good communication with otheres who share your interest is a vital step in development of anything

good luck.
 
Old 01-26-2004, 07:22 PM   #3
shellcode
Member
 
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 32
you may want to try LFS first, and then making your own complete distro (w/ install and all)

you also have to learn assembly, and pretty well too. some things simply cannot be done in a high level language (take a look at some of the assembly code in the linux kernel).
 
Old 01-26-2004, 11:56 PM   #4
eam
Member
 
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks for the advice

Making my own Linux distro would be greate but I don't really have an extra computer to test on, unless you count the two which refuse to let Linux boot. And I dont want to hurt my current install quite yet.. heh.
 
Old 01-27-2004, 02:46 AM   #5
jinksys
Member
 
Registered: Aug 2003
Location: 63123
Distribution: OpenSuSE/Ubuntu
Posts: 419

Rep: Reputation: 35
http://www.nondot.org/sabre/os/articles

This site may help you...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Website Making Corbmaster Linux - Newbie 2 10-08-2005 11:00 AM
making TK.pm garvint Mandriva 8 09-06-2005 08:21 AM
making an LinuxLQ freefall235 LQ Suggestions & Feedback 35 11-10-2004 01:57 PM
Making a LAN Pedroski Linux - Networking 4 04-26-2004 12:23 PM
Making an xp cd. KptnKrill General 2 11-16-2003 11:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:52 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