LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-21-2019, 09:06 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,118

Rep: Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670
ntfs mount in fstab says invalid


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?
 
Old 01-21-2019, 09:46 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,165

Rep: Reputation: 188Reputation: 188
What does
Code:
apropos ntfs
return?
Code:
man ntfsprogs
? 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.
 
Old 01-22-2019, 06:44 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,118

Original Poster
Rep: Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670
Quote:
Originally Posted by RandomTroll View Post
What does
Code:
apropos ntfs
return?
Code:
man ntfsprogs
? 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(?).

Last edited by BW-userx; 01-22-2019 at 06:56 AM.
 
Old 01-22-2019, 07:11 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,118

Original Poster
Rep: Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670Reputation: 1670
OK I forgot I formated it and didn't relabel it, so i didn't see the ntfs1 and thought it was not showing up. all's good .. have no idea why.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntfs-3g with FUSE (NTFS WRITE) - what do I put in fstab 1kyle SUSE / openSUSE 3 02-07-2007 06:08 AM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
squirremail ...it says invalid user or invalid password. rnj Fedora 9 10-25-2004 09:56 PM
cannot mount partition (says it's NTFS but it's not!) d33pdream Linux - General 5 02-22-2003 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration