Build Your own Linux Distribution From Scratch

8 views
Skip to first unread message

Jashaswimalya Acharjee

unread,
Jul 13, 2020, 9:21:18 AM7/13/20
to NIT Agartala GNU/Linux Users Group
A few months ago I thought about Operating Systems. How they work and how they function, and realized that why should each and everyone of us be dependent on any company to provide us softwares or services on their demand?
  • I mean Linux Kernel is free for all.
  • A wide-range of utilities are available for free as part of the GNU Project.
So why can't we prepare our own Linux Distribution or Flavour?.
Then I stumbled across Linux From Scratch Project (Founded in the year 1998). It aimed to provide knowledge about system achitecture and CMMI(configure, make, make install).
Got started Building the Project (A distro of Linux on my Own) around 12 days ago, came across many hurdles. Read their documentation and gathered knowledge to compile a system of my own. And finally a day before yesterday I built a basic Operating system with the Core-Utilities of any Linux system and Systemd as the initializing daemon. (Yeah I could've gone with "OpenRC" or "runit" but I wasn't familiar with them). Currently Core Packages include:-
  • Bash-5.0
  • Perl-5.30
  • Python-3.8.1
  • Linux Kernel - 5.5.7
  • Vim-8.2 (As the primary and only text editor)
  • GCC-9.10.0
Apart from all of these currently no other Fancy stuff like X-Server or any window manager or Desktop environment isn't Configured. No networking is available right now on this distro. I don't plan on using it at this current stage but will keep it as my main project for the near future.

I am open to all suggestions. Currently Nothing is configured in this system.
PAM and SELINUX isn't enabled yet and I don't intend to enable it right now as I plan to use it offline only. And currently without a graphical user interface it runs on 63MB of RAM

The best thing about this is that its my own distro.
I have learnt a lot during the process. Took me 3 attempts to complete it. Finally after 16-20hrs of my final attempt I prepared the whole system form scratch.

Reference: Linux From Scratch (http://www.linuxfromscratch.org/) -> Start with the Linux From Scratch Book. Then proceed to BLFS(Beyond Linux From Scratch).


IMG_20200711_141330593.jpg


A.J

unread,
Jul 13, 2020, 9:37:09 AM7/13/20
to NIT Agartala GNU/Linux Users Group


On Monday, 13 July 2020 18:51:18 UTC+5:30, jashaswimalyaacharjee wrote:

The best thing about this is that its my own distro.
I have learnt a lot during the process. Took me 3 attempts to complete it. Finally after 16-20hrs of my final attempt I prepared the whole system form scratch.

Reference: Linux From Scratch (http://www.linuxfromscratch.org/) -> Start with the Linux From Scratch Book. Then proceed to BLFS(Beyond Linux From Scratch).
\___

Dear Jash, 
                  Great work, just keep it up.

Regards 
/aj

Jashaswimalya Acharjee

unread,
Jul 13, 2020, 9:45:29 AM7/13/20
to NIT Agartala GNU/Linux Users Group
Thank You, Sir.
Reply all
Reply to author
Forward
0 new messages