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.
|
Yes.
Check out the man pages for mount and fstab |
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 |
please explain whered you
create the directory |
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 ;) |
okay it mounted now how does all this work ?
|
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. :) |
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 |
Quote:
mkdir /mnt/windows There must be free space between "mkdir" and "/mnt/windows |
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. |
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 Code:
/dev/hde6 /mnt/win ntfs ro,gid=users,umask=0000 0 0 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... |
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. |
"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). |
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. |
All times are GMT -5. The time now is 08:07 AM. |