Info about SYSLINUX booting
This commit is contained in:
parent
7afdeaf088
commit
67955e3a0a
1 changed files with 18 additions and 1 deletions
|
@ -10,4 +10,21 @@ Run with multiboot (for example grub), yeah. It sets us a frmebuffer and stuff.
|
||||||
## Building and Running
|
## Building and Running
|
||||||
- You need FASM to assemble source
|
- You need FASM to assemble source
|
||||||
- You need to boot the file using multiboot-compatible bootloader (grub is handy-dandy)
|
- 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!
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue