The Automagic Kernels List holds the global settings applied to the kernels held in the /boot directory. It is populated by the script “update-grub” which runs each time a kernel is installed from the Ubuntu repositories. This list of settings is held between the "### BEGIN AUTOMAGIC KERNELS LIST" and "### END DEBIAN AUTOMAGIC KERNELS LIST” lines, and has a different format than is found in most configuration files or, for that matter, in the rest of the file. This difference is due to the fact that two different scripts must use this part of the file.
Comments in the Automagic Kernel List are designated with two comment symbols (#), instead of the usual one. Global options read by the update-grub script are designated with one comment symbol (#). For example, the line “## default kernel options” is a comment, while the line “# howmany=all” is a global option used by update-grub to generate the file read by grub at boot.
If you want to add additional kernel parameters, you add them to the end of the line that looks like:
# kopt=root=UUID=e4f56224-63eb-4f0f-a974-7b4938d56fd3 ro
You do not remove the comment symbol, or create another kopt variable.