@Cleber did a lot of work on a module to deal with grub and grub2 properly.  I'd be surprised if that didn't include working with/modifying the kernel parameters also.  Is this true?

Assuming so, I'd suggest leveraging  his module to handle grub/grub2 in a uniform way.