Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
AccessingWindowsPartitions
Edit
PageHistory
Diff
Info
LikePages
!! It's no problem Linux can read MicrosoftWindows [Partition]s just fine, you just need to [Mount] them onto the FileSystem. !! You might not need to do anything Most likely, your Windows partiton was probably configured for access when you installed Linux – try looking in the <tt>/mnt/</tt> directory using your FileManager and see if there is a directory called <tt>windows</tt> or similar. If so, then simply clicking on it should show the contents of your C drive. If it looks empty, try issuing <tt>mount /mnt/windows</tt> on a root [Shell]. If that doesn't help either, you need to configure a few things. !! So it wasn't automatically set up? First, you will have to make a "mount point", that is, a directory which the [Partition] will be mounted onto. Do this as root: <tt>mkdir /mnt/windows</tt> Next, you need two pieces of information: # The device name for the Windows [Partition]. This is ''usually'' <tt>/dev/hda1</tt>, but if you have multiple Windows partitions, multiple HardDisk~s or an otherwise out-of-the-ordinary setup, it may be something else. We'll assume <tt>/dev/hda1</tt> here, but if yours is different, then substitute it accordingly. # MicrosoftWindows [Partition]s come in two flavours: [FAT], a crummy old format, and [NTFS], a more modern format. You need to know which one you have. Windows 9x/ME can only work with [FAT] partitions, but Windows 2000 and XP can do both – they default to [NTFS], though, so that's probably what you have. To mount an [NTFS] partition, you use <tt>mount -t ntfs /dev/hda1 /mnt/windows</tt>; to mount a [FAT] partition, you use <tt>mount -t vfat /dev/hda1 /mnt/windows</tt>. !! Making it permanent You successfully mounted your Windows partition? Great. But you'll have to issue the mount(8) command again the next time you boot the machine. If you want it mounted automatically, you can translate the command to a line in your <tt>/etc/fstab</tt> configuration like this: <verbatim> /dev/hda1 /mnt/windows vfat auto </verbatim> You may be required to specify the user ID (UID) in <tt>/etc/fstab</tt> to get it to work with a non-root user: <verbatim> /dev/hda1 /mnt/windows vfat auto,uid=502 </verbatim> The "<tt>user</tt>" option allows the user to [Mount] and unmount, the "<tt>uid</tt>" option says which user can access files on that FileSystem. To get the UID for user <tt>joebob</tt>, issue <tt>id -u joebob</tt>. !! [NTFS] in FedoraCore 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. ---- CategoryBeginners
No page links to
AccessingWindowsPartitions
.