Tuesday, March 9, 2010

How to mount Windows[NTFS] from Linux

Initially login as the root user.

Then type this command on the console:-

$ fdisk -l

This command shows what are the different disks present on our machine. They generally follow this particular format: /dev/sda[number]

$ mount -t ntfs /dev/sda[number of the disk which you want to mount] [directory on the root from which you will access the mounted disk files say for ex: mountedDir]

Then for viewing the mounted files just type as usual,

$ cd mountedDir

You will be able to access the files of the disk which was mounted.

For unmounting the disk, just simply type this on the console:

$ unmount mountedDir

Hope this will be helpful.

No comments: