# Boot integrity check

To ensure that the device is running on an authentic version of Secure OS and that no system applications have been manipulated, the device performs a custom partition validation, starting from the hardware-protected root of trust, continuing with the bootloader, the boot partition, and other partitions such as the system, vendor, and OEM.

Each stage verifies the integrity of the next, by calculating and comparing the current hash value of each partition with the expected one.

If at any point in the verification, the expected hash value doesn’t match the calculated one, the boot-up process will be terminated and the user will not be able to access the device.&#x20;

{% hint style="info" %}
The Boot Integrity Check process is initiated every time the device is booted (after turning it on or restarting it).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://os.lunaromp.tech/features/boot-integrity-check.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
