LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-21-2021, 10:54 AM   #1
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Rep: Reputation: Disabled
MX Linux 19 refuses to mount an external ntfs system


I am running a brand-new install of MX 19.4 Patito Feo on one hard drive and have a second drive plugged in for file storage. The problem is that MX 19 refuses to mount the single ntfs partition on this secondary drive. I have tried it using the fstab file, the mount command in the terminal, and the file manager's GUI, but without success. The drive may be defective, but I seriously doubt it. I have tried accessing the data partition using an older MX 18.3 system, and it worked fine.

I should explain here that, upon booting into MX, the computer refuses to see the drive at all. I have tried adding the partition to the /etc/fstab file, but there is no visible change in the system's behavior. Entering this line into the terminal directly after a reboot:

Code:
sudo mount /dev/[PARTITION] /media/[MOUNT-POINT]
...yields this result:

Code:
mount: /media/[MOUNT-POINT]: special device /dev/[PARTITION] does not exist.
This holds true whether the partition is in the fstab file or not. The file manager does not recognize the partition, either. But when I open GParted, a prompt immediately appears asking me to enter the administrative password in order to mount the drive. (Entering the password does not mount the partition or change anything.) After GParted has opened, the partition also appears in the file manager, and the mount command yields a different error:

Code:
ntfs-3g-mount: mount failed: Device or resource busy
Please note that this second error ONLY appears after I open GParted, and it occurs even if I choose not to enter the password in the prompt.

I also tried creating another smaller ntfs partition on the same drive, but MX treated it just like the other.

System information:

- Main OS: MX 19.4 Patito Feo (64-bit)
- Other OS: MX 18.3 Continuum (32-bit)
- CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
- Motherboard: ASUSTeK P5KPL-CM
- Problem hard drive: WDC WD5003ABYX-18WERA0
- Other hard drive: WDC WD2500AAKX-753CA0

Any help would be greatly appreciated. If you would like any further details, let me know, and I will provide them.
 
Old 05-22-2021, 07:24 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
sudo mount /dev/[PARTITION] /media/[MOUNT-POINT]
You need to post the actual partition and the actual mount point to get some help. Also run blkid to show the partition name (sdb1, sdb2, etc.) The error indicates the incorrect device does not exist.

The device or resource busy would indicate that it is mounted. Your post indicates you have two Linux OS's so I'm wondering why you have an ntfs partition. Do you use this drive with a windows OS also? Which windows version?
 
Old 05-24-2021, 12:27 PM   #3
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
You need to post the actual partition and the actual mount point to get some help. Also run blkid to show the partition name (sdb1, sdb2, etc.) The error indicates the incorrect device does not exist.

The device or resource busy would indicate that it is mounted. Your post indicates you have two Linux OS's so I'm wondering why you have an ntfs partition. Do you use this drive with a windows OS also? Which windows version?
To clarify: the mount command and its result look like this.

Code:
sudo mount /dev/sdb1 /media/computer/data
mount: /media/computer/data: special device /dev/sdb1 does not exist.
/media/computer/data, by the way, is an empty folder.

As for the rest of the question: no, I am not running Windows. The ntfs partition is solely for external file storage for my other Linux systems. I only chose an ntfs because I know that ntfs systems are sometimes used for storage in Linux. If there is a better option for a system used only for file storage, I would be glad if you'd tell me.

The two Linux systems are both installed on a single hard drive separate from the ntfs system. I just upgraded from MX 18 to 19, but I kept 18 around just in case. I'm glad I did, since it can see the ntfs partition where 19 can't.
 
Old 05-24-2021, 12:37 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,507

Rep: Reputation: Disabled
If you are using Linux full time, (& no MS), just put a Linux filesystem on it!

No sense using an MS filesystem in such a case - even my pendrives have ext4 filesystems.

P.S. Did you check your download of MX19(?).

Last edited by fatmac; 05-24-2021 at 12:39 PM.
 
Old 05-24-2021, 02:32 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
I know that ntfs systems are sometimes used for storage in Linux.
Not common unless a user is dual booting with some windows version or has data that needs to be seen/copied to another computer with windows on it.

Quote:
/media/computer/data, by the way, is an empty folder
As it should be but that is not what the error says. It indicates that /dev/sdb1 does not exist so run parted -l, fdisk -l or lsblk commands to get that output and see if you have an ntfs drive/partition /dev/sdb1. Linux might not mount it if it was previously attached to a hibernated computer with windows.
 
Old 05-24-2021, 04:27 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Quote:
Linux might not mount it if it was previously attached to a hibernated computer with windows.
Don't you love that. How fragile ntfs is. If you pull a ntfs drive out of a usb port on a linux box without umounting, you may never mount it again. You also need to click on the little "remove drive safely" in a windows box before you pull it out.

I think that windows user don't notice that because, the first time you plug it back into a windows box, windows will fix it.

To the OP, if you have borked an ntfs volume, probably only windows will fix it.

To keep that from happening again, make sure you umount it first, or "safely remove drive" on the windows machine. You can then use a ntfs volume for years with no problem.
 
Old 05-24-2021, 05:09 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Quote:
sudo mount /dev/sdb1 /media/computer/data
mount: /media/computer/data: special device /dev/sdb1 does not exist.
This would suggest the OP is using the wrong device ID. Post the output of the command:

lsblk
 
Old 05-26-2021, 12:01 PM   #8
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
If you are using Linux full time, (& no MS), just put a Linux filesystem on it!
I tried making an ext4 partition, but running the mount command on this new filesystem still gives me the "special device does not exist" error in MX 19. To be frank, I don't trust MS much either, and I would be glad to stick with ext4 if only I could get it to work.

Quote:
Run parted -l, fdisk -l or lsblk commands to get that output and see if you have an ntfs drive/partition /dev/sdb1.
Each of those commands reports that there is indeed an ntfs partition /dev/sdb1 on the device /dev/sdb. They also report seeing /dev/sdb2, which is the ext4 system that I just created (see the first reply which I made in this post).

Quote:
Post the output of the command:

lsblk
Code:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
fd0      2:0    1     4K  0 disk 
sda      8:0    0 232.9G  0 disk 
├─sda1   8:1    0  58.6G  0 part 
├─sda2   8:2    0     2G  0 part [SWAP]
└─sda3   8:3    0  58.6G  0 part /
sdb      8:16   0 465.8G  0 disk 
├─sdb1   8:17   0 146.5G  0 part 
└─sdb2   8:18   0 146.5G  0 part
 
Old 05-27-2021, 12:54 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Quote:
The drive may be defective, but I seriously doubt it. I have tried accessing the data partition using an older MX 18.3 system, and it worked fine.
Just for clarification this is a USB drive that you connect to separate systems? If so have you tried other USB drives to see if they have the same problems?

I find it odd that lsblk shows the partitions but it is not recognized by the system. It might be the system is out of sync. Unplug and replugging the drive would fix that problem. MX 19 supports
 
Old 05-28-2021, 01:54 PM   #10
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Just for clarification this is a USB drive that you connect to separate systems?
This is a SATA hard drive, not a USB device.

Quote:
It might be the system is out of sync. Unplug and replugging the drive would fix that problem.
I agree that this sometimes helps, but I have unplugged the drive and plugged it back in on several occasions with no change.
 
Old 05-28-2021, 04:26 PM   #11
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Quote:
The ntfs partition is solely for external file storage for my other Linux systems.
Quote:
This is a SATA hard drive, not a USB device.
...
but I have unplugged the drive and plugged it back in on several occasions with no change.
You are unplugging, and replugging a SATA drive? With the system off I hope.

This whole thread makes no sense then. Is this an internal or external drive?
 
Old 05-28-2021, 07:57 PM   #12
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
You are unplugging, and replugging a SATA drive? With the system off I hope.
To clarify, yes, I have done this with the system OFF. I've recently been doing maintenance on the computer and had to remove the drive a few times in the process. That's how I know that unplugging it doesn't work.

Quote:
Is this an internal or external drive?
It is an internal hard drive.
 
Old 05-28-2021, 08:48 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Post the make/model of computer and the make/model of the SATA drive of your MX 19 system.
 
Old 05-29-2021, 03:56 AM   #14
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,507

Rep: Reputation: Disabled
As you have been unplugging/replugging the ribbon cable, perhaps it is now faulty - try swapping the ribbon cable over, (to the sda disk), if you can't boot up, you will likely have a bad ribbon cable.
 
Old 05-29-2021, 10:15 AM   #15
Ranyel
Member
 
Registered: May 2021
Location: Texas
Distribution: MX, BunsenLabs
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Try swapping the ribbon cable over, (to the sda disk), if you can't boot up, you will likely have a bad ribbon cable.
After swapping the two drives' cables, I can still boot into the sda disk without any problems.

Quote:
Post the make/model of computer and the make/model of the SATA drive of your MX 19 system.
Computer specs
- CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
- Motherboard: ASUSTeK P5KPL-CM
- Hard drive with MX 19: WDC WD2500AAKX-753CA0
 
  


Reply



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
Mount NTFS, doesen't have a valid NTFS d0lle Linux - Hardware 4 11-02-2008 12:40 PM
I can't mount ntfs partitions with the latest ntfs-3g version BK2 Linux - Software 1 02-01-2008 07:08 PM
Gparted refuses to resize NTFS (3G) partition, even if it has been unmounted. PureRumble Linux - Software 9 04-02-2007 07:02 PM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:34 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
Open Source Consulting | Domain Registration