LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 10-29-2009, 08:57 PM   #1
illNino
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Rep: Reputation: 0
HDD Mounting issue


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?


Any idea's on what I can try?

Thanks in advance.
 
Old 10-29-2009, 09:10 PM   #2
dragonnefyre
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 13.1, RHEL 5, Debian
Posts: 15

Rep: Reputation: 1
HDD mounting issue

Hi illNino,

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.

I hope this helps.
 
Old 10-29-2009, 09:38 PM   #3
illNino
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Found no errors with fdisk, I'm not 100% sure what it was prior to win format, but I'm leaning towards ext2 also..

Nope no drivers or anything, it was weird cause when I first did this with this HDD it worked fine.. Yep USB.
 
Old 10-29-2009, 09:51 PM   #4
dragonnefyre
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 13.1, RHEL 5, Debian
Posts: 15

Rep: Reputation: 1
Hi illNino,

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?
 
Old 10-29-2009, 09:56 PM   #5
illNino
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Original Poster
Rep: Reputation: 0
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?
 
Old 10-29-2009, 10:21 PM   #6
illNino
LQ Newbie
 
Registered: Nov 2008
Posts: 20

Original Poster
Rep: Reputation: 0
All good, figured it out, just ran a mke2fs /dev/sde1 and can now mount the drive.

Cheers guys.
 
Old 10-29-2009, 10:27 PM   #7
dragonnefyre
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 13.1, RHEL 5, Debian
Posts: 15

Rep: Reputation: 1
Hi illNino,

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.
 
Old 10-29-2009, 10:31 PM   #8
dragonnefyre
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 13.1, RHEL 5, Debian
Posts: 15

Rep: Reputation: 1
Hi illNino,

Your last post went in while I was writing my last one. Glad you got it sorted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble mounting ipod. Hal issue and mount point issue. okos Slackware 2 05-10-2009 11:51 PM
Mounting/Permissions issue w/ external HDD enclosure (Debian) jef3189 Linux - Hardware 1 09-29-2008 03:41 PM
HDD mounting chandu Linux - Newbie 5 08-13-2005 08:12 AM
ext hdd mounting read/write issue Jestrik Linux - Hardware 1 06-12-2004 08:46 AM
Mounting HDD vs. Mounting Filesystem snailophone Linux - Hardware 4 08-12-2003 11:00 AM


All times are GMT -5. The time now is 07:07 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration