this post was submitted on 27 Jul 2023
18 points (95.0% liked)

Linux

47527 readers
1509 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Currently what's the best way to create your "spin" or remix of a Linux distribution? It doesn't matter which distribution it uses as a base. I just want to be able to 1.add and remove packages 2.be able to change deault settings easily.

top 13 comments
sorted by: hot top controversial new old
[–] hinterlufer@lemmy.world 9 points 1 year ago (1 children)

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

[–] mfat@lemdro.id 4 points 1 year ago

I want to make a custom distribution for a specific audience group with a custom selection of packages, themes and bookmarks.

[–] AzzyDev@beehaw.org 8 points 1 year ago

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.

[–] grandel@lemmy.ml 7 points 1 year ago

Doesn't Nix OS support this out of the box?

[–] nyan@lemmy.cafe 5 points 1 year ago

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.

[–] eruchitanda@lemmy.world 4 points 1 year ago

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.

[–] Veraticus@lib.lgbt 4 points 1 year ago

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.

[–] cow@lemmy.world 4 points 1 year ago

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.

[–] lordnikon@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

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.

[–] GustavoM@lemmy.world 2 points 1 year ago

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.

[–] al177@lemmy.sdf.org 2 points 1 year ago

It's easy to make a Debian or Ubuntu preseed ISO with whatever customization you like.

[–] gq8kyeQW4f4@lemmyf.uk 2 points 1 year ago (1 children)

For Ubuntu base check out Cubic. I had good results with it.

[–] mfat@lemdro.id 1 points 1 year ago

Thanks. Seems to be similar to remastersys which was what i used years ago.