Skip to content

ivinexo1/killmeOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

killmeOS

Open-source OS made from scratch
image

How to setup!!

This guide contains tutorials for both Linux and Windows 11

Linux 🐧

  1. Clone repository
git clone "https://github.com/ivinexo1/killmeOS/"
  1. Install QEMU (for Debian : apt-get install qemu-system, Arch: pacman -S qemu-full) or build it yourself
wget https://download.qemu.org/qemu-10.0.2.tar.xz
tar xvJf qemu-10.0.2.tar.xz
cd qemu-10.0.2
./configure
make
  1. Install NASM (for Debian: apt-get install nasm, Arch: pacman -S nasm)
  2. Install i386-elf-gcc (for Debian: add this later, Arch: yay i386-elf-gcc or paru i368-elf-gcc)
  3. Navigate to the repository and run ./makeNrun.sh

Windows 11 🪟

  1. Clone repository
git clone "https://github.com/ivinexo1/killmeOS/"
  1. Install QEMU
  2. Install NASM
winget install nasm -i
  1. Add QEMU as an env path
  2. Install WSL wsl --install, check for available distros wsl -l -o
  3. Install archlinux (optional, but that's what this tutorial is focusing on) wsl --install -d archlinux
  4. Install a text editor (doesn't matter which) sudo pacman -S nano
sudo pacman -S --needed git base-devel
  1. Install yay
git clone https://aur.archlinux.org/yay.git
cd yay
  1. (Just make sure you're not in root but some user)
makepkg -si
  1. Go to sudo nano /etc/locale.gen and uncomment #en_US.UTF-8 UTF-8 (remove #)
  2. sudo locale-gen
  3. Before installing i386-elf-gcc make sure you have ENOUGH MEMORY!! It finally worked for me when I set it to 6gb
  4. Check available filesize df -h, memory can be changed here C:\Users\[your name]\.wslconfig
sudo mount -o remount,size=6G /tmp
  1. Before you install i386-elf-gcc just know that WSL is going to be using like 90% of your CPU
  2. yay i386-elf-gcc and enter 1 (for the other options just press enter)
  3. Once it's done check i386-elf-gcc -v
  4. If it's installed navigate to killmeOS (running ./makeNrun.sh is optional, you can also copy the inside of the file and paste everything except line 15)
cd '/mnt/c/Users/[your name]/Documents/GitHub/killmeOS/build'
./makeNrun.sh
  1. Open nasmpath.bat (can be found here: C:\Program Files\NASM)
cd C:\Users\[your name]\Documents\GitHub\killmeOS\build
qemu-system-i386 -drive format=raw,file="OS.bin",index=0,if=floppy -m 128M
  1. If you've done everthing correctly, You should see QEMU instance running killmeOS!! Also make sure to join our discord server >:3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •