Solved

Reading files from different OS

Posted on 2000-03-22
7
303 Views
Last Modified: 2010-04-20
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!
0
Comment
Question by:peas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 14

Expert Comment

by:mcrider
ID: 2648953
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!®©
0
 

Author Comment

by:peas
ID: 2651833
Adjusted points from 5 to 10
0
 

Author Comment

by:peas
ID: 2651834
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!
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Expert Comment

by:orz012999
ID: 2652400
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.
0
 
LVL 2

Accepted Solution

by:
Reinier earned 10 total points
ID: 2652799
Sure, some-one will answer. What are you going to do with those points anyway?

Please change that /etc/fstab line to:

/dev/hda1 /dos_c_drive vfat defaults 0 0

The "vfat" will make you see long filenames (see "man mount" and "man fstab") and the two zero's tell not to include this filesystem in backups (see "man dump") and not to check this filesystem at boot (see "man fsck"). You are free to choose any other mount point instead of /dos_c_drive, but make sure the directory you choose exists before your try to mount.

Now, as root, issue a "mount /dos_c_drive". Only after that you will be able to cd to /dos_c_drive and see the contents of "C:".
0
 
LVL 2

Expert Comment

by:Reinier
ID: 2652828
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.
0
 

Author Comment

by:peas
ID: 2653407
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!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
error log using ftp 7 77
linux - yum package installation issue 2 107
Apache LDAP Authentication 20 52
How to fix Dual Server Conflict GitLab vs Apache2 3 11
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question