January 09, 2007

building your own distro

Wanna see something really geekycool? How about a little tutorial so that you can build the Linux distro you the way you think it should be. Learn "how to" here. Excerpt:

The Dreamlinux Project addresses, as one of its main goals, the development of specific tools to allow anyone, despite his level of technical knowledge, being able to design and produce a Linux Distro that meets all his/her requirements . The Project also aims to research, learn and share all the knowledge produced during the Dreamlinux development process. ... In order to turn the dream into reality, the MkDistro Tool was born. MkDistro has evolved to an excellent tool for building and remastering modules and whole Distros . It is developed by one of our co-founders, nelsongs (Nelson Gomes da Silveira), leveraging the Morphix approach of modules and his previous works on developing the HD remastering scripts for the Kurumin, Knoppix, Kanotix and Beatrix Live CD Distros . ... MKDistro basic components

a) Mkdistro: it' s the basic tool responsible for launching, through its auto explained menus and dialog boxes, all the processes regarding the build of Distros. It's easy and intuitive to manage. Actually MkDistro so far comprises a set of 04 ( four ) scripts, mkdistro.sh, mkdistro_main.sh, mkdistro_clean.sh and mkcd.sh, with the main one (mkdistro.sh) using the others in some specific phase of the work.

b) Base-Module (BM): it's a slimmed down knoppix-like image comprising a Morphix patched Linux kernel, kernel modules and the whole set of applications and scripts needed to detect, configure and initialize the system hardware found in the computer.

c) Base Main Module (BMM or Working Module): it's a complete debian file system made up via a debootstrap procedure and the addition of very basic and essential applications designed to serve as a baseline for the full development of the Distro's Main Module.

d) Distro Main Module (DMM): it's the final module of the Distro you developed. In other words, it's practically the whole Distro, made up on top of the Basic Main Module chosen . This module will be later combined with the Basic Module in order to become the final iso image of your Distro.

e) Iso Image: it's the resulting image from the union between the Basic Module and the Distro's Main Module . So, this image is your final operating system which, after burned onto a CD, will become your new Live CD Linux Distro, capable of not only be run directly from the CD (provided you have set up your Computer's bios) as well as be installed onto your computer's HD.

There's a lot more there. Suffice it to say that you can do your own thing. I might start working on PhysicsGeeknix.

One caveat: the process needs to be performed on a Linux system. I haven't tried it while running a Live CD, but I bet that an external hard drive and a second CD burner are all that's required. I'll provide an update when my children are out of college which, by my reckoning, will be in about 20 years.

Ehh, I'll find the time soon enough.

Posted by Physics Geek at January 9, 2007 02:24 PM | TrackBack StumbleUpon Toolbar Stumble It!