How to build distro from scratch


Recommended Posts

I am not experienced enough to do it, but I am just curious.

I mean, the kernel itself does nothing. Do you have to format a partiton as ext3 or something, place all bin files there and then it will work?`

Just tell it simple, I am not going to do it.

585698810[/snapback]

There's a book about how to do that, it's free and open source.

http://www.linuxfromscratch.org/

EDIT: The latest release for online viewing is here. Starts with partitioning, then setting up a tool chain, boot strapping adding the system tools, and finally being rebooting.

To make a useable distribution takes about a month of half-hearted work (for a cross compiled to run on an old MIPs system). To use on a PC with a graphical interface is a week or two of work - most of it waiting for things to compile and fooling around fixing dependencies by yourself: I don't recommend it unless you really want to make a hobby of Linux.

The best part: You could have found this amazing resource by simply putting your post title ("how to build [linux] distro from scratch" into a google search bar and clicking "I'm feeling lucky".

There's a book about how to do that, it's free and open source.

http://www.linuxfromscratch.org/

EDIT: The latest release for online viewing is here. Starts with partitioning, then setting up a tool chain, boot strapping adding the system tools, and finally being rebooting.

To make a useable distribution takes about a month of half-hearted work (for a cross compiled to run on an old MIPs system). To use on a PC with a graphical interface is a week or two of work - most of it waiting for things to compile and fooling around fixing dependencies by yourself: I don't recommend it unless you really want to make a hobby of Linux.

The best part: You could have found this amazing resource by simply putting your post title ("how to build [linux] distro from scratch" into a google search bar and clicking "I'm feeling lucky".

585698980[/snapback]

Okay. Thanks.

About googling, I don't want to read 2464 paged books or sites, I just want a short responce, like yours.

I was actually going to post the same question. I was really curious, and that's a great site. Thanks!

585705364[/snapback]

Totally agreed, I mean there's far too many distros out there - so I always wondered what it would take to actually build a custom one.

I won't be doing this anytime soon - I mean, why be annoying and released another one out (when they're all essentially the same, except for program installations).

duh! the point of this thread is to make one's own distro - not to use an existing one.

585710580[/snapback]

I don't see much difference.

You choose all the packages on your system with portage, in an easy and powerful environment, and get easy access to all the latest code and kernels. How is that different to building your own distro really, when you think about it you could save allot of time doing it this way :)

"(when they're all essentially the same, except for program installations)."

:yes:

Edited by Knight'

Knight', that's true, but it doesn't address the point of the thread:

Just tell it simple, I am not going to do it.
He's looking for information on how distros are built, not how he could go about getting a customised box set up. There's a fine line... but the difference is that he wants the 'theory' of it, not what is practical. That's what I think he means, anyway.
Knight', that's true, but it doesn't address the point of the thread:He's looking for information on how distros are built, not how he could go about getting a customised box set up. There's a fine line... but the difference is that he wants the 'theory' of it, not what is practical. That's what I think he means, anyway.

585712263[/snapback]

Fair enough, I misread what he was asking for. :)

Check this out:

http://wiki.linuxfromscratch.org/index.php?pagename=LFS

It's not "simple" but it does describe howto build your own distro.

Fair enough, I misread what he was asking for. :)

Check this out:

http://wiki.linuxfromscratch.org/index.php?pagename=LFS

It's not "simple" but it does describe howto build your own distro.

585715172[/snapback]

Now you're with us :) and damn, that's a lot of sub-chapters. I guess I'll be skipping that any time quick.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, spoken like a true blind hater, you don't even provide arguments. Please, go check my comment above to @seacaptain and you'll find out why what you say doesn't make sense in this context...
    • Get used to this, with AI tooling now uncovering new vulns and getting them exploitable far faster than has ever been possible before software is going to need to be updated far more frequently. Back in the day it may take reseachers weeks or months to do what AI can now do in hours. Once its a threat is discovered it's weaponsized far more quickly, meaning you simply can't be waiting 2, 3, 4 weeks to deploy a patch, it needs to be patched immediately. Going to be interesting handling this in the enterprise space where traditionally patching has been steady, but very staged (and rightly so up until now), that is going to have to change.
    • You don't need to "close all browser sessions constantly" or wait for updates to install. The updates download in the background while you use the browser, without interrupting you, they install automatically the next time you launch the app. And they install very fast (depending on your storage speeds, of course), you have to wait at most 2-3 extra seconds, if any. Seems like you haven't used Edge in a loooooooong time...
    • Segra 1.6.0 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.0 changelog: Recording: Added HDR support. Grand Theft Auto: Added game integration for deaths (FiveM and RAGE MP supported). Highlights: Added customizable padding for highlights. Replay Buffer: Added a shockwave visual effect when a replay buffer clip is saved. Audio: Increased the maximum sound effects volume from 100% to 200%. Hotkeys: Fixed hotkeys not triggering while unrelated keys were held. Installer: Added code signing to verify publisher identity, branded the installer, and reduced OS security warnings. OBS: Updated the supported OBS version to 32.1.2. Download: Segra 1.6.0 | 74.4 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      PsYcHoKiLLa
      175
    3. 3
      +Edouard
      163
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!