Operating Systems > Linux and UNIX

UNIX, I want to build my own OS

(1/4) > >>

yourlife:
After Debian remastering became a bitch, and the fact that this is so much more fun, I want to build my own UNIX OS. Except I'd like a A-Z guide to do so, as I have no idea what to do. Once I started, I generally pick up on what I'm ment to do

Don't say "Google it", I've tried that. the closest I got was a website several years out of date

Kintaro:
Well, BSD is the easiest system ever to customize because of how it is made. FreeBSD, OpenBSD, and NetBSD keep the source for the base install in /usr/src. For OpenBSD this means that bind, dhcpd, apache 1.3, ssh, everything that comes with the base install is there. It is built simply by typing 'make build' and you can retarget it so it builds to the packages the BSD installer uses to install. Which is great because you can be incredibly lazy, build your own tarballs for the system and just replace and use the exact same installer.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

These are some links to the subject, OpenBSD has an entire section of its user guide devoted to this subject as well.

http://openbsd.org/faq/faq5.html

You can also change small parts of the system, you might go into /usr/src/bin/mount and change how the mount command works and then you can run make on that and install it. BSD is a hell of a lot less cluttered than GNU/Linux being structured like that, as to do the same on Linux you are going to need to remove the util-linux package, replace it with a dummy package, download the util-linux source and change mount and then install it, or build a deb or whatever. When it comes to customizing a system and producing your own fork, BSD always wins. In fact in terms of simplicity and order it wins hands down. Linux will always have the drivers though, because like a BSD base system is all in once neat ball of code, so is the Linux kernel, which has a hell of a lot more infrastructure for the guys at ATI and nVidia.

piratePenguin:
Google Linux From Scratch

Kintaro:
http://www.google.com.au/search?q=having+troubles+with+linux+from+scratch - About 6,970,000 results

I don't think that is wise.

Calum:
no, you googled "having troubles with linux from scratch".

It's a pretty obvious difference, and i think if a person is incapable of seeing the difference between "linux from scratch" and "having troubles with linux from scratch" then, yes, they should probably stick to ms windows.

Navigation

[0] Message Index

[#] Next page

Go to full version