I don't know what you're trying to do but the easiest thing would be a bash script you would run after installation which does everything you want to change if it's just some setting and packages
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I want to make a custom distribution for a specific audience group with a custom selection of packages, themes and bookmarks.
You might consider using something like Archiso (https://wiki.archlinux.org/title/Archiso). On an arch-based distribution, you can try “mkarchiso -h” to get the options, and from there determine what you want.
Doesn't Nix OS support this out of the box?
The big boys often start with Gentoo. Note that the Gentoo package manager can install precompiled binaries, even if the distro itself only uses it that way for a small number of packages. You just have to set it up appropriately. Might be more work than you want to do if your creation isn't as "original" as ChromeOS, though.
I can't say if it's the easiest, but looks like using the archiso
tool you can create pretty easily Arch-based system.
The harder part is using the Calamares installer.
You’re probably looking for Linux From Scratch. Just so you know, it is quite a commitment. But if that’s your bag it’s also a lot of fun.
You might not need to, If you just want a distro you can install with your dotfiles and programs maybe a setup script which you can run after installing a distro is a better idea.
the best way i find is do a minimal install then if you are using deb bases system you just create a package.txt file with a list of all the packages you want to install then you just run sudo apt install < package.txt
Then create a config directory tree for all the home directory configs in the correct paths then you can gnu stow to create links to the correct path in the home directory.
Then you can commit it to a git Repo or copy it to a file share. so that on your next system install you just do a git clone to your stow directory then run stow to create the links. note you can also manage your package.txt in git as well.
Just search for "(your favorite distro name here)minimal install", download whatever pops up first, install it and customize it to your hearts content.
But if you are talking about (entirely) making a zero, brand-new distro... then Linux From Scratch is your best bet.
It's easy to make a Debian or Ubuntu preseed ISO with whatever customization you like.
For Ubuntu base check out Cubic. I had good results with it.
Thanks. Seems to be similar to remastersys which was what i used years ago.