LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Viewing other harddrives (FAT) (https://www.linuxquestions.org/questions/linux-software-2/viewing-other-harddrives-fat-94515/)

yuzyin 09-19-2003 10:32 AM

Viewing other harddrives (FAT)
 
Hi
I have Red Hat 9.0
I"D Like to view my files which are on the other hdd. My Mp3's, pictures, docs, etc. But I can only see Floppy and CD-ROMS in disk management menu. How can I reach the Windows HDD or others.
Thank you

Huseyin GULTEKIN

C-Squared 09-19-2003 11:08 AM

I believe you can do this:

1) make a directory under /mnt, call it, say, windows
2) command prompt: mount -t vfat /dev/hda1 /mnt/windows

This works for my Windows 98 partition (which is on hda1).

Your Windows files will then appear under /mnt/windows.

coolamit78 09-19-2003 11:38 AM

There is one more way of doing the same thing.

1. Make a new folder /mnt/c_win

2. Now go to the file /etc/fstab file and edit it to add the following entry:

(I am replying from the windoze box so cant tell u the exact sequence right now...however this is probably ok)

/mnt/hda1 /mnt/c_win vfat defaults 0 0

This entry will automatically mount your windows partition at the time of boot. Hda1 is C:(/mnt/c_win) ....similarly, use hda2 for D:(d_win) or any name u wanna give and so on...

If properly mounted, you will notice the contents of that particular drive in /mnt/c_win directory and so on......

coolamit78 09-19-2003 11:42 AM

well, the html output has messed my reply a bit.....so let me reply again..

step 1 - create a new folder /mnt/win_c

step 2 - Edit the /mnt/fstab file and add the line below with your entries exactly below every default entry in the file. Place a tab between all the entries except 0 0

/dev/hda1 /mnt/win_c vfat defaults 0 0


Please ignore the previous post.

hope that helps.

arunshivanandan 09-19-2003 11:47 AM

Quote:

Originally posted by coolamit78


well, the html output has messed my reply a bit.....

was it nt vb code??

coolamit78 09-19-2003 01:36 PM

No, my reply is based on the assumption that windows is installed using FAT32 file system.

Note that your first hard disk will be called hda

C drive on hda will be called as /dev/hda1
D drive will be /dev/hda2 ....and so on

Your second hard disk will be called hdb...

C drive on this disk will be /dev/hdb1
D will be /dev/hdb2

and so on.....

depending on which hdd your windows partition exists, you need to change the name of the drive in the file /etc/fstab to mount the windows partition automatically at the time of boot.

for example : if you want to mount windows partitions on your first disk i.e hda, the entries in the file /etc/fstab will be

for C drive
/dev/hda1 /mnt/c_win vfat defaults 0 0

for D drive
/dev/hda2 /mnt/d_win vfat defaults 0 0

Update the file /etc/fstab using values that i have mentioned in the previous post.

( if your file system is NTFS, then try replacing VFAT with NTFS...)


All times are GMT -5. The time now is 08:24 AM.