Getting “console=tty1 console=ttyS0 panic=-1” in grub.cfg

I am trying to fix issue about grub. When I run sudo update-initramfs -vu , the strange parameter

console=tty1 console=ttyS0 panic=-1

will be added to the line in grub.cfg. And the high resolution of grub menu and plymouth are not working.