When I have booted my machine and choose Ubuntu. It did a hard drive check and got an error. Then it opened a black screen like a terminal where I can enter commands.
How to fix?
Try running the command fsck when you get to that part of black screen. If not sure, do an fdisk -l, see what partition is your ubuntu and do a fsck /dev/partition