38 lines
340 B
Markdown
38 lines
340 B
Markdown
# Nub OS
|
|
|
|
## Dependencies
|
|
|
|
### Building the kernel
|
|
|
|
- `make`
|
|
- `i386-elf-gcc`
|
|
- `i386-elf-ld`
|
|
- `i386-elf-as`
|
|
|
|
### Creating a disk image
|
|
|
|
- `grub`
|
|
- `mtools`
|
|
|
|
## Building
|
|
|
|
### Kernel
|
|
|
|
```sh
|
|
make kernel
|
|
```
|
|
|
|
### Disk image
|
|
|
|
```sh
|
|
make iso
|
|
```
|
|
|
|
## Running
|
|
|
|
After building, run the following:
|
|
|
|
```sh
|
|
qemu-system-i386 -kernel .build/kernel
|
|
```
|