Failed to mount /efi after botched update

In the post marked solution (Failing to boot after update (can't mount /efi) - #26 by dalto), it says

Delete /etc/kernel/cmdline if it exists.