# How to bind your GPU to vfio at boot without affecting Unraid

**URL:** <https://forum.hhf.technology/t/how-to-bind-your-gpu-to-vfio-at-boot-without-affecting-unraid/324>\
**Category:** Home Servers\
**Tags:** gpu, unraid, vfio\
**Created:** [November 1, 2024, 2:51pm UTC](https://forum.hhf.technology/t/how-to-bind-your-gpu-to-vfio-at-boot-without-affecting-unraid/324 "2024-11-01T14:51:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [November 1, 2024, 2:51pm UTC](https://forum.hhf.technology/t/how-to-bind-your-gpu-to-vfio-at-boot-without-affecting-unraid/324/1 "2024-11-01T14:51:52Z")

</div>

To bind your GPU to VFIO at boot without affecting Unraid, follow these steps:

## Steps to Bind GPU to VFIO

1. **Enable IOMMU in BIOS** : Ensure that IOMMU is enabled in your BIOS settings. This is crucial for passing through individual components to virtual machines. You may also want to enable SR-IOV if available.

2. **Identify PCI Devices** : Go to the Unraid webGUI and navigate to **Tools → System Devices**. Here, you can see all your hardware and their respective IOMMU groups. Identify the PCI ID of the GPU you want to bind (e.g., `02:00.0` for the GPU and `02:00.1` for the audio device associated with it).

3. **Use the VFIO Binding Method** :

4. **Modify Syslinux Configuration (if needed)**:

5. **Reboot Your System** : After making these changes, reboot your Unraid server for the changes to take effect.

## Considerations

- **Impact on Unraid** : Binding a GPU to VFIO should not affect your Unraid webGUI as long as you do not bind essential devices (like storage controllers or network interfaces) that Unraid depends on. If you bind your only video card, ensure you have another method (like a serial console) to access Unraid during troubleshooting.

- **Testing Configuration** : After binding, create a VM with the GPU assigned and test its functionality. If you encounter issues, you can revert changes by deleting or renaming the `vfio-pci.cfg` file and rebooting.

By following these steps carefully, you should be able to bind your GPU to VFIO effectively without disrupting your Unraid setup.  
If any issues comment below.
