How to regenerate `/etc/default/grub`?

This might also helps:
Working with the GRUB 2 Boot Loader :: Fedora Docs >> grubby tool

p.s.
Generally fedora is always a bit ahead of Ubuntu, and it also has some own tweaks sometimes … so refer to fedroa.docs might helps you better than ask-ubuntu.