diff --git a/docs/roska/index.md b/docs/roska/index.md index fa3ef91..6dc8308 100644 --- a/docs/roska/index.md +++ b/docs/roska/index.md @@ -10,4 +10,21 @@ Run with multiboot (for example grub), yeah. It sets us a frmebuffer and stuff. ## Building and Running - You need FASM to assemble source - You need to boot the file using multiboot-compatible bootloader (grub is handy-dandy) -- To make a x86 bios compatible disk image for virtual machine or to burn onto a usb you need `grub-pc-bin` and `util-linux` or something along those lines. IDK, just refer the Makefile or something! \ No newline at end of file +- To make a x86 bios compatible disk image for virtual machine or to burn onto a usb you need `grub-pc-bin` and `util-linux` or something along those lines. IDK, just refer the Makefile or something! + +## SYSLINUX + +1. Install syslinux package `sudo apt install syslinux` +2. Install syslinux to disk `sudo syslinux --install /dev/sdX` +3. Copy files and modify stuff + `sudo cp /usr/lib/syslinux/modules/ARCH/mboot.c32 /mntTARGET/` + `sudo cp /usr/lib/syslinux/modules/ARCH/libcom32.c32 /mntTARGET` + +``` cfg title="/syslinux.cfg" +DEFAULT rOSka +LABEL rOSka + SAY rOSkataan... + KERNEL roska.bin +``` + +4. Patch this literal crap to support plain TEXT mode