How to mount partition in Ubuntu

Problem: If you want to mount new NTFS partition or have a partition is not accessible any more, run following steps.

Note: In case you are trying to mount external drive, and can’t list it using df -h try  lsblk it will list all mounted and not mounted disk, then you can foloowing the folloing steps.

  • Do this to fix non accessible NTFS partition.
    sudo ntfsfix /dev/sda2
  • If partition is not amounted already, run following command.
    sudo mount -o rw /dev/sda2
Author: Danyal
I'm skilled programmer with expertise in Vue.js/Nux.js for front-end development and PHP Laravel for back-end development. I excel in building APIs and services, and also have experience in web server setup & maintenance. My versatile skill set allows you to develop and maintain web applications effectively, from the user interface to the server-side functionality. I love coding with never ending learning attitude, thanks for visiting danya.dk