You must configure an NSX-T Data Center appliance to display the GRUB menu at boot time if you want to reset the root password of the appliance.
Important: If the configuration is not performed after deploying the appliance and you forget the root password, resetting it is not possible.