News for hackers. Stuff that matters.
Re:I'm building an OS, and blogging about it. Here is Day 1 by GianFabien on Wednesday October 12, 2022 @03:08AM (#33173823)
I would recommend NOT using "Linux from Scratch". LfS is great if you want to understand how Linux is configured and built. But as a general OS reference work it is lacking.

Instead look at XV6 (https://pdos.csail.mit.edu/6.828/2012/xv6.html), IMHO opinion it is a cleaner, simpler work and has some excellent educational materials as well.

Is this a rite of passage? Seems there are hundreds of OS's out there, most of which remain the creator's pet.

BTW: your linked web address doesn't seem to work.

Re:I'm building an OS, and blogging about it. Here is Day 1 by bennysonething on Wednesday October 12, 2022 @07:22AM (#33175362)
Agreed. Linux from scratch pretty much has zero to do with writing an an os from scratch.
Re:I'm building an OS, and blogging about it. Here is Day 1 by shabbushambles on Wednesday October 12, 2022 @11:07AM (#33178055)
I'll check it out! I'm not sure about a rite of passage but it is a challenge and builds new skills and knowledge. I think I am going to learn alot through this process and have a really cool portfolio piece at the end of it!
Re:I'm building an OS, and blogging about it. Here is Day 1 by anta40 on Wednesday October 12, 2022 @12:45PM (#33179581)
xv6 is still my favourite:

- The codebase is very small. Study the PDF references a few days, and eventually you'll start to understand how things work.

- No convoluted build system. Just "make xv6.img". Done.

- No need to build a custom compiler from source. On Linux systems: GCC supplied by your favourite package manager is sufficient. On Mac: install i386-elf-toolchain via Homebrew.

- Plenty of folks customizing it, like adding their own syscalls or a custom scheduler or a file system integrity check (Github is your friend).