> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thistle.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Bootloader Overview

> Overview of Thistle Supported Bootloaders for A/B Update

Thistle works with bootloaders in order to support root filesystem image update. Like all updates performed on the Thistle Platform, it is applied with an A/B policy - allowing to always fallback if an issue is encountered during the application of the update.

<img src="https://mintcdn.com/thistletechnologies/RuOvvatuLqT9Z9Z-/images/abboot.svg?fit=max&auto=format&n=RuOvvatuLqT9Z9Z-&q=85&s=7aaf2488fcb898979f35a9f9d21fd7fb" alt="Full system A/B boot process" width="1177" height="1096" data-path="images/abboot.svg" />

The Thistle Update Client relies on external Shell scripts to perform the Bootloader integration. Two simple scripts are required in order to inform the Update Client - one is required to tell the bootloader to attempt a boot on the newly updated partition, and another one to confirm that the boot was successful (latch-in update). We provide example for Raspberry Pi under the integration page.

<Note>For any bootloader setup supported by the Thistle Update Client, it is required to have 2 partitions available, that will be used as root filesystem alternatively.</Note>

In any case, feel free to reach out in our [discord channel](https://discord.com/channels/1007063261813932042/1007063261813932045) - we would be more than happy to hear about your bootloader setup and help with integration!
