Creating a Operating system

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
User avatar
bashcommando
Level 1
Level 1
Posts: 20
Joined: Mon Aug 26, 2013 3:24 pm

Creating a Operating system

Post by bashcommando »

Hi,
I know this is kinda advanced but how do I create a working linux system from scratch?
I need:
[*]The Linux Kernel
[*]Keyboard and mouse drivers
[*]Basic linux packages
[*]and the commands to compile the system
I have a 10GB partition waiting!
Thank you in advance!

Edit: And I don't want to use LFS(Linux From Scratch)
If its linux, its SHOULD be open-source!
741cc
Level 3
Level 3
Posts: 158
Joined: Mon Sep 03, 2012 8:00 am

Re: Creating a Operating system

Post by 741cc »

Sounds like you want to try a minimal system. My installs these days usually consist of a [url=http://www.debian.org/CD/netinst/]Debian net-install[/url] iso performed in Expert Mode. If you de-select everything on the page where you install the desktop, the installation will complete and enable you to boot into a tty, similar to pressing ctrl+alt+F1 on a running linux system. From here, log in as root and install xorg gnome-core (and gdm3 if you want a log-in screen, otherwise use 'startx') for a basic Gnome system. If you want Kde, then install xorg kde-plasma-desktop.

Install synaptic if you prefer it to using a terminal, and add any extra software you fancy.
Or just install a window manager and go from there, the choice is yours.

Search for 'minimal installation' and you should turn up some more detailed how-to's as many distros provide a mini-iso.
Have fun.
User avatar
MartyMint
Level 7
Level 7
Posts: 1608
Joined: Thu Dec 27, 2012 10:50 pm

Re: Creating a Operating system

Post by MartyMint »

bashcommando wrote:
Edit: And I don't want to use LFS(Linux From Scratch)

Is there a good reason?

I ask, because that's exactly the tool you're looking for.
cwsnyder
Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Creating a Operating system

Post by cwsnyder »

Are you using a Linux kernel? No video drivers? No sound drivers? How about network drivers? Drivers for your mass storage system?

I think you AT LEAST need to read the LFS documentation so that you have SOME idea of what an operating system entails.

Your question sounds as if you have never worked at this level before and are blowing smoke.
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit
kyrios
Level 1
Level 1
Posts: 39
Joined: Sat Aug 24, 2013 6:46 am

Post by kyrios »

Hello,

You should look at this: http://www.linuxfromscratch.org
User avatar
bashcommando
Level 1
Level 1
Posts: 20
Joined: Mon Aug 26, 2013 3:24 pm

Re:

Post by bashcommando »

kyrios wrote:Hello,

You should look at this: http://www.linuxfromscratch.org
Again, LFS doesn't work for me
If its linux, its SHOULD be open-source!
Habitual
Level 13
Level 13
Posts: 4863
Joined: Sun Nov 21, 2010 8:31 pm
Location: 0.0.0.0

Re: Creating a Operating system

Post by Habitual »

cwsnyder wrote:I think you AT LEAST need to read the LFS documentation so that you have SOME idea of what an operating system entails.
+1
Just read the DOCs.
Conceptually, it is a Very Good Idea.
User avatar
tdockery97
Level 14
Level 14
Posts: 5060
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: Creating a Operating system

Post by tdockery97 »

You do understand that if you want to build an OS you'll pretty much have to do what is set down in LFS? Unless your idea of building an OS is just throwing a new wallpaper and theme on one that already exists.
Mint Cinnamon 20
cwsnyder
Level 6
Level 6
Posts: 1242
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Creating a Operating system

Post by cwsnyder »

You might also consider a minimal install of Ubuntu or another full distro which you like, or even Tiny Core Linux or Slackware. If you want to add software to your 'operating system', you will need to consider a packaging system, compiler/linker, and some method of checking for code dependencies.
LMDE Mate 64-bit, LM17.3 Cinnamon 64-bit
Debian Mate 64-bit, Xubuntu xenial 64-bit, Ubuntu-Mate 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS Mate 64-bit
Post Reply

Return to “Other topics”