How to mount an NTFS hard drive on Ubuntu?

To mount an NTFS hard drive in Ubuntu, you can follow these steps:

  1. Open the terminal and type in the following command to install the ntfs-3g package:
sudo apt install ntfs-3g
  1. To find the device name of the NTFS hard drive to mount, you can use the following command:
sudo fdisk -l

Normally, the device name of an NTFS hard drive in output is usually a device that starts with /dev/sd.

  1. Create a directory to mount an NTFS hard drive to it. For example, you can use the following command to create a directory named “ntfs”:
sudo mkdir /media/ntfs
  1. Mount the NTFS hard drive to the newly created directory using the following command.
sudo mount -t ntfs-3g /dev/sdX /media/ntfs

Replace /dev/sdX with the device name of the NTFS hard drive, and /media/ntfs is the directory just created.

  1. Now, you can access and use files and folders on your NTFS hard drive by visiting the /media/ntfs directory.

To automatically mount an NTFS hard drive at system startup, you can add the above command to the /etc/fstab file. Specifically, you can use the following command to open the file:

sudo nano /etc/fstab

Add a line at the end of the document with an entry similar to the following.

/dev/sdX /media/ntfs ntfs-3g defaults 0 0

Save the files and restart the system, the NTFS hard drive should automatically be mounted to the specified directory when the system boots up.

bannerAds