https://github.com/rbourgeat/minios
💾 A simple Hello World OS
https://github.com/rbourgeat/minios
kernel os
Last synced: 3 months ago
JSON representation
💾 A simple Hello World OS
- Host: GitHub
- URL: https://github.com/rbourgeat/minios
- Owner: rbourgeat
- License: mit
- Created: 2021-10-25T22:35:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T12:31:37.000Z (almost 4 years ago)
- Last Synced: 2025-04-08T17:21:25.255Z (6 months ago)
- Topics: kernel, os
- Language: C
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💾 rbOS
## 🔌 Build
- ```i686-elf-as boot.s -o boot.o```
- ```i686-elf-gcc -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra```
- ```i686-elf-gcc -T linker.ld -o rbOS.bin -ffreestanding -O2 -nostdlib boot.o kernel.o -lgcc```## 🐧 Linux
Use grub with `grub.cfg`.
```
mkdir -p isodir/boot/grubcp rbOS.bin isodir/boot/myos.bin
cp grub.cfg isodir/boot/grub/grub.cfg
grub-mkrescue -o rbOS.iso isodir
```## Mac
Use bchunk with `rbOS.cue` for creating iso file.
```bchunk rbOS.bin rbOS.cue rbOS.iso```
## 🙏🏻 Thanks to
- [OSdev](https://wiki.osdev.org/)