LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problems mounting usb harddisk (https://www.linuxquestions.org/questions/linux-hardware-18/problems-mounting-usb-harddisk-231573/)

aargh 09-16-2004 08:09 PM

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..

busbarn 09-16-2004 08:13 PM

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.

aargh 09-16-2004 08:31 PM

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.

aargh 09-16-2004 08:59 PM

I works now:-))

Just needed to create the filesystem.

mksf -t ext3 /dev/sda1

and then mount it.


All times are GMT -5. The time now is 10:40 AM.