DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I get the invalid mount whenever i try to access my ntfs partition used for data storage.
Code:
The specified directory '/media/ntfs1' is not valid
I opened gparted and look and get the info message
Code:
Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ntfs file system support: ntfs-3g / ntfsprogs.
ntfs-3g is installed,
Code:
$ sudo apt install ntfsprogs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ntfsprogs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ntfsprogs' has no installation candidate
is what I get for ntfsprogs,
fstab
Code:
GNU nano 2.7.4 File: /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/sdb9 during installation
UUID=d503b79c-4d4c-4997-9513-5c3faef6e50d / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb10 during installation
UUID=bd1f1e95-73e2-42e8-89a4-152d0e1ea1d6 /home ext4 defaults 0 2
UUID=2d6a4d00-106e-4402-91c4-329a1bbcee85 /media/data1 ext4 defaults 0 1
#UUID=591D9C6C566EEE1C /media/ntfs1 ntfs-3g defaults 0 1
/dev/sda2 /media/ntfs1 ntfs-3g defaults 0 1
both mount method give me the same error.
I have not used Debian since before systemD, this has always worked for me in mounting ntfs. so what am I doing wrong?
? It sounds as though you have an old package that doesn't work interfering with the installation of an up-to-date package that would.
retrun
Code:
$ apropos ntfs
filesystems (5) - Linux filesystem types: ext, ext2, ext3, ext4, hpfs, iso9660, JFS, minix, msdos, ncpfs nfs, ntfs, proc, Reiserfs, smb, sysv, umsdos, vfat, XFS, xiafs,
fs (5) - Linux filesystem types: ext, ext2, ext3, ext4, hpfs, iso9660, JFS, minix, msdos, ncpfs nfs, ntfs, proc, Reiserfs, smb, sysv, umsdos, vfat, XFS, xiafs,
lowntfs-3g (8) - Third Generation Read/Write NTFS Driver
mkfs.ntfs (8) - create an NTFS file system
mkntfs (8) - create an NTFS file system
mount.lowntfs-3g (8) - Third Generation Read/Write NTFS Driver
mount.ntfs (8) - Third Generation Read/Write NTFS Driver
mount.ntfs-3g (8) - Third Generation Read/Write NTFS Driver
ntfs-3g (8) - Third Generation Read/Write NTFS Driver
ntfs-3g.probe (8) - Probe an NTFS volume mountability
ntfscat (8) - print NTFS files and streams on the standard output
ntfsclone (8) - Efficiently clone, image, restore or rescue an NTFS
ntfscluster (8) - identify files in a specified region of an NTFS volume.
ntfscmp (8) - compare two NTFS filesystems and tell the differences
ntfscp (8) - copy file to an NTFS volume.
ntfsdecrypt (8) - decrypt or update NTFS files encrypted according to EFS
ntfsfallocate (8) - preallocate space to a file on an NTFS volume
ntfsfix (8) - fix common errors and force Windows to check NTFS
ntfsinfo (8) - dump a file's attributes
ntfslabel (8) - display/change the label on an ntfs file system
ntfsls (8) - list directory contents on an NTFS filesystem
ntfsprogs (8) - tools for doing neat things with NTFS
ntfsrecover (8) - Recover updates committed by Windows on an NTFS volume
ntfsresize (8) - resize an NTFS filesystem without data loss
ntfssecaudit (8) - NTFS Security Data Auditing
ntfstruncate (8) - truncate a file on an NTFS volume
ntfsundelete (8) - recover a deleted file from an NTFS volume.
ntfsusermap (8) - NTFS Building a User Mapping File
ntfswipe (8) - overwrite unused space on an NTFS volume
after install of this live cinnamon I did a dist-upgrade.
I started gparted to get a quick look to see if I was getting that error still, and NO it was not there, I did not have it to mount in fstab, so I opened fstab and haiving found this way of writting it too, I implemented it.
Code:
UUID=7B25FA8C1AFCB7A9 /media/ntfs1 ntfs-3g permissions,auto 0 0
$ sudo mount -a
Using default user mapping
it did not show up in my file manager so I used the terminal.
Code:
userx@debiansucks:~
$ cd /media
userx@debiansucks:/media
$ ls
cdrom data1 ntfs1 userx
userx@debiansucks:/media
$ cd ntfs1
userx@debiansucks:/media/ntfs1
$ ls
userx@debiansucks:/media/ntfs1
$ touch hereIam
userx@debiansucks:/media/ntfs1
$ ls
hereIam
so I think for whatever reason, it is working now(?).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.