Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500
Rep:
The messages says that the filesystem is mounted - in other words, it's in use. The command thinks that it's a silly thing to try to format a drive when the files are being used, and it's correct.
You need to unmount the filesystem first:
umount /dev/sda1
or umount the mountpoint. For example, if /dev/sda1 is mounted on /media/ntfsdrive:
umount /media/ntfsdrive
If you get a message that the device is busy, it means that some file is open on the filesystem. Close any programs that are accessing files on the drive. If you have a terminal windows open and have 'cd' to a directory on the drive, it will also report busy.
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500
Rep:
I wasn't "bothered", or I wouldn't have responded. Sorry if I came across otherwise.
I was trying to point out that the more accurately you represent the problem you are having, the more likely you are to get someone that can help you. Many people may know how to format a FAT32 partition, but because of the licensing issues around formatting NTFS and spotty distribution support, some folks may avoid even looking at a question titled "Formating an external NTFS Drive" (the only thing they see when scanning new posts).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.