LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 03-08-2024, 12:33 PM   #1
ossnikhil
LQ Newbie
 
Registered: Mar 2024
Location: India
Distribution: EndeavourOS
Posts: 6

Rep: Reputation: 0
How to create a new Linux Distro (just for learning purpose, not to actually create a new one))


Hi all,
I have been using Linux for over 15 years but have never been on the development side. I am planning to learn something on that side of things now and planning to create a new distro as part of learning. Nothing much new but basically something based on a existing solid distribution. Like how Ubuntu is based on Debian and EndeavourOS based on Arch. Basically just want to choose few things like based on Arch, using KDE, using calamares installer etc.
I know it might be a long task depending on how much I want to customize, but what I am looking from you all is reference to any article/book/video/person who has done it before. Basically I am requesting you to point me in the right direction.
I know that some distro providers also give option to customize their OS like Suse studio and I think Ubuntu also has something like that, but I am not looking for that. I am looking a bit more than that.

Thank you in advance for reading my post and any help if you can provide.

Thanks
Nikhilesh
 
Old 03-08-2024, 01:16 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
In general it should go in the other direction: if you have something to distribute you can make your own setup to publish it. Otherwise [obviously] creating a distro always depends on the base OS and the goal you want to reach. In most cases maintaining a distro requires a lot of effort. Creating a single release isn't all you need to think about.
From the other hand customizing a distro is usually just a package, or a tool, there is no need to create a new distro.
 
Old 03-08-2024, 01:55 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,113
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
If me. I'd look for a core iso and build up on that.

Like Debian Net. OpenSuse 15 Leap net iso. AntiX 23 core iso. Slacware scripts. Lots of choices.

Even Lilidog gives you tools to build your own build.

I think Ubuntu dropped the core iso release cycle.

https://www.youtube.com/watch?v=gddlhr9ST9Y

https://mike632t.wordpress.com/2022/...use-leap-15-4/

https://www.youtube.com/watch?v=atDsh3T_jeo

Last edited by rokytnji; 03-08-2024 at 02:01 PM.
 
Old 03-08-2024, 04:53 PM   #4
shortarcflyer
Member
 
Registered: May 2022
Location: Louisiana/USA
Distribution: Void, ArchBang, PCLinuxOS, Mabox, ArcoLinux, Archman, RebornOS
Posts: 524

Rep: Reputation: 51
Quote:
Originally Posted by rokytnji View Post
If me. I'd look for a core iso and build up on that.

Like Debian Net. OpenSuse 15 Leap net iso. AntiX 23 core iso. Slacware scripts. Lots of choices.

Even Lilidog gives you tools to build your own build.

I think Ubuntu dropped the core iso release cycle.

https://www.youtube.com/watch?v=gddlhr9ST9Y

https://mike632t.wordpress.com/2022/...use-leap-15-4/

https://www.youtube.com/watch?v=atDsh3T_jeo
I would not recommend Lilidog for building off of. The creator is often changing things (such as scripts, etc.) that often presents issues in getting a reliable build. Also Lilidog forum which is maintained by the creator of Lilidog often exhibits issues itself. I would instead go with an Antix, Debian or Arch related distro to build off of instead a new to world distro with possible iffy results. I can attest to the above info as I installed/ran default and custom builds off of Lilidog for about 1 1/2 years and was not satisfied with the results I got. YMMV.
 
Old 03-08-2024, 05:19 PM   #5
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,602

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
Quote:
Originally Posted by ossnikhil View Post
what I am looking from you all is reference to any article/book/video/person who has done it before. Basically I am requesting you to point me in the right direction.
You mean like //www.linuxfromscratch.org ?

 
1 members found this post helpful.
Old 03-08-2024, 09:46 PM   #6
ossnikhil
LQ Newbie
 
Registered: Mar 2024
Location: India
Distribution: EndeavourOS
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
In general it should go in the other direction: if you have something to distribute you can make your own setup to publish it. Otherwise [obviously] creating a distro always depends on the base OS and the goal you want to reach. In most cases maintaining a distro requires a lot of effort. Creating a single release isn't all you need to think about.
From the other hand customizing a distro is usually just a package, or a tool, there is no need to create a new distro.
Thanks for your reply. Like I said, the aim is not to create a new distro but to learn how they are made and how they work. Basically how is everything stitched together.
Like you said "customizing a distro is usually just a package, or a tool" thats what i am also thinking. There should probably a script or a tool.
 
Old 03-08-2024, 10:51 PM   #7
ossnikhil
LQ Newbie
 
Registered: Mar 2024
Location: India
Distribution: EndeavourOS
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rokytnji View Post
If me. I'd look for a core iso and build up on that.
Thats exactly what I want to do, like how Ubuntu is developed on Debian and EndeavourOS is based on Arch.
There are so many small Linux distros out there, many are maintained by a single person or may be couple of people.
I understand the amount of work is directly proportional to the amount of customization you want to do, and so a minimally customized distro should not be a very big task.
I don't have much background of programming side of Linux and I am going to do it on my own, so I am fine spending even a year or more on my weekends if that's what it takes.
I personally like EndeavourOS (I have been a distro hopper my whole life till I came to EndeavourOS and have stick to it for last 2 years or so).
I believe there will be a way to take base Arch, stick a GUI installer to it, put KDE or Gnome, customize some theming, choose some default softwares etc. and there should be a tutorial or article for same, but have not found anything till now.
 
Old 03-09-2024, 03:06 AM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Check out Tiny Core Linux, very small size, but works remarkably well.

http://tinycorelinux.net/
http://tinycorelinux.net/book.html
 
Old 03-09-2024, 03:30 AM   #9
ossnikhil
LQ Newbie
 
Registered: Mar 2024
Location: India
Distribution: EndeavourOS
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by boughtonp View Post
Yes and No, I am aware of linuxfromscratch and have tried following also but,
1. Very frankly I have not put enough time on this.
2. I followed this video "https://www.youtube.com/watch?v=IXA0GNTLf_Q" but it was just doing things and not really explaining much. I think I need a little more learning.
3. I have not went through the book.
4. I felt like its not starting from any existing distribution and instead literally starting from scratch, which I felt like a bit too much for me.
5. I thought its a little too minimal, but now when i went to the link I can see that there is a Beyond Linux from Scratch as well which means i can do more than just core linux.

Overall I will give it a try again, but yes I am looking for things like this.

Thanks again for your suggestion.

Thanks
 
Old 03-09-2024, 03:33 AM   #10
ossnikhil
LQ Newbie
 
Registered: Mar 2024
Location: India
Distribution: EndeavourOS
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
Check out Tiny Core Linux, very small size, but works remarkably well.

http://tinycorelinux.net/
http://tinycorelinux.net/book.html
This is very much inline with what I am looking for. Not sure if it was updated recently or if the project is active but its useful for me for sure.
Many thanks for the information.

Thanks
 
Old 03-09-2024, 08:42 AM   #11
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
They have just released a new version 15.
 
Old 03-10-2024, 03:49 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by ossnikhil View Post
Thanks for your reply. Like I said, the aim is not to create a new distro but to learn how they are made and how they work. Basically how is everything stitched together.
Like you said "customizing a distro is usually just a package, or a tool" thats what i am also thinking. There should probably a script or a tool.
That is exactly the way. If they think there is something new that should be distributed as a new thing, they create a new distro. Exactly this happened with all the distros.
The next step is to find a base distro, learn how does it work and what should be modified, how can be the novelty being integrated into it.
When you ask "how is everything stitched together", the answer is obviously different in every cases, there is no common way for that.

For example ubuntu (or mint) created their own repos with their own packages, life cycle management system, special tools...
None of them started with any of the suggested distros.
 
Old 03-10-2024, 07:26 PM   #13
___
Member
 
Registered: Apr 2023
Posts: 139
Blog Entries: 1

Rep: Reputation: Disabled
Here's my uniquely personal views on this:
I'm glad you're using this to learn how distros really work (& not to create another one!)

My simplistic view of what a distro is:
The kernel and packages, custom configured.

Virtualbox is my favorite environment to play in.

My 'dream goal' (which I don't have the diligence nor knowledge to currently do)
Is to create the most minimal kernel .config for simple vbox VM.
Collaboration is facilitated because everyone has the same 'PC'!

And I simplify things by using just one package, without choosing package management:
BusyBox which can also be customized a bit.
Start with the distro that I love playing with: mll

My next step would be:
A repository of static binaries, which could be installed by a simple wget of the binary.
This does not address the whole GUI world

Last edited by ___; 03-10-2024 at 07:30 PM.
 
Old 03-11-2024, 11:16 PM   #14
shortarcflyer
Member
 
Registered: May 2022
Location: Louisiana/USA
Distribution: Void, ArchBang, PCLinuxOS, Mabox, ArcoLinux, Archman, RebornOS
Posts: 524

Rep: Reputation: 51
An Arch based distro that would be a good learning experience to build off of would be ArchBang. WM is openbox and it is a very minimal distro to add and customize to your liking. I have it multibooted on several of my laptops and use it regularly with no issues so far.

https://distrowatch.com/table.php?distribution=archbang

https://archbang.org/

https://archbang.org/download/

https://sourceforge.net/projects/arc...iles/ArchBang/
 
  


Reply



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
LXer: Fit for purpose: The case for the purpose-built database LXer Syndicated Linux News 0 07-26-2021 05:22 PM
[SOLVED] What is the purpose of lib64? How does it serve it's purpose? BMan8577 Linux - Newbie 2 09-20-2011 01:39 PM
HP UNIX alternative for learning purpose icehari Other *NIX 10 01-15-2010 11:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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