LinuxQuestions.org
Register a domain and help support LQ
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
 
Search this Thread
Old 02-15-2003, 09:25 PM   #1
gvrglife
LQ Newbie
 
Registered: Mar 2001
Location: Mauritius
Posts: 7

Rep: Reputation: 0
how to mount fat32 usb hard disk


When I try to mount my USB hard drive at /dev/sda with

mount -t vfat /dev/sda /mnt/usb

I get an error:

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

And also when i open the browse hardware, it seems that it does not recognise the partition as fat32.

What does this mean? How can I get my drive mounted? Thanks!
 
Old 02-16-2003, 12:38 AM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
I don't think you have something at /dev/sda
Take a look at /dev/sda4
Except for a cdrom and some special device, you always have to give the partition number). Do "fdisk /dev/sda" then "p" to see the complete schema of that drive.
 
Old 02-22-2003, 09:06 PM   #3
gvrglife
LQ Newbie
 
Registered: Mar 2001
Location: Mauritius
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

Can't mount /dev/sda4 neither
When i fdisk -l /dev/sda , i got nothing.
It seems that linux can't read the partition table.
What i'm sure is that linux did recognise the usb disk
coz i could see it in the hardware browser as sda with
no partitions at all.

I've recently reformatted the usb disk with partition magic
but to no avail. still same problem.

Could it be becoz i've no OS on the usb disk?

May b i should make the disk as an extanded partition?

Or may be should i reformat it in linux? (if so what
program should i use and how to?)
If i reformat it in linux would windows be able to see
the disk????

Helllpppppppppppp!!!!!!!!!

There are so many may bs I'm completely lost
 
Old 02-22-2003, 10:01 PM   #4
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Rep: Reputation: 15
do something like;

dmesg | grep sda

when you muont your usb disk, you cannot mount hte device, you must mount a partition on it (sdaX : where X = the parition number).

If you do not have a parition assigned use fdisk or cfdisk (er some sort of fdisk-like app)

does this help at all?
 
Old 02-22-2003, 10:03 PM   #5
d33pdream
Member
 
Registered: Jan 2003
Distribution: LFS
Posts: 90

Rep: Reputation: 15
or perhaps you do not have the proper module installed to read into it's filesystem?

lsmod
 
Old 02-24-2003, 02:24 AM   #6
gvrglife
LQ Newbie
 
Registered: Mar 2001
Location: Mauritius
Posts: 7

Original Poster
Rep: Reputation: 0
I tried the dmesg | grep sda
And i've got the following response:

sda: I/O error: dev 08:00,sector 0
SCSI device sda: 39070081 512-byte hdwr sectors(20004MB)
sda: test WP failed, assume Write Enabled

Well i don't understand anything!!!!
I know that the filesystem is fat32 so that mounting with vfat should work, but didn't........
 
Old 02-25-2003, 09:55 PM   #7
MikeVx
LQ Newbie
 
Registered: Feb 2003
Posts: 15

Rep: Reputation: 0
Use dmesg | less to find out what your drive mounted at, if it is /dev/sda, try the following, a variant of which I use frequently.

mount /dev/sda1 /mnt/usb -t vfat

Note that mounting a device with no partition specified is not possible under any circumstances that I've heard of.

Also, /dev/sda4 would be valid if you were using an Iomega removable drive, such as a USB Zip drive.
 
Old 02-25-2003, 10:54 PM   #8
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
i mount mine like that /dev/sda1 and file system i leave it as default worked for me
 
Old 02-26-2003, 02:22 PM   #9
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
I mount mine in the same way as nakkaya. Be careful. I tried to hook my Maxtor 60gb external back up to a windoze machine after sucessfully mounting it in windows and lost a lot of data. Has anyone else had this happen? Try each of the sda's until you see the light flicker on the drive.
 
Old 02-27-2003, 02:18 AM   #10
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
if you plug it out before mounting this will happen cause it doesnt write some data until you unmount it
 
Old 02-27-2003, 04:06 AM   #11
gvrglife
LQ Newbie
 
Registered: Mar 2001
Location: Mauritius
Posts: 7

Original Poster
Rep: Reputation: 0
Note that my USB drive is not a USB Zip drive.

Actually its a usual laptop harddisk which has been provided with a usb interface so that it can b pluggeg in via the usb port.

May b that's the reason y i can't 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount an external ntfs usb hard disk dmpop Mandriva 5 03-03-2013 11:45 AM
Mount external USB 2.0 hard disk with NTFS? Musikolo Linux - Hardware 8 09-15-2006 10:11 AM
How do I get my USB 2.0 Hard Disk to MOUNT? Hawky Linux - Newbie 5 10-26-2004 01:11 AM
How to mount my usb hard disk? raoqn Fedora 1 04-01-2004 06:21 AM
How to mount my USB mobile hard disk? tx-cary Linux - Hardware 13 02-02-2004 01:19 PM


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

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 Google+: linuxquestions
Open Source Consulting | Domain Registration