Creating files in NTFS drives

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
VAK
Level 1
Level 1
Posts: 10
Joined: Tue Nov 20, 2018 5:54 am

Creating files in NTFS drives

Post by VAK » Tue Nov 20, 2018 6:24 am

I use the latest version of Linux Mint 19, with all updates installed till today. My laptop has dual boot with Windows 10. The hard disk has 3 main partitions, one each for Linux and Windows and one for my data files. Although I am able to mount and read the data partition, I am not able to copy paste files created in Linux into it. I tried opening the required folder as Root. Still no luck. I am also unable to copy files to my mobile in order to transfer them. Everything else seems fine with the installation. What could be wrong.

User avatar
WharfRat
Level 20
Level 20
Posts: 11857
Joined: Thu Apr 07, 2011 8:15 pm

Re: Creating files in NTFS drives

Post by WharfRat » Tue Nov 20, 2018 9:59 am

Hello VAK Image

Welcome to Linux Mint and the Linux Mint forum :)

Paste back the results of blkid and mount|grep ^/dev
ImageImage

User avatar
phd21
Level 17
Level 17
Posts: 7518
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Creating files in NTFS drives

Post by phd21 » Tue Nov 20, 2018 12:51 pm

Hi VAK,

Welcome to the wonderful world of Linux Mint and its excellent forum!

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

See this post
NTFS Partition does not activate even with automount, until clicking drive in file manager - Linux Mint Forums
viewtopic.php?f=208&t=278971&hilit=disks

Hope this helps ...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

VAK
Level 1
Level 1
Posts: 10
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK » Wed Nov 21, 2018 1:57 am

Code: Select all

vivek@Inspiron-3537:~$ inxi -Fxzd
System:    Host: Inspiron-3537 Kernel: 4.15.0-39-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: portable System: Dell product: Inspiron 3537 v: A10 serial: N/A
           Mobo: Dell model: 08TMHK v: A00 serial: N/A
           UEFI [Legacy]: Dell v: A10 date: 01/24/2018
Battery    BAT1: charge: 15.7 Wh 100.0% condition: 15.7/41.4 Wh (38%)
           model: LGC DELL T1G4M3CF status: Full
CPU:       Dual core Intel Core i3-4010U (-MT-MCP-) 
           arch: Haswell rev.1 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6784
           clock speeds: max: 1700 MHz 1: 952 MHz 2: 906 MHz 3: 962 MHz
           4: 964 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.04hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-39-generic
Network:   Card-1: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 01:00.0
           IF: enp1s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
           driver: ath9k bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
           Card-3: Atheros usb-ID: 001-006
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 750.2GB (2.0% used)
           ID-1: /dev/sda model: ST9750423AS size: 750.2GB
           Optical-1: /dev/sr0 model: PLDS DVD+-RW DU-8A5HH
           rev: SD12 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 24x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 58G used: 14G (26%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 50.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 186 Uptime: 13 min Memory: 1127.7/3833.1MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
vivek@Inspiron-3537:~$ lsusb
Bus 001 Device 005: ID 0bda:58c2 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 0cf3:0036 Atheros Communications, Inc. 
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 2717:ff40  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
vivek@Inspiron-3537:~$
***************************

Code: Select all

vivek@Inspiron-3537:~$ blkid
/dev/sda1: LABEL="System Reserved" UUID="029ED22A9ED2164F" TYPE="ntfs" PARTUUID="8ded6da5-01"
/dev/sda2: UUID="122b884a-71e1-4332-bf20-7a7239f9469c" TYPE="ext4" PARTUUID="8ded6da5-02"
/dev/sda3: LABEL="Windows10" UUID="CE10C68910C6784B" TYPE="ntfs" PARTUUID="8ded6da5-03"
/dev/sda5: LABEL="Data" UUID="DCECB151ECB126A4" TYPE="ntfs" PARTUUID="8ded6da5-05"

Code: Select all

vivek@Inspiron-3537:~$ mount|grep ^/dev
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/fuse on /run/user/1000/doc type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
vivek@Inspiron-3537:~$ 
I have tried using Double Commander and also the default file manager to copy paste files into my Data partition [which is NTFS] without success. Today there were a couple of updates, which after installation seemed to have changed something. I am now able to copy my files to my mobile device :) . I saw the referenced article. I don't use auto mount, as I do not have a frequent need of transferring files to another drive. Thanks. Please let me know if something can be done about the above problems.
Last edited by WharfRat on Wed Nov 21, 2018 1:50 pm, edited 1 time in total.
Reason: Added code tags

User avatar
phd21
Level 17
Level 17
Posts: 7518
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Creating files in NTFS drives

Post by phd21 » Wed Nov 21, 2018 11:33 am

Hi VAK,

Because the "Data" partition is a partition of the main drive, then use the "Disks" application instructions from the link to mount the drive. Afterward, after rebooting, that partition should be available to use with any Linux file manager or other applications.

As for mobile devices, what make and model and operating system (Android, iOS, etc...) is on that (or them)? Install the MTP packages from the "Synaptic Package Manager (SPM)". Even though you can access that now, there could be other really good options for those as well.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

VAK
Level 1
Level 1
Posts: 10
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK » Thu Nov 22, 2018 6:00 am

I installed the Disks utility and mounted the Data partition with it. There was no change in the situation after rebooting. I then used the option to auto mount that partition on boot up. The Data partition now shows up on the desktop after booting up. The parameters shown in the Disks utility mount options are "nosuid,nodev,nofail,x-gvfs-show". But every time I attempt to copy paste to any folder in the Data partition, I get an error message that the file cannot be copied. This happens even if I open the folder as Root. I am not sure if I am doing something wrong. My ability to copy / paste into my mobile device remains unchanged. My mobile is Android - Xiaomi Mi Max 2.

User avatar
phd21
Level 17
Level 17
Posts: 7518
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Creating files in NTFS drives

Post by phd21 » Thu Nov 22, 2018 1:19 pm

Hi VAK,

Maybe something is wrong with the system "fstab" file and this drive's partition? Nobody using Linux Mint should have problem copying or pasting files or folders to a drive partition with NTFS filesystem which requires no special permissions be set first like with Linux filesystems (ext4, btrfs, etc...).

Run the commands below and copy and paste the results back here.

Code: Select all

cat /etc/fstab
and

Code: Select all

lsblk -f

FYI: here are my current "fstab" results
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=50f2bfd6-999e-40ce-a07b-26cfc2d94bd8 / ext4 noatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e5c961dd-04d1-46a3-a31b-8c6aba142d5f none swap sw 0 0
#
#
# This is a Data partition with the NTFS filesystem
LABEL=ssdata480 /mnt/ssdata480 auto nosuid,nodev,nofail,x-gvfs-show 0 0
#
# This is another partion on another attached drive "Linux Mint 18.3 KDE"
LABEL=lm18kde /mnt/lm18kde auto nosuid,nodev,nofail,x-gvfs-show 0 0
#
# this is a USB external drive with a NTFS partition
LABEL=grey-ntfs /mnt/grey-ntfs auto nosuid,nodev,nofail,x-gvfs-show 0 0
...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

VAK
Level 1
Level 1
Posts: 10
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK » Fri Nov 23, 2018 2:06 am

vivek@Inspiron-3537:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=122b884a-71e1-4332-bf20-7a7239f9469c / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
LABEL=Data /mnt/Data auto nosuid,nodev,nofail,x-gvfs-show 0 0
vivek@Inspiron-3537:~$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ntfs System Reserved 029ED22A9ED2164F
├─sda2 ext4 122b884a-71e1-4332-bf20-7a7239f9469c /
├─sda3 ntfs Windows10 CE10C68910C6784B
├─sda4
└─sda5 ntfs Data DCECB151ECB126A4 /mnt/Data
sr0
vivek@Inspiron-3537:~$

User avatar
jjcojax
Level 2
Level 2
Posts: 85
Joined: Fri Apr 03, 2015 6:01 am
Location: Belgium

Re: Creating files in NTFS drives

Post by jjcojax » Sat Nov 24, 2018 8:41 am

hello,

Start Win10
please disable Fast Startup (because hiberfil.sys is in use for fast startup)

Extra: run a chkdsk c: /f (if error on drive c:)

if chkdsk ok -> restart Linux

jjcojax

VAK
Level 1
Level 1
Posts: 10
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK » Tue Dec 04, 2018 6:23 am

I just updated Mint with the latest patches, and there everything went well. Obviously a bug somewhere. :D :D
Strangely, I rechecked with the installation media, and found everything was fine with it. I could create or delete any file in my NTFS partitions from there, without any issues. The bug presented itself only after the OS was installed on my HDD.

VAK
Level 1
Level 1
Posts: 10
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK » Sat Dec 15, 2018 6:17 am

Something strange happening here. After a couple more updates, my laptop is again back to the same issues. Cannot create or modify a file in a NTFS partition. The right click menu greys out even the cut, rename and delete options for files and folders. This is really bugging me. Are the developers making the same mistakes again and again?? :evil: :evil:

Post Reply

Return to “Software & Applications”