-
Notifications
You must be signed in to change notification settings - Fork 4
Initial setup
- Platform: GNU/linux
- Root access
First we need to install the project source code from terminal:
$ git clone https://github.com/GandelXIV/pidi-os/
We also need to go into the project directory using:
$ cd pidi-os/
Then we need to install build dependencies to be able to compile the source code into our OS image.
Here is an example on Ubunut/Debian:
$ cat requirements.txt # read requirements.txt
$ sudo apt install make gcc nasm aqemu # install dependencies
For Arch based distros:
$ cat requirements.txt # read requirements.txt
$ sudo pacman -S make gcc nasm qemu qemu-arch-extra # install dependencies
First we will need to configure the makefile
./configure
Now we can compile the os (transform the os source code into the os-image).
$ make
Now that we have to os-image, we can run it using an emulator. I am going to use qemu for example.
$ qemu-system-i386 dist/os-image.bin