PDA

View Full Version : mounting fat32 in ect3 in Gui


vasanth_12345
03-03-2005, 12:19 PM
Can anyone help me

i want to mount my fat32 partition in redhat pls help

step by step instructions please :cry:

mail2and
03-03-2005, 03:42 PM
first create a folder say "C" in /home or wherever u like..


suppose u want to mount C:

go to terminal.... and type

mount -t vfat /dev/hda1 /home/C

for d:(hda5) type

mount -t vfat /dev/hda5 /home/D

"D" being another folder in /home

now to auto-mount the partitions every time u start up...

go to /etc and edit the fstab file

add the following 2 lines at the end and save the file:



mount -t vfat /dev/hda1 /home/C defaults 0 0
mount -t vfat /dev/hda5 /home/D defaults 0 0



Similarly u can deal with ur E:[hda6] and so on.....


hope this helps u...

firestarter
03-03-2005, 08:00 PM
To check the partition informations, fire in
fdisk -l

vasanth_12345
03-03-2005, 08:09 PM
Tried it, but i get an error

i have prepared a photocopy of it


[root@localhost root]# mount -t vfat /dev/hda1 /home/C
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
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?)
[root@localhost root]#

firestarter
03-03-2005, 08:35 PM
What kind of Hard Disk you are using !! May be it is a SCSI one.
Fire in fdisk -l and paste the results here.

klinux
03-03-2005, 09:12 PM
how is ur hdd connected ?
use options for which one is ur config
primary master : hda
primary slave : hdb
secondary master : hdc
secondary slave : hdd

pradeep_chauhan
03-03-2005, 10:48 PM
Remember sata disk is also seen as a scsi disk so in place of hda use sda that the only change.

vasanth_12345
04-03-2005, 10:19 AM
Nop it's aide one,i have attached my harddisk as a master anyway how do you find whether the harddisk is aprimary master or secondary master

klinux
04-03-2005, 10:44 AM
u can check during while booting the pc . or just enter the bios and see whether the hdd containing linux is listed as primary master or secondary master .

vasanth_12345
04-03-2005, 12:31 PM
O.K i was able to mount the partition u were right .The harddisk was a secondary master.But i was not able to edit the "fstab" file i was logged in as root further i have a intex "rtl 8139d lan card".Although i got the drivers from the net i dont know how to install it pls help I am not able to play the mp3 files in xmms pls help :cry:

mail2and
04-03-2005, 03:19 PM
i hav mentioned the trick for xmms to play mp3's quite a few times :) i think anurag shud make this sticky or sumthing...


anyways herez it again :D

http://heidelberg.freshrpms.net/rpm.html?id=402

download this file (xmms-mp3-1.2.10-9.1.1.fc3.fr.i386.rpm)

in terminal type...

rpm -ivh xmms-mp3-1.2.10-9.1.1.fc3.fr.i386.rpm



Now go to:

Options|Preferences|Audio I/O Plugins


MPEG Layer 1/2/3 Placeholder Plugin


Uncheck the enable button next to this....

and ur done with xmms :D

try editing the fstab file with another text editor.... it'll surely be edited if ur logged in as root....

hafees
05-03-2005, 02:31 AM
hi :)

remember fstab is in /etc

cd /etc
then use gedit or vi

gedit fstab
or
vi fstab
and then save the changes. it is done

vasanth_12345
05-03-2005, 11:00 AM
O.K i downloaded the .rpm file but whenever i type rpm -ivh xmms-mp3-1.2.10-9.1.1.fc3.fr.i386.rpm it gives a file or directory not found error .Where should i place the .rpm .Even if i place it in the /root file it gives the same error

mail2and
06-03-2005, 02:50 PM
oops just realized this file i gave was for fc3.. o it mite be looking for xmms in a diff directory.... than what is installed in rh9... i'll post the link here today evening....