Перейти к содержимому

OS Dev From Scratch - Part 2: Booting Your Kernel with GRUB (C + Assembly)

danmutiso

0:00 / 0:00

OS Dev From Scratch - Part 2: Booting Your Kernel with GRUB (C + Assembly)

39 просмотров · 12 дн. назад
danmutiso
2 подписчика
39 просмотров · 12 дн. назад
In Part 2 of the OS Dev From Scratch series, we write the first real code of our operating system: assembly boot code, a kernel in C, a linker script, and a GRUB config. Then we build a bootable ISO and boot it. Missed Part 1? Watch it here: [Part 1 link] IN THIS VIDEO How GRUB loads our kernel Writing the boot code in assembly (boot.asm) Writing the kernel in C (kernel.c) The linker script: telling the linker where everything goes (linker.ld) Configuring GRUB (grub.cfg) Building kernel.elf and the bootable faceless.iso CHAPTERS 0:00 Intro [0:45] Project overview [2:30] Boot code in assembly [6:00] The kernel in C [10:00] The linker script [13:30] GRUB config [15:30] Building the ISO and booting it [18:00] What's next PROJECT STRUCTURE faceless-os/ ├── boot/boot.asm ├── kernel/kernel.c ├── linker.ld ├── grub/grub.cfg └── build/ (kernel.elf, faceless.iso) NEXT VIDEO: Part 3 - [topic] Full playlist: [playlist link] Subscribe to Faceless KE so you don't miss the next part. If something fails on your machine, leave a comment with the error and I'll help. #OSDev #Kernel #Assembly #CProgramming #GRUB #LowLevel #FacelessKE