Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.