Forums > Software & Hardware >

How to make a Linux-based OS.


Posts: 85

Threads: 16

Joined: Feb, 2021

Reputation: 0

Posted

1. Theres really no forum section where I can post this so I decided to post in here.

2. Don't ask what's the point of this, because this is just for people that are interested in a hobby like this.

3. You will need some sort of linux terminal.

 

First of all you will need to get this package

 

git clone https://github.com/MichielDerhaeg/build-linux.git

 

You will get a folder called build-linux

 

After that, you will want to run the following command inside build-linux:

 

sudo apt install build-essential musl-tools grub-pc-bin

then run this command:

git submodule init && git submodule update

 

After that, run:

make -j4 image

 

This will add the linux kernel files to build-linux. Then, it will build those files. Edit the kernel files to do whatever you desire. To compile it, run make -j4 image again.

 

Whenever the code is built, you will find a file called image in build-linux.

 

To test the OS, simply run:

qemu-system-x86_64 -hda image

You must have qemu installed if you want to test it out on an emulator.

 

More updates about this in the future especially if 0x90 doesn't talk sh!t

Also I'm a biden fan even though i post anti biden pictures.

https://discord.com/invite/nKwasWa62z << One of the biggest roblox-raiding discord servers

 

yranxzy

yranxzy

patron

Posts: 537

Threads: 105

Joined: Aug, 2020

Reputation: 24

Replied

seems cool but i cant fully vouch because 0x90 is my daddy 

lunar making a comeback????

Shade_0122

Loli Protagonist

Posts: 1478

Threads: 98

Joined: Jun, 2020

Reputation: 19

Replied

I suggest putting this in software imo

My non skidded siggy

Posts: 4

Threads: 0

Joined: Mar, 2021

Reputation: -20

Replied

what do

1111111111111111111111111111111111111111

FinalLabs

yes

Posts: 81

Threads: 5

Joined: May, 2020

Reputation: 8

Replied

I would rather follow LSF book tbh or just install Gentoo and or Arch, nobody would use the OS that you compiled.

implement siggy here

TaxiDriver08

JustMarie

Posts: 1662

Threads: 39

Joined: Dec, 2020

Reputation: 6

Replied

terrible tutorial

literally

 

you arent explaining what the commands do

put this in software

also u didnt note you need to know (is it assembly? i think it is) assembly so u can modify the OS unless ur changing variables 

also this is plain linux which is ew

JustMarie#0709

 

deadlocust

dead lotion

vip

Posts: 1703

Threads: 55

Joined: Dec, 2020

Reputation: 26

Replied

You can make a linux-based OS in C# with Cosmos OS lmao.

C#/C++ Developer [GITHUB]

Relatively incompetent

Moon

Moon

moderator

Posts: 6675

Threads: 237

Joined: Aug, 2020

Reputation: 51

Replied

Quietly looks at software/hardware

Join the Lounge: https://discord.gg/zVnT5DfAMR - Not for Exploiting
M
o
o
o
o
o
o
o
o
o

o
o
o
o
o
o
o
o
o
o
o
o
o
o
o

o
o
o
o
o
o
o
o
o
o
o
n
Stop using Dark mode

Posts: 85

Threads: 16

Joined: Feb, 2021

Reputation: 0

Replied

@deadlocust CosmosOS is trash dude, and theres never been a linux distro that uses cosmosOS

Also I'm a biden fan even though i post anti biden pictures.

https://discord.com/invite/nKwasWa62z << One of the biggest roblox-raiding discord servers

 

deadlocust

dead lotion

vip

Posts: 1703

Threads: 55

Joined: Dec, 2020

Reputation: 26

Replied

@lilbiden69 I know but it still counts as making a linux-based OS.

C#/C++ Developer [GITHUB]

Relatively incompetent

MINISHXP

minishxp#9667

Posts: 1077

Threads: 34

Joined: Jan, 2021

Reputation: 5

Replied

move to hardware but NOT this section

The Tiananmen Square protests, known as the June Fourth Incident in China (Chinese六四事件pinyinliùsì shìjiàn)

MyUserIsTaken

apppon

Posts: 784

Threads: 30

Joined: Sep, 2020

Reputation: 12

Replied

@D_tigo

shut up, stop using google for everything

| Discord (Updated): apppon#8358 | C++ Enthusiast

Texas

GNU/Linux enjoyer

moderator

Posts: 235

Threads: 6

Joined: Nov, 2020

Reputation: 7

Replied

I'm not exactly sure how you expect someone not to talk crap about this. This is pretty much an oversimplified and pasted version of what M. Derhaeg documented on his repository. This does not bring you a "Linux OS", this brings you a self-compiled (will likely take hours for regular people) kernel combined with no method of package management and software installed from Debian/Ubuntu repositories. This is also skipping out on sooo many aspects such as compile options which would not only save time but allow software like the kernel to run at its full potential.

This is not a "hobby", this is a "oh WaoOW!!111 me create linux hackerman os!!111". Anyone who is interested in being able to design and "make" a distribution of their own is supposed to look into Gentoo or LFS - both of which actually offer a reliable tools to build an operating system of your own, while not having to mess around with half-baked tutorials and non-existent support.

 

To whoever is reading this, stop wasting your time. Learn here:

http://www.linuxfromscratch.org/lfs/index.html

https://www.gentoo.org/get-started/

Ryzen 3 3100 @ 4.45 GHz 1.3V

MSI GTX 1660S @ +160 MHz base clock, +600 MHz memory clock

Corsair Vengeance LPX 2x8 GB DDR4 @ 3400 MHz

FumbleTwit

Old Account

Posts: 257

Threads: 10

Joined: Jan, 2021

Reputation: 3

Replied

Try modifying Ubuntu or Debian, it's better to start from an already good build. 

 

(I simp for Pop OS) 

Old account...

Posts: 85

Threads: 16

Joined: Feb, 2021

Reputation: 0

Replied

@Texas I was waiting for your reply, i guess you're right.

Also I'm a biden fan even though i post anti biden pictures.

https://discord.com/invite/nKwasWa62z << One of the biggest roblox-raiding discord servers