Linux - GeneralThis 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
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.
Hi all, having this issue mounting an external HDD I have, it worked fine but then I unpugged it from my Ubuntu and formatted it on a Windows machine and since then I can't re-mount it on my ubuntu server.
When I try normal mount /dev/xxx /xxx I get:
mount: you must specify the filesystem type
When I try mount -t ntfs-3g /dev/xxx /xxx I get:
NTFS signature is missing.
Failed to mount '/dev/sde1': Invalid argument
The device '/dev/sde1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Do you now what the filesystem was on it before you formatted it on a windows machine? It may have be ext2 as a number of external drives use this filesystem (so I have read).
Have you tried running fdisk (on Linux) against it to see what fdisk thinks it is? It may pick up errors and give you more of an idea what is wrong.
BTW I am assuming it is a USB drive.
Perhaps it came with a disk with software/drivers on? There may be software on it to reformat it - back up your data first! I have a Seagate 400GB external drive and that came with a disk. I have it somewhere. I think the filesystem on mine is 1 big fat32 filesystem.
Just wondering why you formatted it on a Windows machine? Did you want to use it under windows and Windows didn't see the drive? Have you searched on the net for it's spec? Which drive is it? Last resort may be backup your data then format it as ext2 and see how it goes from there?
I formatted it in Windows cause I needed to exchange some data through windows os's and it wouldn't recognize it. There is no data on the drive, I just want to get it working with Linux again so I can put data on it, how can I go about formatting it for ext2?
The way to do it with an internal drive is to unmount it (if it is mounted), then run mkfs.ext2 /dev/xxx.
As this is a USB drive I guess just connecting it but not mounting it, should work. Look in /var/log/messages to check what device the kernel has assigned to it, eg /dev/sde1 then run
Code:
mkfs.ext2 /dev/sde1
,
I assume it has only 1 partition on it.
After that mount the drive and check it.
You can use e2fsck /dev/xxx to check the filesystem. Check the man page for mkfs for more info and options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.