#mount

Add new hard disk in ubuntu

You are using linux on virtual machine (e.g VMWARE) or real PC. I will show you the way how to add new hard disk in ubuntu

Check new device:

/dev/sdb is new hard disk that you needed. In case, you do not see new devive, it means that the OS system does know about new device. So you should reboot your system, If still not, you need install driver software for new device (read device specification and download drivers from device provider)

Be so busy improving yourself that you have no time to criticize others

Be so busy improving yourself that you have no time to criticize others

Start with command:

Follow the guide to add a new partition

And build Linux file sytem in new hard disk (I chose ext4)

And try to mount new hard disk to directory

Test with df command

Finally, add the mount to fstab to automatically mount disk when system start.

Add line:

To apply the new change of fstab file. We use command:

In case the automation fails, you can troubleshoot with command:

A error case: