How Do I access windows files in linux ?

Anyone who uses both Linux and Windows knows the problem. You need a couple of files that are on the Windows partition, but you forgot to copy them to a floppy or to the server before rebooting to Linux. Wouldn't it be great if you could just access those files from Linux, you think, as you prepare yourself for two more reboots.

There are a number of ways to solve this problem. Let check it out….

First create a directory under /mnt

mkdir /mnt/windows


I’m assuming /dev/hda1 is your windows partition


To mount MS-DOS File System:

Run this command to mount a MS-DOS patitioons


mount /dev/hda1 /mnt/windows
Note that there is no need to specify a filesystem type (such as mount -t vfat /dev/hda1 /mnt/windows) because the mount command tries to mount the filesystem as VFAT before it tries MS-DOS.

That’s it. Now cd to /mnt/windows to check you windows files. :)

You can also use msdos option with mount command

mount -t msdos /dev/hda1 /mnt/windows

To mount NTFS File System (Windows NT, 2000, 2003, or XP):

Run this command to mount a NTFS patitioons

mount -t ntfs /dev/hda1 /mnt/windows


Editing a fstab file so that linux system mount your windows partition during boot process.

For MS_DOS:

/dev/hda1 /mnt/windows vfat defaults 00

FOR NTFS:

/dev/hda1 /mnt/windows ntfs defaults 00

Labels: