WSL Integration
Install WSL in windows. the related document id provided here https://learn.microsoft.com/en-us/windows/wsl/install
After install follow these
# Update package list
sudo apt update
# Install essential packages
sudo apt install -y build-essential gcc-multilib qemu-system-x86 gdb parted python3 python3-pipSteps After Installation
Edit
make_image.py:Ensure the shebang line at the top of
make_image.pyis updated to use Python 3:#!/usr/bin/env python3If
make_image.pywas originally created on Windows, convert it to Unix-style line endings:dos2unix make_image.py
Update the Makefile to Call
make_image.pywith the Correct Path:Open the
Makefileand find any instance ofmake_image.py. Make sure it is called with the correct relative path:./make_image.py
Compile the Project:
Run the following commands to clean, compile, and test:
make clean make make TEST=1
Run
make_image.pyManually (if needed):If
make_image.pydoes not run automatically, execute it directly to generate the disk image:./make_image.py
Run CertiKOS with QEMU:
Start the CertiKOS kernel using QEMU:
qemu-system-x86_64 -drive file=certikos.img,format=raw
Last updated