---
tags: Redhat
---
# Redhat Grub Update with Iommu on
###### tags: Redhat , Grub
Video Link: https://www.youtube.com/watch?v=uq3hrvxnlIs
### How to update the grub
```javascript=
su
grub2- [+tab]
grub2-editenv list
grub2-set-default 1
```

```javascript=
nano /etc/default/grub
update this line with intel_iommu=on iommu=pt
"GRUB_CMDLINE_LINUX="nofb splash=quiet console=tty0 ... intel_iommu=on iommu=pt"
```

```javascript=
grub2-mkconfig -o /boot/grub2/grub.cfg
```

```javascript=
reboot
```
### Now check the IOMMU enabled or not
```javascript=
dmesg | grep -i -e DMAR -e IOMMU
```
### Before IOMMU=ON

### After IOMMU=ON
you can see in the screenshot IOMMU enabled
