LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2008, 12:34 PM   #1
leftistman
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
How to start my own distro?


I know, it's kind of a weird question to ask in the newbies forum and i guess it's kind of asking to get flamed type of a question, but I'm serious.
I'm thinking about creating my own distro just to learn how it's done.
the must common answer would probbaly be "go to linux from scratch" but i looked into it and i don't want to start from scratch and i don't want to create a live cd like slax.
i'm thinking more about taking some distro (fedora, ubuntu, whatever) and modify it.
but i have no clue what's to do first.
what i want to do is change messages in the install process, maybe change the disk partition program, have my favorite packages installed, stuff like that.
any reference material and suggestions will be welcomed.
 
Old 03-13-2008, 01:15 PM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
Hello and welcome to LQ.

You could download a distro mount the iso modify the installation files and burn it back to disk then install with that. You would just need to dig through the install scripts and find what you wanted to change, prepackage etc.
Remember everything is a file here, everything can be changed.

hth
 
Old 03-13-2008, 04:15 PM   #3
rosspy
Member
 
Registered: Feb 2008
Distribution: debian
Posts: 45

Rep: Reputation: 15
You could also try linux from scratch http://www.linuxfromscratch.org/
 
Old 03-13-2008, 04:34 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Check out Fedora spins (new as of Fedora 8) -- it piqued my interest when I read about it, but I haven't had a chance to test it out.
 
Old 03-13-2008, 04:36 PM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
The website, wiki or forum for a distribution probably has a "remaster script". If you go to any distribution specific forum and search for remaster, you should find it.

Often it is a manual script (shell commands but not a shell script).

The key and complicated step is to chroot to a read/write copy of the liveCD while running in some outer boot of Linux (which may also be the liveCD) which has the same kernel. Then you can use the ordinary package installer to install new packages and/or ordinary configuration methods to reconfigure other things. Then exit the chroot, clean up a few things and pack that read/write copy as a .iso file.

I've wondered if there was any reason you needed to do anything that complicated for small changes, but I haven't tried it myself. I think you should be able to just make (or simulate with aufs) a read/write copy of the liveCD, then directly change a few files in the copy (without needing to chroot and run inside that copy) then pack it to a .iso file.
 
  


Reply

Tags
distro



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
Advice about which distro to start with. stmdk Linux - Newbie 16 03-27-2006 04:19 PM
Which distro to start with?! Pedy Linux - Newbie 10 08-20-2005 02:10 PM
Were to start... And which Distro to Choose... MaxtoRs Linux - Distributions 4 04-26-2005 07:57 AM
how can someone start his own distro?? binary_w0lf Linux - Distributions 6 09-09-2003 06:21 PM
Anyone want to start a new Distro ? traked Linux - General 47 01-13-2003 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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