Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to create my own Unix OS. Is there any book that I can learn from, from start?

share|improve this question

closed as not constructive by Michael Mrozek Sep 10 '12 at 4:15

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Define "want to create my own Unix OS". Do you mean developing an operating system from scratch, or just building your own distribution? –  faif Dec 10 '11 at 9:28
    
i want to create my operating system, just that. standing hardware on feet and calling my scripts. and i use unix based operating systems so i want my operating system unix based. starting from the most beginning. –  davit Dec 10 '11 at 23:54

4 Answers 4

I don't think you will get any printed book on this topic. The best resource you should consider is LFS(Linux from Scratch).

It is a type of Linux distribution and book which teaches you how to build your own Linux distribution from source.

share|improve this answer

In case you meant "create my own UNIX OS" literally, maybe you're interested in the resources surrounding xv6 ("a simple Unix-like teaching operating system"), or "The Design and Implementation of the 4.4BSD Operating System".

Edit Just stumbled upon this, "McIlroy's annotated guide to research Unix", which probably also is related. (And please read @nimrodm's Plan 9 hint closely :))

share|improve this answer

If you want to develop your own UNIX-like OS, on top of @sr_ answer I would suggest Lions' Commentary on Unix, The Design of the UNIX Operating System, and perhaps Operating Systems Design and Implementation to see how a microkernel based UNIX-like OS can be implemented.

share|improve this answer

While I understand that you want a UNIX system, I think it is worthwhile to take a look at a few more modern operating systems.

Plan9 from Bell Labs is from the same people who created UNIX and takes the same philosophy to the extreme (everything is a file, simplicity, composing small tools). Plan9 is a monolithic (but small) traditional kernel.

QNX is a commercial microkernel (see also openqnx) that shares some resemblance (at least superficially) to UNIX but is a more radical design.

Finally, MINIX is another example of a UNIX inspired microkernel and is accompanied by a good book describing its design and internals.

I highly recommend reading about the above systems before embarking on your own project.

share|improve this answer
1  
I wouldn't call Plan9's kernel "traditional" and "monolithic". Its distributed design (9P as the central protocol) makes it non-traditional, and the client/server architecture (file server, CPU server, authentication server, etc.) makes it non-monolithic. –  faif Dec 10 '11 at 16:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.