> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/deployr/deployment-methods/configuring-pxe-booting/using-2pxe.md).

# Using 2PXE

The simplest way to PXE boot DeployR boot images is to use the 2Pint Software 2PXE service. 2PXE Server 4.0 and later include a dedicated DeployR integration: 2PXE finds the DeployR server through StifleR, and builds its boot menu from the boot images that DeployR has generated. No scripts need to be edited, and boot images don't need to be copied to the 2PXE server.

See the [2PXE documentation](https://documentation.2pintsoftware.com/2pxe-server) for information on installing and configuring 2PXE, including the "DeployR Request Handler" page.

{% hint style="info" %}
DeployR Community installs 2PXE automatically. The steps below are only needed if you install 2PXE yourself, for example with DeployR Enterprise.
{% endhint %}

## Configure 2PXE for DeployR

After installing 2PXE Server, open the **Configure 2PXE** configuration editor from the Start menu, and set the following:

* **Integration mode** (General settings): **DeployR**.
* **Use Infrastructure** (Infrastructure settings): turned on.
* **StifleR web service URL** (Infrastructure settings): the URL of the StifleR server that DeployR is registered with, for example `https://stifler.contoso.com:9000`.

Leave **EnableiPXEBootLoaders** and **RunHttpServer** turned on (the default); the DeployR integration requires both. Click **Verify** and then **Save**, and restart the 2PXE service when prompted.

## How it works

When a device PXE boots, 2PXE shows a menu listing each DeployR boot image that has been generated for the device's architecture (x64 or ARM64), along with options to reboot or exit to the next boot device. iPXE then downloads the selected boot image directly from the DeployR server:

* Windows PE boot images are booted with wimboot.
* Linux boot images are booted with the Linux kernel and initrd.

2PXE refreshes its list of DeployR boot images every 15 minutes, so a newly generated boot image can take up to 15 minutes to appear in the menu. If DeployR has no generated boot images yet, 2PXE checks again every minute.

To change the default menu selection or the menu countdown, see [2PXE Boot Menu Configuration](https://documentation.2pintsoftware.com/deployr/customization/2pxe-boot-menu-configuration.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.2pintsoftware.com/deployr/deployment-methods/configuring-pxe-booting/using-2pxe.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
