LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2004, 08:09 PM   #1
aargh
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
Problems mounting usb harddisk


I used fdisk to format my usb hdd. I previously used it under windows so I deleted all the partitions and created a new primary partition. Then tried to mount it using:

mount /dev/sda1 /home/usb

well... then the error is that I have to specify the filesystem. I have tried various types using the -t parameter but all with no luck. I can see the drive (usb 2.0 storage device) in usbview. What am I missing here? Is the harddrive formatted wrong or something with fstab or what?

hope someone can help me out here..
 
Old 09-16-2004, 08:13 PM   #2
busbarn
Member
 
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
is this entered in your fstab? You will need an entry that looks something like this:

/dev/sda1 /home/usb vfat noauto, users,rw 0 0

Linux needs to know what filesystem you chose to format your disk.

Also, I've run into problems (with gentoo anyways) if I don't first mount the drive as root. Sometimes, this just fixes the problem. Also, try sda1,2,3,4 as an option.
 
Old 09-16-2004, 08:31 PM   #3
aargh
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
I have entered the line into fstab. But it's the same problem. When I type

mount /dev/sda1 /home/usb/

I still get the error that I have to specify the filetype. When I click on the icon 'Computer' on the desktop and the on usb it will not mount. the error:

mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems


BTW I am using Fedora Core 2.

Last edited by aargh; 09-16-2004 at 08:48 PM.
 
Old 09-16-2004, 08:59 PM   #4
aargh
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
I works now:-))

Just needed to create the filesystem.

mksf -t ext3 /dev/sda1

and then mount it.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a scsi harddisk Problems colpe Linux - Newbie 17 09-11-2005 03:56 PM
Mounting a scsi harddisk Problems colpe Linux - Hardware 5 09-10-2005 07:51 PM
Mounting a scsi harddisk Problems colpe Linux - Distributions 1 09-10-2005 05:40 PM
Mounting my second harddisk? amer_58 Linux - Newbie 10 08-20-2005 08:26 AM
Mounting new harddisk Bodycount Linux - Newbie 1 10-26-2003 07:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration