Are you facing an error occurred while mounting /sda drive or something like that in Ubuntu?
Ubuntu – An Error Occurred While Mounting Drive
If you are facing the following type of error while booting Ubuntu:
An error occurred while mounting /sda5
Press S to skip mounting or M for manual recovery
or any such type of error with other mount drive, which is not actually the mount drive you have in the system, or you already have formatted or removed it from the system, then here is a simple solution, which may work for you in getting rid of this error.
How To Resolve An Error Occurred While Mounting SDA Drive
To resolve this error, all you have to do is, first ignore this error message by pressing S, and let the Ubuntu load and start. After that, all you have to do is, simply open the file fstab in gedit or any other text editor, located in:
by opening it on the Terminal, through following command:
sudo gedit /etc/fstab
After the file has been opened, you would be seeing different of your files systems mounted there, like:
/dev/sda5 /sda5 vfat utf8,umask=007,gid=46 0 1
Once you are on the file, just find the line in this file, containing the mount drive, you were facing the error, at the time of booting your Ubuntu. In our case, it is /sda5.
Now insert the hash sign # at the start of this line. The line would now be looking something like:
# /dev/sda5 /sda5 vfat utf8,umask=007,gid=46 0 1
This is it.
Now save the file, and close the editor.
Hopefully this will resolve your problem, and now you wont get any more errors of mounting that non existing drive while booting Ubuntu.