How to edit GRUB options, unable to boot

I don’t know what to do. I set rd.qubes.hide_pci with the number of my external GPU, but now I can’t boot.
I checked the bios, there’s a property of “Advanced\graphics config”, but there’s nothing I can do there… the “Graphics config” is grayed out and I have only the DVMT Pre-allocated option to set.
I tried to follow this guide https://forum.qubes-os.org/t/create-a-gaming-hvm but can’t even boot now.