# rOSka - Probably useless hobby OS project - Targets 32bit legacy systems with graphical framebuffer - Boots with multiboot compatible bootloader, such as GRUB - Assembles with FASM - We'll probably use ext2 filesystem ## GRUB disk creation 1. Format disk. Create ext2 partition 2. Create directory mnt and mount your partition to it ``` mkdir mnt sudo mount /dev/sdX mnt ``` 3. Intall grub using `sudo grub-install --target=i386-pc --removable --boot-dir=mnt/boot /dev/sdX` 4. Create config ``` mnt/boot/grub/grub.cfg menuentry "rOSka" { multiboot /boot/roska.bin boot } ``` 5. Copy assembled kernel to `mnt/boot/roska.bin` Oh yeah heres a montrosity I currently use. `fasm roska.fasm && sudo mount /dev/sdd1 mnt/ && sudo cp roska.bin mnt/boot/roska.bin && sudo umount /dev/sdd1 && sudo sync && sudo qemu-system-i386 /dev/sdd`