• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

mkfs.ntfs: command not found

by Deepika

“mkfs.ntfs” is a command-line utility that creates a New Technology File System (NTFS) filesystem on a partition or disk. NTFS is a proprietary file system developed by Microsoft that is primarily used by the Windows operating system. The “mkfs.ntfs” command initializes the partition, creates the necessary file and directory structures, and writes the boot sector and other required information to the partition. NTFS offers several advantages over other file systems, including improved security, support for large file sizes and partitions, and more efficient use of disk space. After the process is complete, the partition is ready to be used to store and access files on systems running Windows or other operating systems with NTFS support.

If you encounter the below error while running the command mkfs.ntfs:

mkfs.ntfs: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install ntfs-3g
Ubuntu apt-get install ntfs-3g
Alpine apk add ntfs-3g
Arch Linux pacman -S ntfs-3g
Kali Linux apt-get install ntfs-3g
Fedora dnf install ntfsprogs-2
OS X brew install ntfs-3g
Raspbian apt-get install ntfs-3g

mkfs.ntfs Command Examples

1. Create a NTFS filesystem inside partition 1 on device b (`sdb1`):

# mkfs.ntfs /dev/sdb1

2. Create filesystem with a volume-label:

# mkfs.ntfs -L volume_label /dev/sdb1

3. Create filesystem with specific UUID:

# mkfs.ntfs -U UUID /dev/sdb1

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to add Source, Services and Ports to Firewall Zone in CentOS/RHEL 7 and 8
  2. lxi: command not found
  3. fail2ban-client Command Examples in Linux
  4. nft: command not found
  5. ss: command not found
  6. What is the purpose of .bash_profile file under User Home Directory In Linux
  7. How to increase swap space on Linux
  8. How to install and Configure VNC (TigerVNC) server in CentOS / RHEL 7
  9. blight Command Examples in Linux
  10. battop Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright