If you have forgotten or lost your root password and unable to login to your Ubuntu 14.04 linux system then follow the instructions below to recover your root password.
Step 1 - Reboot to GRUB2 boot menu
First reboot/reset your system to GRUB2 boot loader menu. Navigate to the menu item you normally boot you Ubuntu system from and press "e" for edit.
Step 2 - Modify boot options
Find the line which starts with "linux". Navigate to the end of the line and add:
as illustrated on the screen-shot below:
Step 3 - Boot your system
Once you have changed boot options as indicated in the previous step press F10 to instruct your Ubuntu system to boot. Your system will boot and you will be provided with root command line prompt.
Read more ...