---
description: You can boot into Nitrocid KS using GRILO!
---

# Bootable Simulation

The GRILO bootloader simulator simulates the theory of the bootloaders and how they work in any device. It allows you to run any bootable .NET assemblies that implement the `IBootable` interface. To learn more about GRILO, visit the link below:

{% content-ref url="https://app.gitbook.com/o/fj052nYlsxW9IdL3bsZj/s/BLR1Eu9QDGfIEp3maSdB/" %}
[GRILO - Manual](https://app.gitbook.com/o/fj052nYlsxW9IdL3bsZj/s/BLR1Eu9QDGfIEp3maSdB/)
{% endcontent-ref %}

## GRILO and KS

Nitrocid KS can be bootable using the simulated GRILO bootloader. To install Nitrocid KS to this bootloader simulator, follow the instructions below to get started. The bootable application installation paths may differ depending on the platform that you run KS on.

1. Download the Nitrocid KS release files from [this site](https://github.com/Aptivi/Kernel-Simulator/releases).
2.  Unpack the downloaded file to one of the paths, depending on the platform. You may need to create the below folders:

    * Windows: `%localappdata%/GRILO/Bootables/ks/`
    * Linux: `~/.config/grilo/Bootables/ks`

    <figure><img src="https://979265983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKBgZy6xqjdYb7KIbxI6u%2Fuploads%2Fgit-blob-43db62e96e92ea4b08d4bb225f174c55fe609078%2F070-grilo1.png?alt=media" alt=""><figcaption></figcaption></figure>
3.  Start the GRILO bootloader (.NET 8.0), and choose one of the `Nitrocid` options\\

    <figure><img src="https://979265983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKBgZy6xqjdYb7KIbxI6u%2Fuploads%2Fgit-blob-65c9fded2b8e8073bed90a21a8d6a7f953d96aae%2F071-grilo2.png?alt=media" alt=""><figcaption></figcaption></figure>

The kernel should boot up completely.

{% hint style="info" %}
If the .NET 8.0 version of the kernel doesn't boot up correctly or induces erratic behavior due to missing dependencies, open the `BootMetadata.json` file on the Nitrocid directory and add the following line to all the Nitrocid boot entries as below:

<pre><code>[
    {
        "OverrideTitle": "Nitrocid 0.1.0",
        "Arguments": [ "noaltbuffer" ],
<strong>        "BootFilePath": "Nitrocid.dll"
</strong>    },
    (...)
</code></pre>
{% endhint %}

{% hint style="info" %}
If you plan to run Nitrocid 0.0.24.x or lower using the .NET Framework version of GRILO, you'll have to use GRILO version 1.1.0 as it contains necessary fixes for dependency resolver.

Even though you have 1.1.0 installed, you'll still have to move all Nitrocid KS 0.0.24.x .NET Framework files from `Bootables` (.NET 6.0+) to `Bootables_DotNetFx` (.NET Framework 4.8).
{% endhint %}
