How to Mount a NTFS Drive on Ubuntu 18.04

Опубликовано: 23 Октябрь 2024
на канале: Geekhead
14,327
129

Let me show you how to mount Windows NTFS hard disks in Ubuntu 18.04. This configuration will mount these volumes every time you boot into your Linux environment.

1. Locate your hard drive using the following commands:
~# fdisk -lu
~# blkid

2. Create your mount directories.
mkdir -p /media/disk1

3. Edit your fstab to include the drives you want mounted.
~# vi /etc/fstab

#ntfs volumes
UUID={UUID# from blkid} /media/{directory} ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0

4. Mount the drives:
~# mount -a