Differences between version 6 and previous revision of AccessingWindowsPartitions.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Sunday, July 4, 2004 5:08:37 pm | by AlastairPorter | Revert |
Older page: | version 4 | Last edited on Tuesday, February 17, 2004 5:43:49 pm | by AristotlePagaltzis | Revert |
@@ -1,22 +1,25 @@
InNeedOfRefactor
Linux is able to read [Windows] partitions by [mounting|mount(8)] them onto the filesystem.
-Simply
:
+If you have a modern distro, your windows partiton was probably added when you installed. Try looking in the /mnt/ directory using your FileManager and see if there is a directory called 'windows' or similar. If so, then simply clicking on it should show the contents of your C drive.
+
+If there is no such folder you will have to make one yourself.
+
+Run (as root)
:%%%
mkdir /mnt/windows
- mount /dev/hda1 /mnt/windows
-where
hda1 is the first partition on the primary hard disk (this is usually correct)
+If you are running Windows 9x then runing
+ mount -t vfat /dev/
hda1 /mnt/windows
+should be enough to mount your C drive onto /mnt/windows where you can access it.
-[
mount(8)] should [automagically|AutoMagic] discover the partition type if it is fat32, but if it doesn't you can add ''
-t vfat'' to the mount command.
+If you are running Windows 2000 or XP you will have to use
+
mount -t ntfs /dev/hda1 /mnt/windows
-The same goes for [NTFS] drives, using ''-t ntfs'' instead.
-RedHat linux
doesn't have [NTFS] drivers built into the kernel, but
you can add it yourself if you need to
read [Windows] XP/
2000/NT4
drives.%%%
-
[http://linuxexperience
.com
/tutorials
/redhatntfs
.php
]
+FedoraCore
doesn't have [NTFS] drivers built into the kernel, so
you can't
read windows
2000 / XP
drives with it
. You can however install
[pre-compiled NTFS kernel RPMS for Fedora|
http://linux-ntfs.sourceforge
.net
/rpm
/fedora2
.html
] to make it work.
-To make it easier, you can add a line to
/etc/fstab to let you mount the
partition on bootup, or just by simply typing
- mount /mnt/windows
+''Could someone with an
/etc/fstab line for a windows
partition add one here?''
These instructions allow you to have read/write access to your windows drive as a normal user.%%%
__WARNING: it is a BadThing to write to an [NTFS] drive from in linux. Chances are you will lose your [Windows] install (which isn't always a bad thing :)__ Don't follow these instructions if you run an [NTFS] drive.%%%