LinuxQuestions.org
Visit Jeremy's Blog.
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 11-15-2007, 05:05 PM   #1
popocapet
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
What are the big steps when building a distro from source?


I have been using mainstream distros such as Fedora and Ubuntu for a few years. Now I am interested in learning how to build a distro from source. I wish to do this so that 1) I may learn the inner workings of gnu-linux on an intimate level, and 2) so that I may customize the performance and application inventory of the distro.

I know that one of the most popular distros on the web is Gentoo and therefore many people are likely to recommend me to their site. I have reviewed [skimmed] the Gentoo handbook and have come up with the following meta-question before I undergo the process of building Gentoo from scratch.

Are the following steps - albeit broad - the necessary steps, in the necessary order, to successfully build a distro from source?
1. Boot an empty system with a live cd, or with an install cd.
2. Format the empty hdd with a tool such as fdisk.
3. Use the gcc available on the cd to compile the distro's toolchain and all pertinent libraries.
4. Copy the compiled toolchain and libraries to the newly formatted hdd.
5. Chroot to the new hdd and compile the kernel using the new toolchain and libraries.
6. Pick a package maintenance system to use and compile all necessary dependencies on the new system.
7. Compile the package system itself and run it to install all desired packages on the new system.
8. Reboot and you're done?




I hope to avoid much frustration by having the [correct] big picture in mind during the entire process.
 
Old 11-15-2007, 05:44 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I've never done it, but I've heard good things about Linux From Scratch for building your own distro from source. A buddy told me they have step by step guides to help you get along.
 
  


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: Baby steps for open source storage LXer Syndicated Linux News 0 09-03-2007 07:11 AM
LXer: Ibm VP Scott Handy on Big Blue's Big Plans for Open Source LXer Syndicated Linux News 0 04-07-2007 10:16 PM
LXer: Open Source Java-Baby Steps LXer Syndicated Linux News 0 07-21-2006 07:54 PM
re: steps for building pc ergo_sum Linux - Hardware 5 10-09-2005 02:51 PM
First steps to building a Server tommytomato Linux - General 1 05-31-2004 10:08 PM

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

All times are GMT -5. The time now is 12:16 AM.

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