Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Mounting NTFS partition in Ubuntu?
New Posts  All Forums:Forum Nav:

Mounting NTFS partition in Ubuntu?

post #1 of 15
Thread Starter 
I'm trying to get my netbook to dual boot between Xubuntu and Windows 7 in an attempt to improve speed of stuff like video and web surfing while still being able to do some Windows only stuff. Anyway, getting it to dual boot wasn't a problem, however, I'm trying to share a partition with various media files and such so I don't have to have two copies of the same thing, eating up limited hard drive space.

Anyway, I can't figure out how to do this. Tried running sudo mount /dev/partition /mnt/name, but I get some error saying mount is denied or something. I can't see the drive anywhere except in mount managers and such, so I know it's there.
post #2 of 15
mount -t ntfs /dev/sdX /mnt/media
post #3 of 15
Thread Starter 
Quote:
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

Error I get. Same as last time
post #4 of 15
Are you sure the drive isn't automounted in Ubuntu somehow? See the last post here, it may work for you.
 
HTPC
(8 items)
 
 
CPUMotherboardGraphicsRAM
i7-3930k MSI X79MA-GD45 Powercolor 7950 G Skill 
Hard DriveCoolingCoolingCooling
Samsung 830 Swiftech Apogee XT Rev. 1 EK-FC HWLabs Black Ice GTX 240 and a Koolance HX-CU72... 
CoolingCoolingOSOS
MCP 35X and a MCP 350 Koolance 401x2 Opensuse 12.1 Windows 7 
KeyboardPowerCase
Ducky OCN with cherry blues Antec True Power New 650W Cooler Master CM690 II 
CPUMotherboardGraphicsRAM
i5-750 Gigabyte p55-ud2 GTX 430 G Skill 
Hard DriveOSPowerCase
Samsung HD204UI Fedora 15 Corsair CX-430 Silverstone GC04 
  hide details  
Reply
 
HTPC
(8 items)
 
 
CPUMotherboardGraphicsRAM
i7-3930k MSI X79MA-GD45 Powercolor 7950 G Skill 
Hard DriveCoolingCoolingCooling
Samsung 830 Swiftech Apogee XT Rev. 1 EK-FC HWLabs Black Ice GTX 240 and a Koolance HX-CU72... 
CoolingCoolingOSOS
MCP 35X and a MCP 350 Koolance 401x2 Opensuse 12.1 Windows 7 
KeyboardPowerCase
Ducky OCN with cherry blues Antec True Power New 650W Cooler Master CM690 II 
CPUMotherboardGraphicsRAM
i5-750 Gigabyte p55-ud2 GTX 430 G Skill 
Hard DriveOSPowerCase
Samsung HD204UI Fedora 15 Corsair CX-430 Silverstone GC04 
  hide details  
Reply
post #5 of 15
Thread Starter 
I still can't access it.
post #6 of 15
open up terminal:

1.create a spot to mount to:
sudo mkdir /media/windows

2.now take ownership or allow other users to use the folder:
sudo chmod 777 /media/windows

3.find out what device the partition is on:
sudo fdisk -l

4.mounting said device:
sudo mount -t ntfs-3g /dev/sdx /media/windows

(/dev/sdx, you will derive what to put here from step 3.)

now to make it automount upon restarts:

1. in terminal:

sudo gedit /etc/fstab

2. start a new line and put in:

/dev/sdx /media/windows ntfs-3g default 0 0

(note you can save yourself some headache by using uuid instead of /dev/sdx, but that is a bit more detail than i want to get into, before you understand how to mount a drive/partition in linux.)
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #7 of 15
Thread Starter 
As soon as I do step four, this is what I get. Again.
Quote:
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
post #8 of 15
Thread Starter 
Ok, I've found that I can access the folders and such on the drives through the video watching program thing, but not through the file browser. What the heck?
post #9 of 15
It's probably auto-mounted somewhere in /media/ as Ubuntu has done that for a while. I'm sure you can access it. If for some reason you can't then post your /etc/fstab for us so we can see what's being auto-mounted and what isn't.

[edit] Actually having a list of all the drives and the fstab would be good. "sudo fdisk -l" we don't need all of that though, just the sections that look like this:
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       14594   117220792+  af  HFS / HFS+
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #10 of 15
Thread Starter 
I can access it from everything but the file manager thing. So I guess the question is how to I get it to show up in the Places menu? Cause it's not there.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Mounting NTFS partition in Ubuntu?