The root user in Ubuntu by default is assigned a random password and you are not given the option to change it during install time.
To change the password in order to logon as root, use the Users and Groups tool, locate the root user, then change the password.