Solved

Reading files from different OS

Posted on 2000-03-22
7
299 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
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now