• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

help with linux! Mounting my fat32 drive so that linux can read the files on a dual boot machine

Shack70

Platinum Member
Ok, I know it! Im a noob at linux, but i bet you all had to start somewhere 🙂

Her is the deal. I have a machine with win98se and linux redhat 7.2 installed as a dual boot. Everything works fine, but I want to be able to read the stuff i have on my widnows partiton. I have stuff like mp3s and such that i would like to use in linux. How do i do it?? I know i have to mount the partition somehow, but im worried that I will end up deleting to destryong my existing data.

Eventually I also want to set up an FTP server, but most of the files I will want to make accessable via ftp are on that windows drive 🙁

thanks in advance!
 
Ok let me add more info here 🙂
here is what i did...
used mkdir to creat /mnt/vfat directory
then i used mount -t vfat /dev/hda1 /mnt/vfat


I did this as root(SU)

Now here is the problem, on my windows drives, i have 3 partitions. C:,D:, & E:

I want to access D:

How do i do it. What i did mounted C:.

When I try to mount /dev/hda2/ it gives me errors. what am i doing wrong??
 
after you get the mount command working and figure out all of the /dev/hda* numbers then you can edit the /etc/fstab file to make it so you can just mount stuff with the command: mount /dev/vfat or mount /cdrom or whatever... Or you can make it so they mount automaticley everytime you boot up.

read the man files for fstab to figure out the correct format or just look at how your native partitions are configured in fstab (with slight modifications for vfat stuff).
 
Originally posted by: BlackFlagg
Ok let me add more info here 🙂
here is what i did...
used mkdir to creat /mnt/vfat directory
then i used mount -t vfat /dev/hda1 /mnt/vfat


I did this as root(SU)

Now here is the problem, on my windows drives, i have 3 partitions. C:,D:, & E:

I want to access D:

How do i do it. What i did mounted C:.

When I try to mount /dev/hda2/ it gives me errors. what am i doing wrong??

See, that information would have been useful in the original post. Update us with more info when you try the other suggestions. Good luck. 🙂
 
problem solved! I had to log in as root (SU wouldn't let me run fdisk) and I did fdisk -l. Apperently d: is hda5 and e: is hda6!

Next thinkg to figure out is how to make all 3 partitions mount when linux boots 🙂 I'd ask, but I'm gonna try to figure it our first. Thanks for all the input!

In the end it was : mount -t vfat /dev/hda5 /mnt/vfat


 
Back
Top