- 18
- 271 500
Maple Circuit
Canada
เข้าร่วมเมื่อ 22 พ.ค. 2024
A place for tech lovers!
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
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
มุมมอง: 7 128
วีดีโอ
Linux Kernel 6.13 | you won a guitar pedal?
มุมมอง 4.9K16 ชั่วโมงที่ผ่านมา
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?
มุมมอง 8K14 วันที่ผ่านมา
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.1K14 วันที่ผ่านมา
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.9K21 วันที่ผ่านมา
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.7K28 วันที่ผ่านมา
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
มุมมอง 129K2 หลายเดือนก่อน
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.7K2 หลายเดือนก่อน
Just pushing my thoughts... Notes: publish.obsidian.md/maplecircuit/Videos/2024-11-15 BcacheFS Rant.....
VFS | How your system knows where files are
มุมมอง 9K3 หลายเดือนก่อน
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.4K3 หลายเดือนก่อน
Thank you for watching! savannah.gnu.org/news/?id=10687
EXT2 | How does it work?
มุมมอง 8K3 หลายเดือนก่อน
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
มุมมอง 5K4 หลายเดือนก่อน
Beginner friendly deep dive into the latest kernel! Thank you for watching! Part 1 th-cam.com/video/NPJ7DzdysE4/w-d-xo.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
มุมมอง 15K4 หลายเดือนก่อน
Beginner friendly deep dive into the latest kernel! Thank you for watching! Part 2 th-cam.com/video/JCwHiNa_LZg/w-d-xo.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
in next vid you should probably add some driver for disk and FS
LFN. This is really very interesting. The applications for this are intriguing. For example, a LFN for running docker.
Any chance of a LFN with BTRFS and OSTREE?
omg this is so inspiring. Now how do we make a functional userspace? since that is all running on root
typing "clear" instead of just hitting ctl-L is certainly a choice...
LFN add fuse and squashfs readability to automount, expanding the linux system overlay...
For EFI systems you could just use EFI Stub and basically drops the need of a bootloader
LFN
LFN seeing snap making so many loopback devices makes me cringe, why use snap man 😭
LFN
had to do it from a slackware source cd back in the day had no internet connection
2:17 LFN Why would it be assumed that I'd have a 64 bit system to compile my distributed operating system?
XD
ah yes, the lovely loop device spam of snapd, you love to see it. such a great packaging format.
I'm dead XD
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. :)
True!
Please please please keep this (hopefully) series going!!!
It will!
Great stuff, LFN!
Thanks!
I might try this. I'll probably learn a few things. It isn't too crazy...
I try to keep it doable!
LFG! erm...
need more LFS and LFN content, its fantastic
Will do!
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
By you pronouncing git as jit it reinforces to me that gif is still in fact pronounced gif and not jif.
Lol, I say gif, so I really should say git (;
this isn't "linux from nothing", it's "linux from ubuntu".
"nuffing" isn't a word.
well it should be
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
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.
The goal will be to modify it in the coming videos, but yea, for now it is a kernel and... not much more (;
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
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
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!! :)))
Happy I could help!
LFN project real??? This is gonna be GOOOODD!!!
YEEAAAA
@@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)
From nothing!? I hope that means a full source bootstrap. No precompiled compilers allowed! /j obviously
lol that would be Linux From Pain XD
are you planning to work your way up to a fully functional distro with a gui, browser, etc.? i would love to see that
piece by piece, yes!
Maple Syrup OS.
epic. LFN
Thanks!
Who is the madman who decided to 1 index partitions after harddrives were 0 indexed? Lfn
i HATE thoses thing? who in there right mind does this?
instead of using dd, use truncate -s (size) (name). it will automatically create the file zeroed out
LFN!
Thanks!
What is the difference between Beyond Linux From Scratch and this?
LFS feels overwhelming for a lot of people, I'm trying to give them a way to do the same thing, but with tangible results by the end of the video
Very interesting, thank you. From where the LFN is right now what would the next logical set be? If you were building a desktop would it be to add WIFI or would that be a later step? Or would you add SELinux or the other one?
The most important next step would be a filesystem (ext4). After that, there are about 15 thousand paths to take, so i will need to think about it (;
@@Maple-Circuit haha, can ya tell I'm a bit of noob :)
not like i would try it (for now) but still good to know, also LFN
Thanks!
who tf pronounces git like that
Git, jit ... that word is so small. I don't even remember what I said XD
or basically linux from scratch but you called it differently
LFS feels overwhelming for a lot of people, I'm trying to give them a way to do the same thing, but with tangible results by the end of the video
Can you go furter and create costume distro for specified app only, e.g. KVM or Wine
Absolutely, I've got a video on making a small doom in the works and more, Coming UP!
sudo umount /mnt sudo losetup -d /dev/loop1 sudo losetup -d /dev/loop2 ☺ Très bonne journée, Bien cordialement, NA
Also, LFN. ☺
Lol, I knew someone would die not seeing me unmount them XD
Nice video! love it❤
Thanks!
I’d be interested in seeing how unrecognizable a Linux system could be. Ex. I didn’t realize /sys,/proc,/dev were optional, so could a running system’s root directory be like Windows and have only /Linux, /Program Files, /Users, etc.?
True! I think that most programs have some link to these dir but as long as we include /dev, we are probably 90% of our way there.
@@Maple-Circuit It’s possible that putting executables in “/Program Files” is even worse since it has a space in the name!
What’s the difference between Linux From Nothing and Linux From Scratch?
Leaving a comment here bc I'm also very curious
LFS feels overwhelming for a lot of people, I'm trying to give them a way to do the same thing, but with tangible results by the end of the video. So, not much, linux is all the same at the end of the day XD
...jeet? seriously
Ya sirously
Extra segment please. Lol. Im listening to you while I am compiling a new gentoo install. Hey, I have a serious question. What Canadian maple syrup brand do you buy? Your spinning can has got me obsessed with it. Early harvest light or late harvest dark? What is your take? There's a bunch of brands here in Michigan. But are they really Canadian, and are they really pure maple syrup? Ive got to know.
Maple syrup is really complicated and sadly, as soon as you buy it from someone else than the producer, there is no real guarantee about what you have. I'm lucky to have family members that own a small plot of land with a couple of maple, they make their own and its the best thing I ever tasted. What i've come to understand is that early/late harvest doesn't matter, there both good! The darker it is, generally, the better. The problem is that most production of maple syrup will use very strong pumps for extraction and this will end up affecting taste. Don't get me wrong, you need a pump, but there is such a thing as getting too much out of your trees (; Also in Quebec, we mostly have generic cans as we trust the syrup to always have some baseline quality, I have heard that isn't the same in the US and quality is.... poor ):
@Maple-Circuit Thank you Sir. Compiling core utils is like watching paint dry sometimes. My grocery store has a few brands with the words Canadian maple syrup on the bottle. But when you read the back label. It says so and so foods Chicago, or New York city, or Indianapolis. Ugh. Have I ever had real uncut maple syrup? I could drive to Sarnia Ontario. But the return trip... US Customs would lose their minds the second you declare it. But if you don't and they find it. Ahh no. Id rather not find out about what happens after that. I'll just have to make the drive and declare a food item. Might look up the CBD to call and ask how before hand.
You can actually use other flags with losetup to make that process a lot easier, and to not have to know the offset (-fP are the flags I typically use)
True!
LFN. Yes, I'd like to see more.
Will do!
Time to make FerrisOS. Thanks for the guide!
lol, the rust train ain't stoppin' XD
Excellent video, very bad in short format.