mount windows drive using command line

Asked by kiran

how can i mount windows drive using command line

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :
#1

Create a mountpoint:

sudo mkdir /media/windrive

Mount the drive:

sudo mount -t ntfs-3g /dev/sda1 /media/windrive -o force

Assuming that /dev/sda1 is your windows media drive.

HTH.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#2

Alternatively, if you want to do the same thing with the command-line that a graphical file manager causes to happen when it mounts an NTFS volume (i.e., Windows drive), you could run

udisks --mount /dev/sda1

where, as in Ian Ace's post, /dev/sda1 should, as appropriate, be replaced with the device name of the partition you wish to mount.

Can you help with this problem?

Provide an answer of your own, or ask kiran for more information if necessary.

To post a message you must log in.