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 05-26-2006, 10:48 AM   #1
commonplace
LQ Newbie
 
Registered: Mar 2003
Location: Kentucky, USA
Distribution: SUSE 10.0
Posts: 6

Rep: Reputation: 0
Unable to mount FAT32 partition in FC5; WinXP reads it fine


I have a FAT32 partition (/dev/hda1) which I can read/write to in Windows XP just fine, but when I try to mount it in FC5, I get the following error:

Quote:
mount: /dev/hda1 is not a valid block device
I verified with fdisk -l that the drive is where I think it is, and it shows:

Quote:
/dev/hda1 1 24321 195358401 c W95 FAT32 (LBA)
I've created /mnt/fat32 and tried to mount using mount -t vfat /dev/hda /mnt/fat32, and that's when I receive the 'not a valid block device' error.

What am I doing wrong? I'm fairly new to Linux, so dumb it down for me if you would. Thanks in advance.
 
Old 05-26-2006, 11:29 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Not positive, but I think it's just a syntax problem. Try:
mount -t /dev/hda1 /mnt/fat32 vfat rw,owner,user,auto 0 0

I'm not sure that's exactly right using the 'mount' command, but adding the line, '/dev/hda1 /mnt/fat32 vfat rw,owner,user,auto 0 0' to your /etc/fstab file should work after a reboot. With that line, you'll probably be able to access the directory as root. If you want regular users to have write access, you'll need some additional permission parameters.
 
Old 05-26-2006, 10:49 PM   #3
commonplace
LQ Newbie
 
Registered: Mar 2003
Location: Kentucky, USA
Distribution: SUSE 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
I've tried various things at this point, and have decided I must be doing something wrong in how I make the partition and/or in how I format in, since I'm not positive on the steps for either of those. I 'think' I'm doing it right, but I certainly don't feel confident.

Is there a step-by-step guide to taking a blank hard drive, creating and formatting a FAT32 partition, and mounting it in Linux (specifically FC5)?
 
  


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
how can I mount an fat32 partition with full access for a normal user? (FC5) thefinalxia Linux - Newbie 4 04-10-2006 03:02 AM
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 08:54 PM
Unable to mount FAT32 partition automatically alaskazimm Linux - General 4 08-24-2005 08:19 PM
hi i want to know how i can mount fat32 partition(winxp) on to federo bhadravathi Fedora 1 11-29-2004 02:59 AM
Unable to mount Fat32 partition as readwrite cgoerner Linux - Newbie 3 05-04-2004 07:11 PM

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

All times are GMT -5. The time now is 04:58 AM.

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