LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-04-2004, 05:23 PM   #1
pashiewashie
Member
 
Registered: Apr 2004
Location: Sydney, Australia
Posts: 31

Rep: Reputation: 15
Red face Want to see Windows files?


i have Fedora Core 1 and i want to know if im able to see my Windows Xp file when im using Fedora.
 
Old 05-04-2004, 05:27 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
Yes.
Check out the man pages for mount and fstab
 
Old 05-04-2004, 05:47 PM   #3
grcunningham
Member
 
Registered: Apr 2004
Location: Florida
Distribution: RedHat 9.0/Afterstep
Posts: 103

Rep: Reputation: 15
man pages arent always easy to understand
create a directory, on my system its /mnt/cdrive
mount your windows drive
mount -t vfat /dev/hda1 /mnt/cdrive
easy
 
Old 05-04-2004, 06:23 PM   #4
pashiewashie
Member
 
Registered: Apr 2004
Location: Sydney, Australia
Posts: 31

Original Poster
Rep: Reputation: 15
please explain whered you
create the directory
 
Old 05-04-2004, 09:04 PM   #5
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
type this to create your directory like he reccomended:

cd /mnt
mkdir cdrive

cdrive can also be changed to whatever you want your drive to be called. I perfer windows as the name, but that's a personal preference
 
Old 05-06-2004, 06:36 AM   #6
pashiewashie
Member
 
Registered: Apr 2004
Location: Sydney, Australia
Posts: 31

Original Poster
Rep: Reputation: 15
okay it mounted now how does all this work ?
 
Old 05-06-2004, 07:35 AM   #7
sweet*amber
Member
 
Registered: Apr 2004
Location: Philippines
Distribution: Red Hat 9.0 - Suse 8.0 - Slackware 7.0 - Fedora Core 2 test 3
Posts: 133

Rep: Reputation: 15
login as root
open a konsole
type mkdir /mnt/windows
open fstab (i think its in the /etc)
type this just below the page /dev/hda#(mount the hd you want if its hda or hdb and the number i.e. hda1 or hdb3 and so on
again, type /dev/hda# /mnt/windows vfat user 0 0
then in the konsole type mount /dev/hda# /mnt/windows

after the mounting ceremony, you can now access your files (like mp3s, videos...) in /mnt/windows folder, you can see an icon of a hard drive.
 
Old 05-09-2004, 04:53 AM   #8
pashiewashie
Member
 
Registered: Apr 2004
Location: Sydney, Australia
Posts: 31

Original Poster
Rep: Reputation: 15
as in Konsole you mean Terminal becoz when i use a terminal is says: bash: mkdir/mnt/windows: No such file or directory

by the way im using Fedora core 1
 
Old 05-09-2004, 07:36 AM   #9
martina-cz
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 40

Rep: Reputation: 15
Quote:
when i use a terminal is says: bash: mkdir/mnt/windows: No such file or directory
Type this:
mkdir /mnt/windows

There must be free space between "mkdir" and "/mnt/windows
 
Old 05-09-2004, 01:50 PM   #10
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Since you are using XP, you are probably using NTFS.
If
mount -t vfat /dev/hda1 /mnt/windows
does not work, try:
mount -t ntfs /dev/hda1 /mnt/windows
Note that you have NTFS, you will probably not be able to change anything on the drive, but you will be able to read it.
 
Old 05-09-2004, 05:55 PM   #11
Borje
Member
 
Registered: Apr 2004
Location: Helsingborg, Sweden
Distribution: Debian/Xandros 3.0
Posts: 41

Rep: Reputation: 15
To clearify the lat post. If you have your windows on an NTFS patition you might not want to write to it and to enable read-only when mount add option -ro

Code:
mount -t ntfs -o ro /dev/hda1 /mnt/windows
To mount to so all users can access it and so it'll get mounted from boot you need to change your /etc/fstab. My looks like this reagaring to the windows partition I mount:

Code:
/dev/hde6       /mnt/win        ntfs    ro,gid=users,umask=0000 0       0
It's hde6 on my set since it's a SATA disk and I have a number of partitions on it. But it's probably hda1 for you. hda is your IDE primary master, hdb primary slave, hdc secondary master and hdd secondary slave. hda1 is the first partition on your primary master...

edit: just saw that you did get it to mount and wondered what to do then. If you got it mounted with "-t vfat" then you should put vfat where I wrote ntfs and "-o ro" is not needed, niether is "ro" as an option in /etc/fstab...

Last edited by Borje; 05-09-2004 at 06:03 PM.
 
Old 05-10-2004, 06:09 AM   #12
pashiewashie
Member
 
Registered: Apr 2004
Location: Sydney, Australia
Posts: 31

Original Poster
Rep: Reputation: 15
i read the other examples above and firstly i have 2 probs:

1. when i type in [root@localhost root]# mount -t vfat/dev/hda2 /mnt/windows i get:
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say man 8 mount .

What do i do. Also when i go to /etc and find Fstab i dont have a folder and when i cd to it i type ./fstab and get "permission denied"

By the way i made the directory okay. i dunno what to do now.
 
Old 05-10-2004, 07:36 AM   #13
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
"mount -t vfat/dev/hda2 /mnt/windows"
It looks like you need a space after the fs type --> vfat<space>/dev

"Also when i go to /etc and find Fstab i dont have a folder and when i cd to it i type ./fstab and get "permission denied""
./fstab looks like an attempt to execute the file, which is not what you need. Try opening it up in a text editor (as root).
 
Old 05-10-2004, 10:32 AM   #14
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
I am using fedora core 1 as well, and one problem you may run into is when you go to mount the ntfs (windows hard drive) you may get this error:

#mount -t ntfs /dev/hda1 /mnt/temp/
mount: fs type ntfs not supported by kernel (<--error)

Fedora Core 1 doesn't come w/ NTFS support compiled in automatically, there is a way to fix this (confusing, I'm sure). Supposely Fedora Core 2 (being released a week from today) will come w/ this already included, but I"m not sure about that.

Or someone here might know how to recompile your kernel w/ NTFS support.

I'm not for sure if you'll have this problem, but that's the problem I get when trying to mount my NTFS windowsXP drive.
 
  


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
Seeing my Windows Files....WHY????? wardialer Linux - Newbie 10 03-01-2005 08:01 PM
I can not open windows files in /mn/windows hraposo Mandriva 1 08-12-2004 10:45 PM
c header files in linux in place of header files in windows? harun_acs Programming 1 03-17-2004 02:24 AM
Backed up Windows Files on Linux; Can't Recover them to Windows MadFunk Linux - Software 6 08-16-2003 08:16 PM
PS Files from Windows XP aroben Linux - Networking 5 11-14-2002 06:34 PM

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

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