Info about SYSLINUX booting
All checks were successful
build / build (push) Successful in 1m6s
build / deploy (push) Successful in 31s

This commit is contained in:
Jarkko Toivanen 2025-03-12 07:36:55 +02:00
parent 7afdeaf088
commit 67955e3a0a

View file

@ -11,3 +11,20 @@ Run with multiboot (for example grub), yeah. It sets us a frmebuffer and stuff.
- 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!
## 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