Penguin
Note: You are viewing an old revision of this page. View the current version.

Linux is able to read MicrosoftWindows partitions by mounting them onto the FileSystem.

If you have a modern LinuxDistribution, 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

If you are running Windows 9x then running mount -t vfat /dev/hda1 /mnt/windows from a terminal window as root should be enough to mount your C drive onto /mnt/windows, where you can access it.

If you are running Windows 2000 or XP you will have to use mount -t ntfs /dev/hda1 /mnt/windows

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 to make it work.

You can add the following to your /etc/fstab file to make your computer automatically mount the partition when you boot into linux. If you are using Windows 2000/XP replace the vfat with ntfs:

/dev/hda1 /mnt/windows vfat auto 0 0

If you have multple hard discs, or an out-of-the-ordinary setup, you'll need to change /dev/hda1 to reflect the correct location of your partitions.

I had to do the following in my /etc/fstab to get it to work with a non-root user for NTFS -- IanMcDonald

/dev/sda2 /ntfs ntfs user,uid=502 0 0

The user allows the user to Mount, unmount and the uid says that that user can access.

To get the uid in IanMcDonald's post type: id username where username is replaced with your username, and the output will be something like:

uid=1234(username) gid=1234(username) groups=1234(username),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),
  30(dip),44(video),46(plugdev),107(lpadmin),108(scanner),109(admin)

CategoryBeginners