LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2003, 10:32 AM   #1
yuzyin
LQ Newbie
 
Registered: Sep 2003
Location: Toronto, ON, Canada
Posts: 1

Rep: Reputation: 0
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
 
Old 09-19-2003, 11:08 AM   #2
C-Squared
Member
 
Registered: Feb 2003
Distribution: RedHat 9
Posts: 37

Rep: Reputation: 15
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.
 
Old 09-19-2003, 11:38 AM   #3
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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 Dd_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......
 
Old 09-19-2003, 11:42 AM   #4
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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.
 
Old 09-19-2003, 11:47 AM   #5
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
Talking

Quote:
Originally posted by coolamit78


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

was it nt vb code??

Last edited by arunshivanandan; 09-19-2003 at 11:50 AM.
 
Old 09-19-2003, 01:36 PM   #6
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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...)
 
  


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
2 HardDrives (need Help) IceyCold Slackware - Installation 5 10-09-2004 05:32 AM
harddrives Celestial Linux - Newbie 3 07-01-2004 03:30 PM
Harddrives Celestial Slackware 1 06-30-2004 08:18 PM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM
Linux supports fat or fat 32? dark_light Linux - General 3 04-25-2002 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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