LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-04-2013, 12:03 AM   #1
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
How to build Linux distro?


Having read the LFS playbook this question is less tech oriented and more procedural and maybe philosophic.

1. Can someone explain in laymen terms the maybe handful of steps involved. Am aware that within each step there may be tens of dozens of substeps and myriad scripts. There is a reason for my question but first what are the steps?

Start with kernel, add tools, add packages, etc.

2. The purpose is.. why do some distros have drivers and others not? Surely a distro maker does not go searching and d/l video, sound, scanner, printer drivers from all over the net. That is reinventing the wheel. Is there not a central larger repo where these guys go to get all printer drivers in one whack, another for all video in one whack, etc.

One well known distro leaves off Libreoffice in order to leave room for drivers and it shows. It will load on most everything. Conversely, another distro leaves out the wpa-supplicant wireless package. Many common home and business wireless networks are WPA protected but a newbie would never know why he is not connecting. Icon is there, lspci shows device there , dmesg shows it but no connection because something as common as wpa-supplicant package is not installed by default thus wasting a new users time and turning them away from Linux.

3. If I were to build a distro it would be at least 1gb of nothing but drivers and setup tools and then let the user d/l user software. Todays .iso images are already over 1gb, so what's the problem? To the best of my knowldge, many graphics, printer, scanner, camera etc drivers are on the order of kilobytes or much less. A 4.7 gb DVD disc should allow for thousands and thousands of drivers going back 10 years. Many businesses must still use Plll / P4 era hdwr. I understand that newer hdwr presents issues.

4 How many drivers are included in the kernel as compared to how many are loaded by the kernel?

Thanks
 
Old 01-04-2013, 12:26 AM   #2
Binary Mantis
LQ Newbie
 
Registered: Jan 2013
Location: England
Distribution: Slackware 14.0
Posts: 4

Rep: Reputation: 1
Many drivers are propriety and distributing those drivers is a bit of a grey area in terms of legality because they involve patents, which is why many distros don't include them.

The other problem, perhaps the bigger problem, is that most drivers are designed for windows and the code, being propriety, needs to be reverse-engineered or built from scratch. Not a simple task, I'm sure.

Last edited by Binary Mantis; 01-04-2013 at 12:31 AM. Reason: Didn't read the thread properly and suggested LFS.
 
1 members found this post helpful.
Old 01-04-2013, 06:37 PM   #3
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,059
Blog Entries: 1

Rep: Reputation: Disabled
Hi:

This is a pretty good article on "How To Build Your Own Linux Distro"
http://www.tuxradar.com/content/how-...n-linux-distro

http://www.instalinux.com/

This How To explains how to compile drivers for Linux automation and add them to your Linux image. Compiling drivers for Linux automation can be a daunting task, but once your environment is set up and you've done it a few times, it becomes quite easy.

http://www.symantec.com/connect/arti...tomation-image

Good Luck!
 
1 members found this post helpful.
Old 01-04-2013, 09:32 PM   #4
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: Slackware, OpenBSD
Posts: 1,208
Blog Entries: 4

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
Originally Posted by Trio3b View Post
Is there not a central larger repo where these guys go to get all printer drivers in one whack, another for all video in one whack, etc.
Doubtful. Some companies, such as HP, provide Linux drivers. Other drivers are created by people in the open source community, as Binary Mantis explained. And considering how many pieces of hardware there are, it is unlikely all open source developers and companies submit their drivers to a common repository. I am only guessing, but I am confident my guess is correct.

Quote:
If I were to build a distro it would be at least 1gb of nothing but drivers and setup tools and then let the user d/l user software. ... A 4.7 gb DVD should allow for thousands and thousands of drivers going back 10 years.
Consider how much space thousands of drivers would need. Then consider all of the applications that most people regard as essential for an operating system. Those 4GB discs do not include everything as it is. So where would the room for more come from? The bottom line is there is a finite amount of space on a disc and the developers of each distribution must decide what to include and what to leave out of their installation discs. Unlike proprietary systems like MS and Apple, Linux systems are designed around the idea that people will install a basic system and down-load whatever else they want. So the installation disc contains what the disto's developers and users consider the essentials upon which to build a full system. Your idea would require two installation DVDs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Linux Distro to build LFS on top of MaroonScorpion Linux From Scratch 18 09-24-2012 10:15 PM
Build for multiple Linux distro grob115 Programming 14 08-14-2012 11:47 AM
LXer: Build Your Own Linux Distro LXer Syndicated Linux News 0 04-11-2009 10:20 PM
can't install ANY Linux distro on PC build lsudolemite Linux - Desktop 25 02-20-2008 05:20 PM
Build Custom Linux Distro/Flavor mmc Linux - Distributions 7 01-25-2005 04:57 AM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration