You are not logged in.

#1 2017-03-04 23:18:24

dwightshrute
Member
Registered: 2017-01-15
Posts: 16

[Solved] Trouble mounting windoze partition ntfs-3g

I used to be able to mount my windoze partition with "sudo ntfs-3g /dev/sda2/ /mountpoint" just fine. Now it gives me "mount: special device /dev/sda2/ does not exist (a path prefix is not a directory)"
However when I type lsblk -f

NAME   FSTYPE LABEL           UUID                                 MOUNTPOINT
sda                                                               
├─sda1 ntfs   System Reserved 5CCA883ECA881704                     
├─sda2 ntfs   DRIVE_C         8AC897C8C897B145                     
├─sda3 ufs                    58b09fda3576254d                     
└─sda4 ext4                   095eabd4-031f-4997-be6c-1126f4c17d03 /
sr0 

there it is /dev/sda2

I'm confused, what am doing wrong. Tried manually inputting the UUID with ntfs-3g, but am unsure if i'm getting the parameters correct. Any help is appreciated!

Last edited by dwightshrute (2017-03-04 23:36:02)

Offline

#2 2017-03-04 23:22:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Trouble mounting windoze partition ntfs-3g

Please paste the exact command used and the output (in code blocks).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-03-04 23:26:13

dwightshrute
Member
Registered: 2017-01-15
Posts: 16

Re: [Solved] Trouble mounting windoze partition ntfs-3g

sudo mount /dev/sda2/ /mnt/windoze/
mount: special device /dev/sda2/ does not exist (a path prefix is not a directory)

or

sudo ntfs-3g /dev/sda2/ /mnt/windoze                 
ntfs-3g: Failed to access volume '/dev/sda2/': Not a directory

ntfs-3g 2016.2.22 external FUSE 29 - Third Generation NTFS Driver
        Configuration type 7, XATTRS are on, POSIX ACLS are on

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2016 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com

Last edited by jasonwryan (2017-03-04 23:34:10)

Offline

#4 2017-03-04 23:27:25

dwightshrute
Member
Registered: 2017-01-15
Posts: 16

Re: [Solved] Trouble mounting windoze partition ntfs-3g

And I made sure windows is not in hibernation mode

Offline

#5 2017-03-04 23:28:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Trouble mounting windoze partition ntfs-3g

I asked you to use code blocks.

sudo mount /dev/sda2/ /mnt/windoze/

What about:

sudo mount /dev/sda2 /mnt/windoze

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2017-03-04 23:32:10

dwightshrute
Member
Registered: 2017-01-15
Posts: 16

Re: [Solved] Trouble mounting windoze partition ntfs-3g

Oh my God - I feel so stupid, thank you. That totally worked. Um, sorry I don't know how to use code blocks, would  youmind showing me how or a hyperlink to a explanation. Thank you, still learning.

Offline

#7 2017-03-04 23:34:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Trouble mounting windoze partition ntfs-3g

I have fixed an example in #3 - edit the post and see what I have done.


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2017-03-04 23:38:44

dwightshrute
Member
Registered: 2017-01-15
Posts: 16

Re: [Solved] Trouble mounting windoze partition ntfs-3g

Thank you so much! I will put that example in my notes.

Last edited by dwightshrute (2017-03-04 23:40:47)

Offline

Board footer

Powered by FluxBB