Making Simple Linux Distro from Scratch

Making Simple Linux Distro from Scratch

Nir Lichtman

8 месяцев назад

165,961 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@dorktales254
@dorktales254 - 03.02.2024 20:33

my brother in christ what is your PC doing mate?

Ответить
@cutzudev
@cutzudev - 01.02.2024 15:32

simplest arch installation guide

Ответить
@oklol681
@oklol681 - 31.01.2024 15:59

i did all of this and like now i have a small linux distro in which i can make crap in for fun

Ответить
@castlecalabi
@castlecalabi - 31.01.2024 14:00

Now make one in Scratch.

Ответить
@earthchanger604
@earthchanger604 - 31.01.2024 13:23

Can you make an actual complete guid?

Ответить
@jimmyscott5144
@jimmyscott5144 - 31.01.2024 04:37

Have you done one about buildroot? To make custom os for customs apps light weight

Ответить
@goodmanke
@goodmanke - 30.01.2024 20:27

Nice, but this ends up in compiling an -rc kernel

Ответить
@shirojuancarlos3926
@shirojuancarlos3926 - 30.01.2024 18:58

This is the absolute best tutorial on this topic. Please do a tutorial on compiling more packages for the custom operating system. Packages like GCC, sudo, nano and whatnot. And please also do videos on setting up ttys that work hand in hand with key configurations, I've set up my ttys but they don't work with key configurations. A lot of demands here but please also do a video on setting up the root user, sudo (root access) users and normal users, as well as, how to compile and set up wayland, xorg, sddm and possibly even KDE Plasma.

Ответить
@Reelix
@Reelix - 30.01.2024 13:08

MFW your x64 kernel compiles into the arch/x86 folder ._.

Ответить
@NickMoore
@NickMoore - 30.01.2024 08:49

Very cool and well communicated. Thanks!

Ответить
@myrncode5545
@myrncode5545 - 29.01.2024 17:36

Hi i keep getting an error when mounting boot as m (mount: m: failed to setup loop device for /boot-files/boot.)

Ответить
@yesafarnaama
@yesafarnaama - 29.01.2024 17:05

thank you

Ответить
@boris3320
@boris3320 - 28.01.2024 12:58

"Distro", hmmm🙄

Ответить
@bob-007
@bob-007 - 28.01.2024 00:39

nice video.
I have created a writeup of this and how to add networking on GitHub EN10/BusyBoxLinux

Ответить
@JohnMitchellCalif
@JohnMitchellCalif - 26.01.2024 23:10

super clear and interesting! Subscribed.

Ответить
@laureven
@laureven - 26.01.2024 04:04

Great video. Thank You .... Only I would change one thing :) ...as a total beginner, it would be nice to see the result / what to expect on the beginning of the video, and then the explanation how to do it. For me the experience was as : command after command, and I had no idea where we are going :) ...on the end it was totally worth it :) Thank You

Ответить
@minefacex
@minefacex - 25.01.2024 23:46

technically with EFI stub compiled into the kernel, you can directly boot it from uefi, no bootloader needed.

Ответить
@Basement_crusader
@Basement_crusader - 25.01.2024 07:53

I appreciate the tutorial but all you really need to make a Linux distro is to take Debian, remove every library that isn’t required to boot your machine, then rewrite a hyper-specific window manager that renders each window into the silhouettes of female characters from obscure, extremely niche animes.

Ответить
@Ooo0ooooO00oo
@Ooo0ooooO00oo - 24.01.2024 15:19

Funnily enough this is also exactly how Linus Torvalds created the first version of Linux back in the days. He just fired up docker and booted some Ubuntu image

Ответить
@Bl0xxy
@Bl0xxy - 24.01.2024 05:33

Video Idea: Making simple linux distro ON scratch 💀💀💀💀💀💀💀

Ответить
@kobodrago2758
@kobodrago2758 - 23.01.2024 16:26

I am gonna try once i get some time to spare. Really interesting. Can we make a distro with AI integration ?

Ответить
@CreativeSrm
@CreativeSrm - 23.01.2024 01:43

Alternatives to Syslinux are Grub and...?
Alternatives to BusyBox are ToyBox and...?
❤ Thank you!

Ответить
@MelroyvandenBerg
@MelroyvandenBerg - 20.01.2024 06:02

Why are you even using Windows at this point???? rm -rf C:\

Ответить
@alexloktionoff6833
@alexloktionoff6833 - 19.01.2024 23:52

Can you make same video for ToyBox?

Ответить
@tmg_beamng
@tmg_beamng - 17.01.2024 18:07

How would you go about installing a tty?

Ответить
@zobayer1
@zobayer1 - 16.01.2024 21:23

anyone else failing with "mount: m: failed to setup loop device for /boot-files/boot." on the first mount command?

Ответить
@Siissioe123
@Siissioe123 - 16.01.2024 17:52

is there a way to run the boot file on vbox?

Ответить
@Neyunse
@Neyunse - 16.01.2024 06:08

Hello, i like this video, Is it possible to install an interface like GNOME or Xfce? If so, can you show how to do it? I would also like to know how to take this to production.

Ответить
@joaopetersonscheffer
@joaopetersonscheffer - 16.01.2024 05:23

splendid

Ответить
@milasudril
@milasudril - 14.01.2024 20:48

Is this minimalistic environment sufficient to bootstrap Linux From Scratch?

Ответить
@gogogomes7025
@gogogomes7025 - 14.01.2024 16:37

If you make Linux inside of a Linux what Linux was used to make the first Linux 🤔🤔🤔

Ответить
@TON-vz3pe
@TON-vz3pe - 14.01.2024 09:04

I have few things to request if you don't mind creating a video.

1. Can you create a distro using a base debian or ubuntu image?
2. Illustration of how to use systemd as a init system.
3. And use Grub2 as the bootloader.

Ответить
@GrindAlchemyTech
@GrindAlchemyTech - 14.01.2024 00:39

Why syslinux over grub2? I'm a noob so please go a little in depth as you see it

Ответить
@KryllyxOfficial
@KryllyxOfficial - 08.01.2024 05:28

Really cool to see this, thank you for the simple and easy to follow tutorial. I look forward to diving deeper into how this works.

Ответить
@saidafzalkholkhujaev
@saidafzalkholkhujaev - 06.01.2024 22:55

windows -> wsl -> ubuntu -> dwm -> distro from scratch

Ответить
@katjaczajkov8694
@katjaczajkov8694 - 06.01.2024 12:53

Yes u made my day. 🎉😊

Ответить
@mc-not_escher
@mc-not_escher - 04.01.2024 07:25

I’d be 100% more informed and impressed if you did this on bare metal, but kids these days are looking for this sort of thing, so I’ll just trampse off to my cave and mutter about it to myself…

Ответить
@TaschenRechner22
@TaschenRechner22 - 04.01.2024 00:57

Great tutorial Nir! I have a few followup questions.

1) You used the default kernel config file that came with the repo, instead of replacing it with your Ubuntu machine's config file. And in the default config file, the only change you made was enabling 64 bit. Would that cause any issues if you were to use this kernel in production, since it wasn't "handcrafted" for your machine?

2) Why don't you have to run 'make modules' after you make the kernel? Does the default config file just set all modules to be compiled into the kernel?

3) If you set some modules in the config file to be compiled external from the kernel, where would we copy those .ko module binaries so the kernel could use them? Would they need to be copied into the initramfs cpio archive? Or would they need to be placed on a real disk in a root filesystem the kernel would switch to after it goes through initramfs?

4) Since you copied BusyBox directly into the initramfs archive, the kernel didn't need to mount any real root file system on a real disk. However, suppose we did want to use a real root fs on a real disk, and install BusyBox there instead. How would we need to change the init program and initramfs directory structure and content to make the kernel mount the real disk and change the root directory to the one on the disk?

Ответить
@user-rm2fg4ci2x
@user-rm2fg4ci2x - 02.01.2024 21:57

what do you recommend i look into/do if i want to go further in making it useable?

Ответить
@aciddev_
@aciddev_ - 30.12.2023 21:32

cool! combined with something like sinit and sbase and voila - extremely small desktop linux :)

Ответить
@24Shredder
@24Shredder - 30.12.2023 09:48

This video is gold, thanks man. Ever thought about making a video on your very custom distro using the knowledge you showed us in this video?

Ответить
@notactulurus
@notactulurus - 29.12.2023 19:14

I know a lot of people have asked the same question, but how would I write this to a USB drive to boot it on a real machine? I've tried to use tools like dd or genisoimage, but even after a few hours, I still can't get it to work. Usually, it just says there's no bootable device, other times, it says the device doesn't support UEFI booting.

Ответить
@mirozo
@mirozo - 29.12.2023 16:01

is that fucking windows terminal from w11 on linux? why and how

Ответить
@omkarbhale442
@omkarbhale442 - 28.12.2023 22:46

I came to check comments section to make sure this isn't a joke (im not joking)

Ответить
@getvasanth
@getvasanth - 28.12.2023 11:48

Happy to see this!!😃

Ответить
@lonk199
@lonk199 - 27.12.2023 22:29

When doing "mount boot m" I get an error: "mount: m: mount failed: Operation not permitted." I've searched online but nothing seems to work, please help

Ответить
@AbegazNap
@AbegazNap - 27.12.2023 18:38

what a mad lad

Ответить
@JorgeMartinez-xb2ks
@JorgeMartinez-xb2ks - 27.12.2023 17:56

Great job, thanks!

Ответить