What exactly is mkfs.ntfs meant to do?
NTFS is a file system, the file system used by Windows. A file system helps you keep track of your data, to create directory trees and files.
fdisk
creates partitions, containers of file systems. So you need to create a file system in the partition. Many tools can help you do it, but you can also use crude tools and do each step separately, which helps understanding what you are doing, and mkfs.ntfs
can create an NTFS file system.
I conclude that you want to create a USB boot drive, that can install Windows 10 into an internal drive. You can use a tool for it or you can 'do it yourself'.
Use the tool woeusb
according to the following link answering another question at AskUbuntu,
WoeUSB Error Code 256 with NTFS formatted USB
In this case you need not create any NTFS file system yourself, woeusb
will do it for you.
Do it yourself according to the following link to an Ubuntu help page,
help.ubuntu.com/community/Installation/iso2usb/diy/windows-installer-for-big-files
In this case you need two partitions, one with a FAT file system and one with NTFS in order to get a USB drive that is bootable in most computers and with most Windows 10 versions.
- Some conputers will boot directly from NTFS (so you need no FAT32).
- Some Windows 10 versions will be happy with only a FAT32 file system (if there is no file exceeding the size limit 4 GiB of FAT32).
If you want to boot only in UEFI mode, you need no bootloader in BIOS mode, and furthermore, if your computer can boot from an NTFS partition, things will be really easy.
You can simply extract the content from the Windows 10 iso file into a partition with the NTFS file system in the USB pendrive.
mkfs.ntfs
? Could you add a link to it or quote the relevant part in your question? – Melebius Dec 10 '19 at 07:42