Creating files in NTFS drives

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
VAK
Level 1
Level 1
Posts: 15
Joined: Tue Nov 20, 2018 5:54 am

Creating files in NTFS drives

Post by VAK »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Creating files in NTFS drives

Post by WharfRat »

Hello VAK Image

Welcome to Linux Mint and the Linux Mint forum :)

Paste back the results of blkid and mount|grep ^/dev
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Creating files in NTFS drives

Post by phd21 »

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 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
VAK
Level 1
Level 1
Posts: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

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 Anonymous on Wed Nov 21, 2018 1:50 pm, edited 1 time in total.
Reason: Added code tags
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Creating files in NTFS drives

Post by phd21 »

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 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
VAK
Level 1
Level 1
Posts: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

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.
phd21
Level 20
Level 20
Posts: 10103
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Creating files in NTFS drives

Post by phd21 »

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 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS's, Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.
VAK
Level 1
Level 1
Posts: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

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 5
Level 5
Posts: 608
Joined: Fri Apr 03, 2015 6:01 am
Location: Belgium

Re: Creating files in NTFS drives

Post by jjcojax »

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: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

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: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

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:
VAK
Level 1
Level 1
Posts: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

Today's Gnome update has again fixed this issue. I wonder when this will break again. Why can the developers not stop meddling with the most basic features of this OS???? I can understand having a bug here and there when there are feature updates, like we do in Win10. But this On again Off again really bugs me. I have had enough trouble in Win10 so far. That was precisely the reason why I thought I should have a dual boot arrangement with Linux. Another day another time, and maybe it will be time for me to consider quitting. I think it is too much trouble having bugs like this in both OSes. :evil: :evil:
VAK
Level 1
Level 1
Posts: 15
Joined: Tue Nov 20, 2018 5:54 am

Re: Creating files in NTFS drives

Post by VAK »

It appears that the developers of this OS consider this issue as a non-issue. I find it exasperating that every couple of updates later, something breaks this up until the matter is reported again. Will these guys show me a work around to transfer files that I create or download into an NTFS partition? Or someone please specifically tell me to go away, and I will stop bothering anybody about it.
MtnDewManiac
Level 6
Level 6
Posts: 1491
Joined: Fri Feb 22, 2013 5:18 pm
Location: United States

Re: Creating files in NTFS drives

Post by MtnDewManiac »

Did you make this recommended change (and in a permanent way)?
jjcojax wrote: Sat Nov 24, 2018 8:41 amStart 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
If so, it might be some kind of linux issue. Otherwise, I'd think it's just the usual Microsoft issue of the OS not properly closing/shutting down the drive because the OS hasn't technically shut down at that point and is merely expecting your very next move (whenever it occurs) to be a resume from hibernation (which Microsoft has disguised as a fast boot in order to impress its users).
VAK wrote: Thu Nov 22, 2018 6:00 amBut 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.
Is that all the information the error message gives you, "the file cannot be copied," or is there something more specific (user permissions issue, et cetera)?

Regards,
MDM
Mint 18 Xfce 4.12.

If guns kill people, then pencils misspell words, cars make people drive drunk, and spoons made Rosie O'Donnell fat.
Locked

Return to “Software & Applications”