Link to home
Start Free TrialLog in
Avatar of peas
peas

asked on

Reading files from different OS

I have two separate hard drives, on the C drive i have windows 95 (sorry.. :)  ) and i have just installed linux on the D drive. I know Windows does not even know the D drive exists, but i was wondering if there was a way for me to access my files that are on the C drive from linux, on my D drive. files such as mp3s, for instance... Thanks a lot!
Avatar of mcrider
mcrider

Yes, you can mount it in your /etc/fstab file...

For example:

Create a directory call /dos_c_drive

Then put something like this in your /etc/fstab and reboot linux:

/dev/hda1 /dos_c_drive msdos defaults 1 1

Note that the first argument "/dev/hda1" is the device that points to the C drive... Use whatever device points to you C drive...


Cheers!®©
Avatar of peas

ASKER

Adjusted points from 5 to 10
Avatar of peas

ASKER

Thanks a lot for the response mcrider; honestly, i didnt think anyone would reply! however i think i did what you said to do, but it didnt seem to work...
may it have to do with what you said was the "device that points to the C drive", ie. /dev/hda1
how do i find out what device points to the c drive? im sorry; im totally a novice here!! if you can help more, thanks a lot, but if you dont, thanks anyway for the response, i appreciate it! at least i have something to work with!
I don't think anyones going to give you a straight answer for only 10 points.  Even though it is simple to access other drives.
ASKER CERTIFIED SOLUTION
Avatar of Reinier
Reinier

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Oh, yes, and from now on the C: drive will be mounted every time you boot linux. If you don't want that you can change "defaults" to "defaults,noauto".

Do you have other users on that system?
If you want all users to be able to mount C: you could add "user" to this option field. For further options see "man mount". Go read about the "uid=xxx", "gid=xxx" and "noexec" options.
Avatar of peas

ASKER

Thanks a lot rainier! I really appreciate you taking the time to help out

I dont have other users on there, but i want to look into the permissions stuff anyway.

Thanks again, also, mcrider!