grub: Read-only file system?

Hello, today I want to modify the system’s /usr/share/grub/default/grub to enable the IOMMU grouping, but the system is prompting grub: Read-only file system. I would like to know how to set the grub file properly?