922 B
922 B
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
- Format disk. Create ext2 partition
- Create directory mnt and mount your partition to it
mkdir mnt sudo mount /dev/sdX mnt - Intall grub using
sudo grub-install --target=i386-pc --removable --boot-dir=mnt/boot /dev/sdX - Create config
menuentry "rOSka" { multiboot /boot/roska.bin boot } - 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