[SOLVED] questions about a usb flash drive that might be corrupted
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Yes, that's true but your initial post indicated a problem with the windows ntfs filesystem on the flash drive partition and my understanding was that you posted because you were having problems with it. To fix that, you need to do it in windows which you say you did and in all likelihood, the ntfs-3g and ntfsprogs were already installed. In any case, the purpose of that sofware is to allow read/write to ntfs and would do nothing to resolve a corrupted filesystem. Glad you got it working.
Thanks for the explanation, yancek. I always under the impression NTFS was sort of a middle ground thing between Linux and Windows. Now I realize that it's Windows that Linux just happens to work well on.
Now I realize that it's Windows that Linux just happens to work well on.
As a filesystem on which to share data only it does, thanks to the time and massive effort contributed by various Linux developers. I've seen threads here and other forums where people tried to install Linux on an ntfs filesystem which of course, will not work. So repairing windows filesystems, use windows software, repairing Linux filesystems use Linux software. Good luck with it.
I always thought NTFS was the most sensible format for pendrives because it worked on Ubuntu and Windows. Is there a better format for doing that?
And I thought BackInTime was great, but obviously that 32 GB drive has enough room (and I do have a new 64GB pendrive too) to handle a direct copy situation, but what's the best way of doing that? (I should probably post on that.)
Thanks for the explanation about the compression.
Hey Gregg - been away for a bit - just catching up on this. Looks like things are good and that you've got most of your answers - good news !
It seems you may not have a problem at all with the USB drive. As I mentioned in my first post, the warning icon in GParted was just because ntfs support (ntfs-3g) wasn't installed. It's a file-system driver that all linux apps need to deal with ntfs partitions. Some distros install it by default, in my experience, most don't. It's easy to add - I have added it on all my systems.
With respect to the choice of ntfs for sharing between linux and Windows systems, as explained by yancek - ntfs is indeed a Windows-based file system (introduced way back in the days of Windows NT, as a successor and improvement to the IBM/Microsoft developed HPFS which was used on OS/2 .. ;-). As also mentioned, however, linux support is reliably made possible through ntfs-3g. So ntfs is one of the best choices for linux-Windows compatibility (the others being FAT32 and exFAT, but certain limitations apply ... I prefer ntfs).
As a filesystem on which to share data only it does, thanks to the time and massive effort contributed by various Linux developers. I've seen threads here and other forums where people tried to install Linux on an ntfs filesystem which of course, will not work. So repairing windows filesystems, use windows software, repairing Linux filesystems use Linux software. Good luck with it.
Hey Gregg - been away for a bit - just catching up on this. Looks like things are good and that you've got most of your answers - good news !
It seems you may not have a problem at all with the USB drive. As I mentioned in my first post, the warning icon in GParted was just because ntfs support (ntfs-3g) wasn't installed. It's a file-system driver that all linux apps need to deal with ntfs partitions. Some distros install it by default, in my experience, most don't. It's easy to add - I have added it on all my systems.
With respect to the choice of ntfs for sharing between linux and Windows systems, as explained by yancek - ntfs is indeed a Windows-based file system (introduced way back in the days of Windows NT, as a successor and improvement to the IBM/Microsoft developed HPFS which was used on OS/2 .. ;-). As also mentioned, however, linux support is reliably made possible through ntfs-3g. So ntfs is one of the best choices for linux-Windows compatibility (the others being FAT32 and exFAT, but certain limitations apply ... I prefer ntfs).
Cheers !
Hey Rick. I'm still a bit confused. The pen drive got fixed by Window's chkdsk .
And all my NTFS pen drives have worked fine for years without the ntfs-3g you mentioned. So do I need to add it? And if I do, do you have a command for adding it?
And I'm so glad you said you prefer NTFS because that's what all my pen drives are! Phew!
Hey Rick. I'm still a bit confused. The pen drive got fixed by Window's chkdsk .
And all my NTFS pen drives have worked fine for years without the ntfs-3g you mentioned. So do I need to add it? And if I do, do you have a command for adding it?
And I'm so glad you said you prefer NTFS because that's what all my pen drives are! Phew!
Gregg, your system already has the ntfs-3g package installed. We figured that out earlier in the thread (post #12). The package is auto installed on Ubuntu systems, which is why you have always been able to read/write NTFS filesystems.
Why the error message in post #9 said what it did, I don't know, but it wasn't because you didn't have ntfs-3g installed. Unless you ran gparted after booting up from an external media that didn't actually have ntfs-3g installed.
If I were you, I would consider the error message in post #9 to be a red herring. The original problem with the drive was corrected by running chkdsk on the drive. Everything is good.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by Gregg Bell
Hey Rick. I'm still a bit confused. The pen drive got fixed by Window's chkdsk .
And all my NTFS pen drives have worked fine for years without the ntfs-3g you mentioned. So do I need to add it? And if I do, do you have a command for adding it?
And I'm so glad you said you prefer NTFS because that's what all my pen drives are! Phew!
Hey Gregg - I'm afraid I had missed post #12, the one hydrurga is referring to. As he correctly pointed out, you DO have ntfs-3g already installed on your linux system. My mistake - and sorry for adding to the confusion. I had also not realized you had run chkdsk on your USB drive .. I'll have to catch up on threads more carefully in future.
I agree with hydrurga that you can consider the "ntfs missing" message from GParted as a red herring of sorts. Faced with the problem that you eventually corrected with chkdsk, it (GParted) seems to have defaulted to one of its standard "can't deal with ntfs" messages.
So you're all set, from what I can see. Once again, sorry for the confusion I may have caused by not keeping up with the discussion. Do feel free to return for any other questions.
Gregg, your system already has the ntfs-3g package installed. We figured that out earlier in the thread (post #12). The package is auto installed on Ubuntu systems, which is why you have always been able to read/write NTFS filesystems.
Why the error message in post #9 said what it did, I don't know, but it wasn't because you didn't have ntfs-3g installed. Unless you ran gparted after booting up from an external media that didn't actually have ntfs-3g installed.
If I were you, I would consider the error message in post #9 to be a red herring. The original problem with the drive was corrected by running chkdsk on the drive. Everything is good.
Thanks hydrurga. I rushed through the results of post #12 and so I missed it entirely. (I'll slow down and pay more attention from now on.) And good to know about the red herring warning. Like you said earlier: 'don't worry about maybe problems.'
Hey Gregg - I'm afraid I had missed post #12, the one hydrurga is referring to. As he correctly pointed out, you DO have ntfs-3g already installed on your linux system. My mistake - and sorry for adding to the confusion. I had also not realized you had run chkdsk on your USB drive .. I'll have to catch up on threads more carefully in future.
I agree with hydrurga that you can consider the "ntfs missing" message from GParted as a red herring of sorts. Faced with the problem that you eventually corrected with chkdsk, it (GParted) seems to have defaulted to one of its standard "can't deal with ntfs" messages.
So you're all set, from what I can see. Once again, sorry for the confusion I may have caused by not keeping up with the discussion. Do feel free to return for any other questions.
Cheers !
Thanks Rick. I missed post #12 too! Glad to know it's all working right. Appreciate your help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.