Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
This is the 2nd USB that seems to have deleted its index of the file system or something. I buy a brand new USB drive, open it, format it to NTFS for use for a music USB drive for my car (has a usb port) throw some music on it and by the time I plug it into my car the next morning the filesystem seems to have deleted itself.
I plug it into the very same computer I formated it with and verified the files were on it and it gave the error:
"Unable to access "MUSIC". Error mounting /dev/sdb1 at /media/name/MUSIC: Command-line 'mount -t ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=`000,gid=1000" "dev/sdb1" "/media/name/MUSIC" exited with non-zero status 13: $MFTMirr does not match $MFT (record 0)."
it then goes on about how I should plug it into a Windows system to fix it, which I did not do and have no intention of doing. I cant seem to find anything about this error, which is incredibly weird, for example searx.me returns 3 results for "exited with non-zero status 13", none of which have anything to do with this problem.
You might be able to recover from this using ntfsfix (part of ntfsprogs)
Code:
sudo ntfsfix /dev/sdb1
Quote:
DESCRIPTION
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fun-
damental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Win-
dows.
You may run ntfsfix on an NTFS volume if you think it was damaged by Windows or some other way and it cannot be mounted.
It is worth investigating if your car audio system can cope with a FAT32 file-system as an alternative perhaps.
I agree that you should read the car manual to verify what filesystem and file format it accepts. As stated not umounting the drive prior to removing it from the computer could corrupt the filesystem.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hi guantanemo,
As with Teufel, I can confirm that most car audio systems I've used only function (reliably, at least ...) with FAT32. And often with a limit on the number of directories / files they can index, simply refusing to list anything beyond that limit (main reason I limit myself to 64GB USB drives in my car ... ) ...
Give FAT32 a go and let us know how you make out ...
You might be able to recover from this using ntfsfix (part of ntfsprogs)
Code:
sudo ntfsfix /dev/sdb1
It is worth investigating if your car audio system can cope with a FAT32 file-system as an alternative perhaps.
It worked! I really appreciate the help! It took a few seconds and all the music is still on it.
Quote:
Originally Posted by Rickkkk
Hi guantanemo,
As with Teufel, I can confirm that most car audio systems I've used only function (reliably, at least ...) with FAT32. And often with a limit on the number of directories / files they can index, simply refusing to list anything beyond that limit (main reason I limit myself to 64GB USB drives in my car ... ) ...
Give FAT32 a go and let us know how you make out ...
Cheers !
That makes sense, I will try it to see if NTFS works at first but you are right I dont think it can navigate folders from a USB. Arent the files bigger on FAT32 or are mp3s small enough to not matter (for the sector size).
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by guntanemo
That makes sense, I will try it to see if NTFS works at first but you are right I dont think it can navigate folders from a USB. Arent the files bigger on FAT32 or are mp3s small enough to not matter (for the sector size).
NTFS is more efficient in its use of space, but as ferrari mentioned and as you yourself point out, in the context of music files, you wouldn't be noticing any significant gain. As for directories, you can use at least 2 levels on the car audio system I currently use, so best to experiment in your case.
Actually, It seems to have happened again when I unplugged it before it finished un-mounting and now the ntfsfix wont work, it tells me to run chkdsk is there a Linux tool for that?
$ sudo ntfsfix /dev/sdb1
Refusing to operate on read-write mounted device /dev/sdb1.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.