1
1
Fork 0
The core of rOSka
Find a file
2025-10-28 22:00:29 +02:00
.gitignore We put R, G and B pixel on top left to see if framebuffer works. Why wouldn't it! 2025-10-28 22:00:29 +02:00
README.md We put R, G and B pixel on top left to see if framebuffer works. Why wouldn't it! 2025-10-28 22:00:29 +02:00
roska.fasm We put R, G and B pixel on top left to see if framebuffer works. Why wouldn't it! 2025-10-28 22:00:29 +02:00

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
        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