954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Making a distro

How would I go about maing my own linux distro for me and my friends (students)? Are there any good tutorials?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

This is how to create your own bare-bones Linux distribution from scratch:

http://gok.customer.netspace.net.au/power2bash/buildMin/buildMin.html

There are also things like BYOLinux and Linux from Scratch that guide you, too. But, don't think for a second that building your own distro is not a big undertaking. You will have to make all of the init scripts, all of the packages, everything that the system needs to be installed, bootable, and functional. I usually recommend folks just stick with a distro they like, and customize it to their needs. There are ways with many distros to install additional packages at install time, or you can hack out the installer scripts to do it yourself.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

This is how to create your own bare-bones Linux distribution from scratch:

http://gok.customer.netspace.net.au/power2bash/buildMin/buildMin.html

here are ways with many distros to install additional packages at install time, or you can hack out the installer scripts to do it yourself.


knoppix is very good for that. Also there is many ubuntu based break offs, such as nubuntu.

Knoppix allows you to cut down its "fat" easily

njzillest
Newbie Poster
14 posts since Mar 2006
Reputation Points: 10
Solved Threads: 0
 

I HAVE MADE IT!

Me and some schoolfriends got together and i now my own system. Our goal is to make it newb friendly :) so it only has, for example 1 of everything whereas usually there are many programs bundled with disstros that are very similar and quite unnccary.

We are now working on an HDD installer (have a lived made)
However, the downside is that as of yet, all packages must be configured from source and no nice GUI tools.

I have been using mainly LFS kit packages and some extrass but is it possible to get the source code for e.g YaST and modify it?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

Another option is rPath. ( www.rpath.com) . They provide an online service which lets you piece together your own distribution pretty easily. rPath is a Fedora dervative.

I've used it to create a hardened appliance OS for my employer.

BentBriar
Newbie Poster
1 post since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

rpath doesn't make sense though. at least not to me.

TheNSS
Junior Poster
Banned
110 posts since Jun 2006
Reputation Points: 10
Solved Threads: 3
 

Doesnt make sense to me either. What does it do and how do you use it?

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

so, what's your distro called, is it something cool like proliant linux? you sould call it Microlinux or Pear Linux

TheNSS
Junior Poster
Banned
110 posts since Jun 2006
Reputation Points: 10
Solved Threads: 3
 

Lol no "proliant linux" would imply it would run on a compaq prolinat server which is kinda hard to configure and hates linux.

We have now made the system into a livecd using SquashFS and there is a simple scrpit to partition and extract it all. However everything is still alpha.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

where can i get that script? i'm also trying to get my own distro

TheNSS
Junior Poster
Banned
110 posts since Jun 2006
Reputation Points: 10
Solved Threads: 3
 

Made it.

Here is basically steps to distro making:

Make an LFS system

Use tutorials such as "customising knoppix" and "making a livecd" to make a livecd of your system

On the livecd make a small python script (we got this off the net, cant remember where but it is VERY similar to a UNIX sysinstall) on the desktop of the root user


The only issue is it wont work on machines of different spec to the deelopment one as theres no kudzu etc....

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

sorry i'm a stupid idiot, how to you make an lfs system, you have to use the lfs live cd from inuxfromscratch.org ? i tried that and it's stupid. and don't give this link for an answear: l inuxfromscratch.org

TheNSS
Junior Poster
Banned
110 posts since Jun 2006
Reputation Points: 10
Solved Threads: 3
 

All LFS livecd is is packages for everything (gcc, kernel, x etc....), some tools and the book which explains how to compile all the packages.

We built all the packages as per the book but got our own copies and compiled from suse

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

You could remaster the PCLinuxOS CD to your liking...since there are about every single window managers in the synaptic repository...you can configure your entire install and then export it into a burnable .iso file.

I've never found an easier way of rolling your own distro. http://www.nothickmanuals.info/doku.php/pclinuxoslivecd?DokuWiki=bcb19cccfae46b90b320466f1a66613c

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

I have always liked PCLinux OS, will try this as a development fork.
We like our current system as it is "clean" (no bloat) nd very up to date. We just now need a package manager and we are trying to get rid of the python script and develop a GUI installer (we have decided this will be a desktop system)

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

"Lol no "proliant linux" would imply it would run on a compaq prolinat server which is kinda hard to configure and hates linux."

Not to give others the wrong impression about Proliant servers and Linux, I got a datacenter about 50 feet on the other side of ths wall that has over 150 Linux servers running on both older Compaq Proliant systems as well as newer HP Proliant and blade servers, inlcluding 20 that run ESX 2.5. It has been easy since at least 1998, boot SmartStart, specify Linux, next, next,... finish, boot Linux (RHEL or compatible in our case), or point to a Kickstart server...and achieve unbelievable uptime.

Have you had bad experiences with Proliant hardware and Linux or were you just being funny?

markdean
Junior Poster in Training
56 posts since Mar 2006
Reputation Points: 14
Solved Threads: 1
 

I think proliant servers work well with linux.

TheNNS
Nearly a Posting Virtuoso
1,467 posts since Jul 2006
Reputation Points: 175
Solved Threads: 15
 

they do its just smartstart is a pain in the ass

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

and its old old old proliant i have so it has EISA cards, no apm and my model is not a 686 so some distros dont work

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

Status report:

New distro name: SourceLinux

Originally was a standard LFS system but we rebuilt with all newest stable packages optimised for the i686. Has a livecd mode with an ncurses based installer.

Am currently using some of PCLOS / mandrivas GUI installer code as a work in progress and am attempting to get APT to work as the package manager

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 600
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: