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

    • It depends, but it's also going to push more adoption of open source AI models that can run locally, I'm seeing a pattern among the US and China when it comes to closed and open source AI models, they close when they feel they have the advantage, open up when they feel they don't. This has little to do with security and everything to do with control, the irony is that the ones that do go open and get the community behind them are the ones that have the real control, hence why we keep seeing this seesaw from closed to open. Ultimately, it's far too dangerous to let any one country or corporation to control AI, which is why open source AI or AI you can run locally on your hardware is very likely going to be the future of AI over the long run, this is especially the case as AI becomes more powerful and useful for user, privacy, security and censorship will become more of an issue for users and businesses.
    • A person should only be required to click through to an article if they want to know more details. The headline should give basic facts. A basic fact would include the name of the service being shut down.
    • That would probably be a good outcome, but it would also require other "features" be changed to comply, such as Auto play, scrolling, and advertising. Having the laws shift these platforms back to a socially responsible and useful places is a benefit for everyone. The addictive nature is the problem, and while many blame the individual, psychologists would suggest the platform is using a well trodden playbook to hook in more revenue..
    • It is in fact being discontinued in the US in July.
    • It was a rather nice rant as I rather dislike when people support the shitifcation of the Internet. My comment also factually applied the definition of "clickbait' to this headline unlike your comment. I have been reading this site for some 20 years now so I will call them out when they are doing carp they shouldn't be doing but thanks for your concern. You can't even do a search by headline anymore to do a quick search to find something because most of the titles lack all the relevant keywords that should be there.
  • Recent Achievements

    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
    • Veteran
      branfont went up a rank
      Veteran
  • Popular Contributors

    1. 1
      +primortal
      523
    2. 2
      +Edouard
      207
    3. 3
      PsYcHoKiLLa
      114
    4. 4
      Steven P.
      90
    5. 5
      Nick H.
      71
  • Tell a friend

    Love Neowin? Tell a friend!