LinuxQuestions.org
Review your favorite Linux distribution.
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-06-2003, 07:36 AM   #1
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
mounting fat32 partitions --- getting the device number ?


I'm trying to mount a windows fat 32 partition into redhat 9.0 linux.

via terminal :

cd ..

cd ..

cd mnt

su

[ enter password ]

mkdir linwin

clear

chmod 777 linwin

mount /dev/hda3/ linwin -t vfat

then I get :

mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

I dont know if hda 3 is the right ' device name ', though. My file system goes like this :

hda
windows primary disk

extended

fat32 hdd - this is the hdd I want to share

/boot

/swap

ntfs - a windows hdd for storing media

/

as the fat32 hdd is the one I want to share, and its the 3rd in the list, I presume it is hda3 ? or am I wrong? Please help !!
 
Old 09-06-2003, 08:49 AM   #2
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
not always is it third in list.
when you say "fat32 hdd..." did you mean harddrive, or hard drive, partition d (4)?
dont quote me on this, but i dont think linux can read win fat32.
wait for more knowledgable replies.
 
Old 09-06-2003, 10:16 AM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
dont quote me on this, but i dont think linux can read win fat32.
questionasker, you have just been quoted.
Linux is able to read and write to a FAT32 partition.

technowax, you are most likely trying to mount the wrong partition.
To display the partition tables, type:
Code:
fdisk -l
 
Old 09-06-2003, 10:38 AM   #4
bubble
LQ Newbie
 
Registered: Feb 2002
Location: sri lanka
Distribution: SUSE 9.1
Posts: 27

Rep: Reputation: 15
Cool mounting the parion

Well as Mathieu mention type fdisk -l and get down the partion list including the partion number. (Eg: hda3) then create a folder in the /mnt like winlin u mention. Next goto the terminal log in as root and type as follows assuming your windows partion is hda3,
mount /dev/hda3 /mnt/winlin

* Even though most mention to let know the partion type i didn't do it but redhat 9.0 doesn't care abt it it'll mount the drive.

In the mean time my biggest prob is how to edit the dstab file so i don't have to mount hte partion everytime when ever i need it. I heard if we modify that file those partion will be mounted automatically whenever the machine starts. If someone have an idea hwo to do this pls let me know.


**I hope technowax can some help from my above post.
 
Old 09-06-2003, 11:14 AM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
bubble, you will need to modify /etc/fstab
There are many threads related to this subject, perform a search on LQ.
http://www.linuxquestions.org/questi...threadid=89196
http://www.linuxquestions.org/questi...threadid=87656
 
Old 09-07-2003, 10:09 AM   #6
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
lamo :

[root@localhost xconspirisist]# fdisk -l
bash: fdisk: command not found


any idea's ?
 
Old 09-07-2003, 11:19 AM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Since you are using the su command, type the following in order to get all available paths:
Code:
su -
However, you can always type the full path for fdisk
Code:
/sbin/fdisk -l
 
  


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 FAT32 partitions Seiken Slackware 3 04-12-2005 12:26 PM
Problem mounting partitions on a device akash101 Linux - Hardware 13 03-03-2005 10:03 AM
regarding mounting fat32 partitions in ubuntu pranith Linux - Distributions 4 02-27-2005 02:27 PM
Mounting fat32 partitions scion Red Hat 2 11-06-2003 04:02 PM
Help mounting win Fat32 partitions in RH 7.1 KDE marktaff Linux - Newbie 2 08-31-2001 08:22 PM

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

All times are GMT -5. The time now is 09:05 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