I would like to know how to create a ntfs partition on /dev/sdx. I could not figure out if I should use partition type 7 86 or 87.
What is the full list of commands to use?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communitycreate a partition using fdisk
fdisk /dev/sdx
Commands:
create a ntfs fileystem on /dev/sdx1:
mkfs.ntfs -f /dev/sdx1
(the -f
argument makes the command run fast, skipping both the bad block check and the zeroing of the storage)
mount it wherever you want
mount /dev/sdx1 /mnt/myNtfsDevice
mkfs.ntfs -f /dev/sdx1
instead
– DCIndieDev
Jun 14 '18 at 1:39
You can use fdisk to create the partition "disk" division but for the partition's file system you can use the mkfs.ntfs to create the file system in the partition that will use ...
partition type 7 86 or 87
I assume you mean thefdisk
shell partition types, of course. – Sopalajo de Arrierez Oct 6 '17 at 21:02