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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
02-15-2003, 08:25 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2001
Location: Mauritius
Posts: 7
Rep:
|
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!
|
|
|
|
02-15-2003, 11:38 PM
|
#2
|
|
Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
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.
|
|
|
|
02-22-2003, 08:06 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2001
Location: Mauritius
Posts: 7
Original Poster
Rep:
|
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
|
|
|
|
02-22-2003, 09:01 PM
|
#4
|
|
Member
Registered: Jan 2003
Distribution: LFS
Posts: 90
Rep:
|
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?
|
|
|
|
02-22-2003, 09:03 PM
|
#5
|
|
Member
Registered: Jan 2003
Distribution: LFS
Posts: 90
Rep:
|
or perhaps you do not have the proper module installed to read into it's filesystem?
lsmod
|
|
|
|
02-24-2003, 01:24 AM
|
#6
|
|
LQ Newbie
Registered: Mar 2001
Location: Mauritius
Posts: 7
Original Poster
Rep:
|
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........
|
|
|
|
02-25-2003, 08:55 PM
|
#7
|
|
LQ Newbie
Registered: Feb 2003
Posts: 15
Rep:
|
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.
|
|
|
|
02-25-2003, 09:54 PM
|
#8
|
|
Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
i mount mine like that /dev/sda1 and file system i leave it as default worked for me
|
|
|
|
02-26-2003, 01:22 PM
|
#9
|
|
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819
Rep:
|
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.
|
|
|
|
02-27-2003, 01:18 AM
|
#10
|
|
Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
if you plug it out before mounting this will happen cause it doesnt write some data until you unmount it
|
|
|
|
02-27-2003, 03:06 AM
|
#11
|
|
LQ Newbie
Registered: Mar 2001
Location: Mauritius
Posts: 7
Original Poster
Rep:
|
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???
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|