LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-11-2017, 01:38 AM   #1
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 29

Rep: Reputation: 2
NTFS file system mounting


I've copied pictures from my Slackware/Linux computer to an external NTFS hard drive many times before. The NTFS device is mainly used on Windows computers. It has worked very well until the latest time I copied files. Now Windows systems are unable to mount the drive. Instead, Windows suggests formatting the device. Nevertheless, the drive is perfectly mountable on my Linux machines. I suppose the cause of the problem is similar to: http://unix.stackexchange.com/questi...by-windows-and

My question is how to make the device mountable on Windows. The simplest way would perhaps be to make a backup and then format the device. This is however probably impossible or at least impractical since the hard drive is bigger than my computer hard drive. Is there any quick fix? What commands can be used to solve the problem? Is it possible to fix the problem on a Windows machine?

Now I've learned that using NTFS file systems on multiple OSes should be avoided. I suppose FAT-systems is the best option?

Thanks in advance for help!

Last edited by sababa.sababa; 01-11-2017 at 07:25 AM.
 
Old 01-11-2017, 07:57 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

I am afraid you might be in wrong forum.
Basically, you are asking Linux users how to fix an NTFS partition on Windows!
 
Old 01-11-2017, 09:10 AM   #3
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
Not really. He has damaged NTFS partition while working under Linux.
Sababa, try to boot Slack again and as the first step (if u havent done that yet) execute:
Code:
ntfsfix /dev/<windows device name>
Make sure it is not mounted.
Another thing I would try is Gparted - either install it on your Linux-box or just boot up from Live CD: http://gparted.org/livecd.php

Before executing any of the above I would do backup (at least the most important files) since you still have access to it.
Good luck.

ps.
make sure that none of the files copied under Linux contain special characters like eg. ":"

Last edited by czezz; 01-11-2017 at 09:27 AM.
 
1 members found this post helpful.
Old 01-14-2017, 07:03 AM   #4
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Czezz, thanks for the reply!

What device is best for backups when using multiple OSes?
  • Unless an external hard drive has FAT, it is error prone when used on different OSes. But FAT is not designed for the capacity of modern EHD. Therefore I think that EHD is not the optimal choice for me.
  • A server solution solves the issue with filesystems. As I understand it, NAS is designed to only be accessed through the internet. Thus there is no LAN function in a NAS-server?
  • A LAN server would perhaps be the optimal solution but I suppose it is complicated to set everything up. Are there any LAN-servers that behave like EHD? Something that I can connect to my USB-port. Any other ideas?
 
Old 01-16-2017, 04:58 AM   #5
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
Hi,
I understand this is for home solution. In this case just take any USB HDD.
If you really want to use FAT then format your backup disk/storage with extFAT (mkfs.exfat /dev/your_backup_dev).
However, I would really recommend either ext4 or just NTFS.

NAS can be used in LAN. Google for: QNAP, Synology... and others. Its trivial to set it up.
Honestly: if this is just for your desktop do it simple - buy USB HDD.
 
Old 01-16-2017, 06:45 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
do you have ntfs-3g installed on Linux?
So you know linux is (should be) dealing with ntfs correctly.
4GB limit for FAT32, if I remember correctly. if it is not over 4GB format to FAT32.
 
Old 09-15-2017, 11:57 PM   #7
sababa.sababa
LQ Newbie
 
Registered: Jul 2010
Distribution: Slackware
Posts: 29

Original Poster
Rep: Reputation: 2
Thanks for all the replies! The problem with the hard drive turned out to be the old hard drive getting bad sectors. In other words the linux system was better at mounting the damaged disk than the windows system. There wasn't many damaged files, so I could save most of them. I formatted a new hard drive with FAT and copied all the unbroken files to the new FAT-harddrive.
 
Old 09-16-2017, 12:57 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ glad to hear that.

now if you please would mark your thread [Solved] (blue menu bar => thread tools).
thanks.
 
Old 09-16-2017, 07:39 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by czezz View Post
Honestly: if this is just for your desktop do it simple - buy USB HDD.
USB a la http://rsync.net/resources/howto/rsync.html
 
  


Reply

Tags
file system, ntfs, windows



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NTFS file system ventsyv Linux - Newbie 23 04-28-2011 06:43 PM
mounting the ntfs file system psureshrao Linux - Enterprise 3 11-25-2008 03:21 AM
NTFS file system mounting saidul Linux - Newbie 5 12-15-2007 08:07 PM
mounting ntfs file system on Redhat Linux 8.0 boy Linux - Hardware 2 12-02-2002 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:06 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