When there is no root password for a live session in linux you can type:
sudo passwd root
Then enter a new unix password
Then type su as normal to gain root access.
su
Another way: in Debian there is no root user only type
#sudo su –
If you need root access in Ubuntu then it’s different, there is no actual root, with Ubuntu you need to do sudo, this line shows you how.