Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ntfs]

NTFS (New Technology File System) is the standard file system of Windows. Use this tag in questions about using NTFS partitions and tools on your system.

1
vote
1answer
16 views

Recover file list from NTFS formatted (MBR) failing hard drive

My Seagate Backup Plus Ultra Slim 2TB USB hard disk is not detected on Windows(explorer, disk management, safety remove dialog all crashes when I plug in) but on fedora, it takes 2 minutes to ...
1
vote
2answers
78 views

Sudo rm -rf does not remove a non-empty folder

I have a mounted an external hard disk on /media/pcmagas/Backup disk containing a folder dimitrios. When I try to remove it with the following comand: /media/pcmagas/Backup disk sudo rm -rf ./...
0
votes
1answer
43 views

What is the correct permission in /etc/fstab to mount NTFS?

I have Windows and Arch Linux in dual with UEFI. I want to mount my another NTFS partition in Arch. I mounted the partition with mount /dev/sda5 /mnt/Apps command. Then added the output of genfstab -...
0
votes
0answers
32 views

Installing Fedora 29 alongside Windows 10 replacing Ubuntu 18.10

I currently have a Windows 10 installation and Ubuntu 18.10 installed alongside it. I recently tried to install fedora but on the HDD there was no FAT32 partition for the boot. sdap1 was a NTFS ...
1
vote
1answer
97 views

GRUB Boot ISO/disk image from NTFS partition

I'm trying to boot an ISO containing a Linux live system from an existing NTFS partition on a PC. The PC has UEFI, and the hard disk is partitioned with GPT, so GRUB4DOS is not an option. Can this be ...
0
votes
3answers
33 views

How to detect NTFS/exFAT filing system type fronm script

User has a (incremental) backup script using rsync, to external device. This was erroring on an SSD he had. Turns out (I had no idea) his device was formatted exFAT. Unfortunately that means I need ...
0
votes
0answers
46 views

CIFS permission issues when mounting a NTFS partition

I'm attempting to mount an NTFS file share. sudo mount.cifs //address.fileshare.com/TestMount /home/me/TestMount -o username=MyUserName,domain=MyDomain,uid=MyUserName,file_mode=0777,dir_mode=0777, ...
-4
votes
2answers
64 views

Windows removed files copied from Linux and ext4 filesystem

I have an external hard drive with a ntfs filesystem. I have used it to backup the files under my /home (an ext4 filesystem). I choose NTFS only because it is said to be portable between Windows and ...
5
votes
2answers
623 views

Why is the size of a directory either 0 or 4096? [duplicate]

$ ls -l total 28 drwxrwxrwx 1 t t 4096 May 8 2018 dir1 drwxrwxrwx 1 t t 0 Mar 12 2015 dir2 drwxrwxrwx 1 t t 4096 Jan 17 2014 dir3 drwxrwxrwx 1 t t 4096 Jun 12 2017 dir4 drwxrwxrwx 1 t t ...
1
vote
0answers
23 views

fstab bound folders show as disks in GUI

I'm trying to mount different folders on sda7 in the folders in the /home folder. like documents, pictures, and music. I always did that like this: /media/betty/Tuinhuisje/Betty/Documents /home/...
0
votes
0answers
50 views

CentoOS 7 Samba Share USB NTFS

Cannot seem to find an answer which includes all of the specifics of my situation. I followed instructions in Sharing a mounted drive with samba on CentOS7, but still have a problem. I have CentOS 7 ...
2
votes
0answers
294 views

NTFS Signature Missing

I've been trying to access my Windows partition using Linux bootable USB flash drive. Looking at the size of lsblk output, I believe the main partition is /dev/sda2 root@linux:~# lsblk NAME MAJ:...
3
votes
1answer
80 views

Partitioning and formatting a 4k-emulated (512e) HDD

I just plugged into USB A 3.0 / C 3.1 my new external HDD to Debian Buster system. The disk was sold as LaCie 2.5" Porsche Design P'9227 2TB USB-C. Here is the output of fdisk -l /dev/sdc: Disk /...
2
votes
0answers
112 views

GRUB2 Booting ISO from NTFS partition [duplicate]

I'm trying to boot an ISO containing a Linux live system from an existing NTFS partition on a PC. The PC has UEFI, and the hard disk is partitioned with GPT, so GRUB4DOS is not an option. Can this be ...
0
votes
0answers
29 views

Why can't I see NTFS partitions on a specific drive?

I have a dual boot win10/Fedora29, with 3 internal drives: win10 system (NTFS) fedora system (ext4) data drive (NTFS) I can't see the partitions on the data drive and I can't mount it. I can ...
1
vote
0answers
102 views

On CentOS 7 allow certain users Read & Write to mounted file systems of different types

I have a query around mounting file systems of differing types in such a way that a selection of users have r/w access to them. Here's the scenario. I've rebuilt a media server to Centos 7 minimal ...
1
vote
1answer
30 views

Datarescue with ddrescue location of files

I am recovering a 2TB harddisk with one NTFS partition with ddrescue. Only 300GB of the 2TB are used (mainly photos). My problem is that I have not 2TB availbable on the rescue pc. Can I assume that ...
2
votes
1answer
152 views

Cannot chown, chmod on mounted ntfs partition

I need to mount a ntfs partition and be able to use it with unix file system permissions. The problem is that, when I mount the partition using the following fstab entry, I cannot run chown and chmod ...
1
vote
0answers
102 views

How to enable Trash on NTFS

In Ubuntu 18.10 I can't use the trash on my NTFS partition. When deleting a file Nautilus prompts to permanently remove it. In Solus trash works on this partition. Any ideas how to enable trash or ...
0
votes
2answers
1k views

Wrong fs type, bad option, bad superblock on /dev/sdX [closed]

I am trying to mount a relatively new external HDD but, when running sudo mount /dev/sdc /mnt/harddrive I get the following error message: mount: /mnt/harddrive: wrong fs type, bad option, bad ...
3
votes
2answers
64 views

Is it possible to expect copies of files from ext4 to ntfs filesystems can work equally well as the original?

I am reading about how symlinks created on linux filesystem not work well when copied to NTFS filesystem at https://ubuntuforums.org/showthread.php?t=1497914. Is it possible to copy files of any ...
2
votes
0answers
165 views

Undo effects of running ntfsfix (ntfs-3g) on a Windows exfat partition [closed]

Using Linux I was trying to access an exfat partition that was created using the partition tool in Windows. Due to some improper shutdown issue I was not allowed access. Then I took the brilliant ...
4
votes
2answers
4k views

Cannot mount sda1: “The device '/dev/sda1' doesn't seem to have a valid NTFS.”

I've installed Ubuntu alongside Windows 7. When i try to mount /mnt/sda1 which is Windows part on it, i take error such that; "The device '/dev/sda1' doesn't seem to have a valid NTFS." NTFS ...
0
votes
1answer
124 views

can't format usb storage mounted on /dev/sdb

I have an 8Gb usb storage and lsblk shows it its mounted in /dev/sdb. When trying to: sudo mkfs.ntfs -L "label" /dev/sdb I got: /dev/sdb is entire device, not just one partition. Refusing to make a ...
0
votes
1answer
176 views

Is ext4 filesystem safe? [closed]

I recently had couple of accidents with my disks formatted to etx4. To be honest, I believe the failure was on my side, because one of them was due to incorrect [manual] unmounting of flash card, and ...
0
votes
2answers
49 views

How can I pin a mount folder to a specific serial number, so that the same disk gets mounted in the same place every-time?

I have many hard-disks that need to be mounted on restarts some have have NTFS file-systems other have EXT4, some are USB and some are SATA, some have the same label names, and they don't get mounted ...
0
votes
0answers
48 views

How to delete a git repo with submodule from NTFS partition and then git clone it with submodule initialized?

I tried setting my 2 TB hard drive partition into a NTFS file system, per an answer to an earlier question of mine. I moved a heap of my git repos onto it. Some of my repos have submodules, and ...
-1
votes
1answer
28 views

Cross-platform Filesystem and ACLs for installation on Raspberry Pi

I am deploying NextCloud on my Raspberry Pi. I am stuck on what I know is an inefficient way to design and run a system. Currently the configuration sits on an external drive with ext4 file system. I ...
1
vote
1answer
34 views

Dynamic Drive HotSwapping

Setup is simple. I have a rack-mounted server with 24 5" drive bays in the front. The server runs PLEX. Each HDD is NTFS partitioned and contain optional folders in root. Server is running Debian8 (3....
2
votes
2answers
441 views

List bad blocks and affected files

I made a full disk image from a 4 to 5 year old laptop HDD. That HDD was in a laptop that was carried often to places, so, over the years, it has probably experienced physical stresses to some degree....
1
vote
0answers
189 views

Manually configuring GRUB2 on a bootable USB install media for Windows XP?

I am having a heck of a time trying to make a simple Windows XP installation USB. I am running Ubuntu 16.04LTS, and am attempting to dual-boot install Windows XP Pro X64 on this same machine (using ...
2
votes
1answer
214 views

ddrescue .NTFS file can't open file

I have just rescued an old damaged HDD to my 8TB drive and I've got 1 .IMG file. I then took the 8TB drive to my work Windows 10 machine and used 7-zip to extract the file. Then I got 2 .NTFS files ...
3
votes
1answer
1k views

CentOS 7.4 Samba share access denied

I have set up Samba server on CentOS 7.4 and supposedly allowed it in SELinux. I can successfully access anonymous share on root filesystem but cannot access directories on mounted NTFS partition. In ...
0
votes
1answer
219 views

Does `ntfs` have the concept of hard links?

Does what I describe below sound good? I am thinking about using rsync to backup files under a directory of my Lubuntu laptop to an external hard drive. I also plan to use the rsync option --link-...
1
vote
1answer
75 views

Can't mount external Hard Drive after shrinking partition with parted

I resized the NTFS partition in my external hard drive by shrinking it and then I created a 2nd fat32 partition starting from the end of the 1st partition. I also switched the boot flag from the NTFS ...
1
vote
2answers
269 views

Mouting NTFS drive, no write access

Copying scripts from the previous isntall of Debian for Raspberry. The commant should mount an external NTFS drive to a folder. Before the new install, this command worked: sudo mount -t ntfs /dev/...
1
vote
1answer
36 views

Will permission bits set on a directory on an external hard drive be respected under Windows?

I have an external hard drive, which has a ntfs file system. From output of sudo fdisk -l: Disk /dev/sdb: 931.5 GiB, 1000170586112 bytes, 1953458176 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
1k views

ls: reading directory '.': Input/output error

xubuntu, NTFS. When I trying to open directory with files: username@username-hp:/media/username/dir1/dir2/music$ la ls: reading directory '.': Input/output error Also if I open the directory with ...
0
votes
1answer
66 views

How to unmount NTFS USB stick in Mate?

I am using the Mate desktop in Debian 9 Stable. I insert a USB stick and then it mounts automatically and opens in the file browser Caja. I know I can unmount it by terminal, using 'umount /media/...
0
votes
1answer
488 views

Access other files on Slax flash drive from within Slax

I've made a bootable Slax flash drive in Windows by copying the slax directory to a USB flash drive and running bootinst.bat in slax/boot. It works as expected as I can boot to Slax from the flash ...
1
vote
1answer
675 views

NTFS $MFTMirr does not match $MFT

I was copying files in Linux Mint to NTFS external USB disk when I moved my laptop, probably USB connection was lost and now I got error $MFTMirr does not match $MFT. Mount error message is to use ...
1
vote
1answer
164 views

how can I get/set ntfs permission from command-line (or script) on linux?

I want to copy my home directory to a new install of the same version of windows. On my new install, my user name will correspond to a new UUID, so I want to edit the permissions to add the a copy of ...
0
votes
1answer
213 views

Can I set the “Archive” bit on a file on NTFS on Linux?

On a NTFS file system, you can set the Archive bit for a file. I can set the Archive bit for a file on a NTFS partition if I am using Windows, but say that I have a NTFS partition mounted on Linux, ...
2
votes
1answer
209 views

“ls” command showing inode numbers for an NTFS partition

I have an NTFS partition mounted at /media/disk. I run the following command: ls -lai /media/disk, and I got the following result: The first column is for the inode number. But why is the inode ...
0
votes
1answer
175 views

systemd automount files system as read write, not working as expected (read only)

My problem is systemd automount is mounting my ntfs filesystem as read only dispite me setting the options=rw Following some online reference sites on setting up systemd with automount I created two ...
0
votes
1answer
125 views

Why can't I mount this disk?

I'm trying to mount an external HDD to an ARM server running Debian Jessie. I removed the partition and made a new one in parted with mkpart primary ntfs 0% 100%. Below is the output from sudo fdisk -...
0
votes
1answer
357 views

Is it okay to format my Toshiba Canvio Ready Portable Hard Drive to “ext4”?

Today I have bought a new Toshiba 1TB Canvio Ready USB 3.0 Portable External Hard Drive (Black). The specifications page of the portable hard drive says, it has been formated to NTFS file system and ...
0
votes
1answer
586 views

How can mkntfs be used to create a Windows filesystem on a file?

According to the man page: MKNTFS(8) ... mkntfs is used to create an NTFS file system on a device (usually a disk partition) or file. The problem is that when I give it a pre-created 64GB ...
2
votes
0answers
416 views

du very slow on NTFS disk

Just doing a simple du -h --max-depth=1 | sort -h took 71 minutes (measured by time). I have tested disk IO with dd; write speed 135 MB/s, and read speed 6,9 GB/s. I am using this command on a folder ...
2
votes
1answer
170 views

How can I list supported filesystems? More precisely, how can I determine if filesystems such as NTFS are supported?

I need a way to allow a user to format a disk to the filesystem of their choice the way that GParted does. We have devices that use NTFS, EXT4, XFS, and JFS so I'm mainly interested in those. I just ...