Maple Circuit
Maple Circuit
  • 18
  • 277 924
LFN | Make your own distro from Nothing!
Lets start doing practical stuff, hope you enjoyed!
My notes: maplecircuit.dev/videos/2025-1-25-lfn-make-your-own-distro-from-nothing.html
0:00 Intro
1:00 Kernel
5:58 Busybox
11:08 Grub
Переглядів: 11 006

Відео

Linux Kernel 6.13 | you won a guitar pedal?
Переглядів 5 тис.22 години тому
Beginner friendly deep dive into the latest kernel! My notes: maplecircuit.dev/linux/kernel/versions/6.13.html 0:00 Intro 0:55 Featured: PREEMPT 9:31 Featured: Multi-grain Timestamps 14:10 Featured: BPF 17:51 Featured: ARM64 23:58 Featured: F2FS 24:56 Featured: Guard pages 27:18 FS 35:31 Architecture Specific 39:22 BPF (again) 39:56 Misc. 43:53 Rust 45:47 Phoronix Benchmark 46:57 Extra part (;
EXT4 | How does it work?
Переглядів 8 тис.14 днів тому
History and schematics of one of the best file system! Notes: maplecircuit.dev/videos/2025-1-11-ext4-how-does-it-work.html 0:00 Intro 1:54 History 3:05 Larger FS 5:45 Extents 12:20 Compatibility 13:51 Htrees 14:36 Fast FSCK 16:25 Allocation 21:09 Metadata Checksums 23:17 Better Times 24:10 Extended Attributes 25:45 Quotas 26:45 Barriers 28:27 Flexible Block Groups 30:33 Meta Block Groups 33:33 ...
Linux Code of Conduct | Why you need to Apologize?
Переглядів 2,1 тис.14 днів тому
Hope you enjoy! Notes (PS if you snoop around you'll see some fun EXT4 things): maplecircuit.dev/videos/2025-1-8-linux-code-of-conduct-why-you-need-to-apologize.html
Htree | The Secret Savior of EXT3
Переглядів 1,9 тис.21 день тому
All you need to know about HTrees! Notes: publish.obsidian.md/maplecircuit/Videos/2025-1-2 Htree The secret savior of EXT3 0:00 Intro 1:00 The problem 2:02 FS Structure 101 5:48 Htrees! 10:15 Example 13:30 Extras
EXT3 | How does it work?
Переглядів 2,7 тис.Місяць тому
History and schematics of one of the best file system! Notes: publish.obsidian.md/maplecircuit/Videos/2024-12-28 EXT3 How does it work 0:00 Intro 0:34 History 4:24 Journal 9:18 Improving Scalability 14:28 Preallocation/Reservation 17:02 Online Resizing 19:00 schematics 20:30 The end!
Linux Kernel 6.12 | This is Historic
Переглядів 130 тис.2 місяці тому
Beginner friendly deep dive into the latest kernel! My notes: publish.obsidian.md/maplecircuit/Videos/2024-11-17 Linux Kernel 6.12 This is Historic I forgot to say it in the vid, BIG thank you to Phoronix and LWN, couldn't do it without them! 0:00 Intro 0:58 Featured 8:17 File Systems 15:41 Architecture Specific 27:09 GPU/AUDIO 29:48 Network 33:38 Hardware 41:26 VM 43:57 Security 48:08 Misc 1:0...
BcacheFS Rant....
Переглядів 1,8 тис.2 місяці тому
Just pushing my thoughts... Notes: publish.obsidian.md/maplecircuit/Videos/2024-11-15 BcacheFS Rant.....
VFS | How your system knows where files are
Переглядів 9 тис.3 місяці тому
Thank you for watching! Notes: publish.obsidian.md/maplecircuit/Videos/2024-10-27 VFS How your system knows where files are 0:00 Intro 0:50 History 1:22 0.96c 2:35 Modern version 3:30 Dentry cache 8:04 How to open a file 10:20 Modern Final review 11:22 VFS Fun Facts 13:20 End Rambling (;
GNU Parallel becomes Unhinged | Who thought this was a good idea?
Переглядів 1,4 тис.3 місяці тому
Thank you for watching! savannah.gnu.org/news/?id=10687
EXT2 | How does it work?
Переглядів 8 тис.3 місяці тому
History and schematics of one of the best file system! Notes: publish.obsidian.md/maplecircuit/Videos/2024-10-13 EXT2 How does it work 0:00 Intro 0:30 History 5:49 Basics 10:05 Schematics
Linux Kernel 6.11 | Drama and 15X Part 2
Переглядів 5 тис.4 місяці тому
Beginner friendly deep dive into the latest kernel! Thank you for watching! Part 1 ua-cam.com/video/NPJ7DzdysE4/v-deo.html Notes: publish.obsidian.md/maplecircuit/Videos/2024-09-15 Linux Kernel 6.11 Drama and 15X 0:00 Intro 0:13 GPU/audio 10:21 VM 12:42 Memory 101 14:25 Memory 20:34 Security 26:09 Cryptography 27:52 Hardware 34:32 Benchmarks
Linux Kernel 6.11 | Drama and 15X Part 1
Переглядів 15 тис.4 місяці тому
Beginner friendly deep dive into the latest kernel! Thank you for watching! Part 2 ua-cam.com/video/JCwHiNa_LZg/v-deo.html Notes: publish.obsidian.md/maplecircuit/Videos/2024-09-15 Linux Kernel 6.11 Drama and 15X 0:00 Intro 0:48 File System 14:13 Rust 22:58 Misc 28:24 Arch Specific
BTRFS | All You NEED to know!
Переглядів 15 тис.5 місяців тому
BTRFS | All You NEED to know!
X | How do bots work in 2024?
Переглядів 6545 місяців тому
X | How do bots work in 2024?
Kernel 6.10 | Locked & Optimized
Переглядів 56 тис.6 місяців тому
Kernel 6.10 | Locked & Optimized

КОМЕНТАРІ

  • @shawnzhong
    @shawnzhong 5 годин тому

    How about `make isoimage` for creating a bootable kernel image?

  • @AtthunSeeranR.A-om5yj
    @AtthunSeeranR.A-om5yj 11 годин тому

    Hey @Maple-Circuit I usually watch your videos on TV so I can't comment on your videos, you seem to know a lot about Linux and that's amazing, I'm a subscriber and I'm here to ask is there any way for me to reach you other than youtube comments?

  • @truko22
    @truko22 22 години тому

  • @PalleMikkelsen
    @PalleMikkelsen День тому

    Didn't we forget to create the /proc and /sys directories or did I miss something ?

  • @MeriaDuck
    @MeriaDuck День тому

    I'd love a video about how the lost+found folder and recovery worked. On one scary close call I discovered in there the video of my first child seeing their baby sister for the first time... Glad that recovery found that...

  • @PalleMikkelsen
    @PalleMikkelsen День тому

    LFN

  • @Wkaelx
    @Wkaelx День тому

    When Gentoo is too easy for you:

  • @OfficialViper
    @OfficialViper День тому

    Thanks Chad

  • @kebien6020
    @kebien6020 День тому

    partprobe makes the kernel automatically detect that your disk image has partitions and it will create /dev/loop15p1 without manually putting the 1MB offset. Other comments have mentioned losetup with the -P option, that just calls partprobe for you as part of the losetup execution

  • @ChrisStoddard101010
    @ChrisStoddard101010 День тому

    I think this is a cool idea. I'd like to see you build a text mode productivity suite which might include nano, tmux, tty-clock, calcurse, wordgrinder, sc, and tpp.

  • @DreamsAPI
    @DreamsAPI День тому

    extra part

  • @peterweston6588
    @peterweston6588 День тому

    I would like to see a homebrew shell. Maybe something LISPy, so it is easy to code.

  • @zagle1772
    @zagle1772 2 дні тому

    more like lingua franca nova, amirite fellas? (she said, fully aware of the fact that it is unlikely anyone else will see this comment that has watched conlang critic)

  • @groos3449
    @groos3449 2 дні тому

    Incredible video, I always had the curiosity to do something like this but couldn't find any resources. Do you have any books or other resources that one could read to expand their knowledge on this stuff?

    • @Maple-Circuit
      @Maple-Circuit День тому

      Nope, just some trial and error and stack overflow... GL XD

  • @YadraVoat
    @YadraVoat 2 дні тому

    This is so good!!! 🤩 🐧💪

  • @Crux161
    @Crux161 2 дні тому

    Down vote for busybox 😐 Edit: to be clear I liked the video - but busybox is a way of sidestepping some really important things. Using busybox is more of an IoT pathway for Linux - which can be very frustrating down the line. I know - I’ve done it before - it’s worth taking the time to implement various packages for a release. Not only does it establish good software practices but it keeps things open-ended whereas busybox just makes a lot of the decisions for you. And they’re not always the best ones.

    • @Maple-Circuit
      @Maple-Circuit День тому

      True! Down the line, I'll probably go ahead and do without it. For now, I'm going for simplicity!

  • @ijabbott63
    @ijabbott63 2 дні тому

    You can use losetup -p to create a partitioned loop block device.

  • @ijabbott63
    @ijabbott63 2 дні тому

    When you created initramfs.cpio, you could have created it as ../initramfs.cpio to avoid including a half completed initramfs.cpio within the archive. That's why you got the "cpio: FIle ./initramfs.cpio grew, 2526720 new bytes not copied" message.

  • @cooperanderson712
    @cooperanderson712 2 дні тому

    in the next episode we will be making our own silicon dies

  • @edo9k
    @edo9k 2 дні тому

    nice use of busybox. 10/10

  • @ErdrickHero
    @ErdrickHero 2 дні тому

    GIT is pronounced the word "git". JIT is something else (Just-In-Time... recompiler, used for emulation)

  • @AuroraMalinowska
    @AuroraMalinowska 2 дні тому

    pure dead brilliant video thank you good sir LFN!

  • @jobjobse3331
    @jobjobse3331 2 дні тому

    Very interesting! Was thinking about writing something with Go (which very easily compiles to a static executable) that boots using only a kernel. This would be a great start ;) Hope this series keeps going. I think the next step would be getting networking and file-systems working?

  • @Tayoky
    @Tayoky 2 дні тому

    in next vid you should probably add some driver for disk and FS

  • @esra_erimez
    @esra_erimez 2 дні тому

    LFN. This is really very interesting. The applications for this are intriguing. For example, a LFN for running docker.

  • @SandroMedia
    @SandroMedia 2 дні тому

    Any chance of a LFN with BTRFS and OSTREE?

  • @Aragubas
    @Aragubas 2 дні тому

    omg this is so inspiring. Now how do we make a functional userspace? since that is all running on root

  • @misterkite
    @misterkite 2 дні тому

    typing "clear" instead of just hitting ctl-L is certainly a choice...

  • @YeisenAchitel
    @YeisenAchitel 2 дні тому

    LFN add fuse and squashfs readability to automount, expanding the linux system overlay...

  • @Dviih
    @Dviih 2 дні тому

    For EFI systems you could just use EFI Stub and basically drops the need of a bootloader

  • @jamescharron8550
    @jamescharron8550 2 дні тому

    LFN

  • @TheLazyJAK
    @TheLazyJAK 2 дні тому

    LFN seeing snap making so many loopback devices makes me cringe, why use snap man 😭

    • @parad0xheart
      @parad0xheart Годину тому

      snap will not go away until flatpak can (comfortably) handle all of the roles it fills. For instance, flatpak does not do command line applications well. And if the flatpak developers decide that filling those roles is not a priority for them, then snap will never go away.

  • @Cheapsexandbooze
    @Cheapsexandbooze 2 дні тому

    LFN

  • @prototype9000
    @prototype9000 2 дні тому

    had to do it from a slackware source cd back in the day had no internet connection

  • @le9038
    @le9038 2 дні тому

    2:17 LFN Why would it be assumed that I'd have a 64 bit system to compile my distributed operating system?

  • @miku
    @miku 2 дні тому

    ah yes, the lovely loop device spam of snapd, you love to see it. such a great packaging format.

  • @unconnectedbedna
    @unconnectedbedna 2 дні тому

    I don't think you need an offset and two loops when formatting the boot partition. If you include the -P option with losetup, a partscan will be done and you will find both the device and the created partition with lsblk (the partition in this case would be under loop15 called /dev/loop15p1, as in partition 1). Does not really matter, but less confusing than using two loops. You can then interact with the loop as if it was a normal device, create more partitions and filesystems or whatnot. At least that is what I do with my rpi backup script, creating minimal img file and then sync with rsync. :)

  • @JakeSwett
    @JakeSwett 2 дні тому

    Please please please keep this (hopefully) series going!!!

  • @StormOS_Dev_Channel
    @StormOS_Dev_Channel 2 дні тому

    Great stuff, LFN!

  • @bertblankenstein3738
    @bertblankenstein3738 2 дні тому

    I might try this. I'll probably learn a few things. It isn't too crazy...

  • @TaiGroot
    @TaiGroot 2 дні тому

    LFG! erm...

  • @MM-tx3im
    @MM-tx3im 3 дні тому

    need more LFS and LFN content, its fantastic

  • @MrFunny01
    @MrFunny01 3 дні тому

    I think next logical step would be making an installer out of that image which will replicate the system (except the installer) and will add some additional program on the target system

  • @Xenthera
    @Xenthera 3 дні тому

    By you pronouncing git as jit it reinforces to me that gif is still in fact pronounced gif and not jif.

    • @Maple-Circuit
      @Maple-Circuit 2 дні тому

      Lol, I say gif, so I really should say git (;

  • @CtrlAltFumble
    @CtrlAltFumble 3 дні тому

    I did many LFS in the past, but nowadays I use buildroot for that, at least you don't need to do everything manually, and plus you have a bunch of extra arch available

  • @benhetland576
    @benhetland576 3 дні тому

    Very nice and concise explanation! I just wonder... isn't it a bit of a stretch to call it a "distro"? It's a bootable linux system, that's all.

    • @Maple-Circuit
      @Maple-Circuit 3 дні тому

      The goal will be to modify it in the coming videos, but yea, for now it is a kernel and... not much more (;

  • @77RzR77
    @77RzR77 3 дні тому

    Obligatory "Can it run DOOM?" Chocolate Doom just depends on SDL, and there are even ports that run in the framebuffer without a display server, so should be doable

    • @Maple-Circuit
      @Maple-Circuit 3 дні тому

      lol spoiler: maplecircuit.dev/videos/2025-1-25-lfn-make-your-own-distro-from-nothing.html#spoiler_I_will_probably_implement_doom_on_LFN_0

    • @steffennilsen2132
      @steffennilsen2132 2 дні тому

      I compiled a kernel for my old 486 and working on making the smallest viable dos like experience with a modern linux kernel that can run Chocolate Doom. Im hoping to get it working on 4MB as the original doom requires under DOS, but I will find that out over the coming week I guess

  • @jordycimo
    @jordycimo 3 дні тому

    this video is so great. ive been wanting to experiment with busybox on the bare kernel but always got an error regarding TC. i never had enough info on how busybox works, until now! i disabled it and it compiled flawlessly. thx!! :)))

  • @MrMasterKeyboard
    @MrMasterKeyboard 3 дні тому

    LFN project real??? This is gonna be GOOOODD!!!

    • @Maple-Circuit
      @Maple-Circuit 3 дні тому

      YEEAAAA

    • @MrMasterKeyboard
      @MrMasterKeyboard 3 дні тому

      @@Maple-Circuit LETS GOOOOOOO LFN REAL (actually im gonna follow this on my arch laptop later, always wanted to make a distro so i thank you for this guide)

  • @mskiptr
    @mskiptr 3 дні тому

    From nothing!? I hope that means a full source bootstrap. No precompiled compilers allowed! /j obviously