New Linux user - I want to eventually make my own version of Linux, where to start?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
New Linux user - I want to eventually make my own version of Linux, where to start?
I'm quiet new to Linux. I've 'used' it before but never really used it as a primary OS, but now I want to. Ever since I started programming a year ago I've been interested in learning how everything with a computer works and being able to make my own software. Well now I want to know more about the OS side of things too and I figured switching to using Linux would great for this. (Plus, Linux just looks so much more awesome than Windows.)
I have to learn how to use Linux well first. Once I've done that though I want to start learning towards how to make my own Linux distro. I figured maybe start by modifying an existing one and go from there? I realize this is a broad question and not in the near future. Are there any useful resources? Articles/tutorials you can link me? Good sites with information? Some really useful books maybe? Just something to get me started and learning. (I know, google is my friend, but I thought asking you guys would give me some more reliable information.)
Before you can go any further, though, you've really got to ask yourself why it is that you want to create a new distro. (There are many dozens of them already of all shapes and sizes.) Two possible answers:
1) "I want a distro that is preloaded with all my favourite software." It's a lot easier just to reconfigure a standard system, but anyway... in this case you probably want to make a derivative of another distro. If I remember correctly, something like half the Gnu/Linux distros out there are basically pre-configured versions of Debian.
2) "I have some amazing new idea about how software should be managed/installed on a Gnu/Linux system." In this case, you need to forget for the moment about the distro and concentrate on writing the package manager. On the most fundamental level, the package manager is what really defines a distro.
While modifying an existing distribution is rather easy (besides that I personally wouldn't that call making my own distro) and can be done with simple to use tools (Debian's live-build, Remastersys, Linux Live, ...), it is a whole different thing to really create a distro from scratch. If you really want to do that, as mentioned before, LFS is the way to go. But before trying that make sure that you fulfill the prerequisites, if you don't you will learn nothing from LFS, except how to copy and paste commands you don't understand.
Also, while you can learn Linux on any distro there are distributions with a steeper learning curve, like Slackware, Arch and Gentoo. If you really want to learn I would recommend to use one of those distros.
I am a FAN of live-helper. I have used it to customize a minimal Debian system to my hearts content. I can assist you if you want detailed information in what I have done.
@hydraMax My reason is to know how it works because I like knowing how stuff works, and so if I do get an idea I can make it happen. I want to be able to be sitting around and go "Oh! I'd like to add this" and be able to do it. Thanks for the information guys!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.