Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-05-2006, 03:29 PM   #1 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Question How to mount NTFS partition in Ubuntu


I have installed Ubuntu the Warty Warthog release. My problem is that I cannot mount my NTFS (hda1) partition for myself. I made a folder from my username, and mounted the partition by using SU. Now, I do not have permission to view the partition. I always have to log in as SU to view the files.

Please Help.
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:


Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium
(Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 (New :twisted:), Roland MicroCube Amp.
DeSmOnD dAvId is online now  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-05-2006, 06:00 PM   #2 (permalink)
The Linux Man !
 
paragkalra's Avatar
 
Join Date: Jan 2006
Location: Nagpur, Maharashtra, India
Posts: 217
Default Re: How to mount NTFS partition in Ubuntu

Go here
http://www.linux-ntfs.org/
It may provide u some help
or go here
http://discoverlinux.blogspot.com/20...and.html#links
Perhaps it may help you out
__________________
Parag.A.Kalra, The Linux Man
http://www.paragkalra.com/
In this world without WALLS and GATES who need WINDOWS! USE LINUX! STOP PIRACY! GO OPEN SOURCE!
paragkalra is offline  
Old 09-05-2006, 08:57 PM   #3 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Well you can mount ntfs as read-only partition. Add the following in /etc/fstab to mount it and view without su'ing.
Code:
/dev/hdx  /<name of the folder>   ntfs   defaults,ro,umask=000    0  0
Here x in hdx is the partition number of the ntfs partition. If you have SATA drive you have to use sdx.
And reboot the computer. Somehow it did not work for me without rebooting.
mehulved is offline  
Old 17-05-2006, 01:23 PM   #4 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default Re: How to mount NTFS partition in Ubuntu

Tried but still I have to switch to su to view it.
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:


Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium
(Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 (New :twisted:), Roland MicroCube Amp.
DeSmOnD dAvId is online now  
Old 17-05-2006, 03:46 PM   #5 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

su in ubuntu???
Please explain what have you done and have you rebooted after making changes?
mehulved is offline  
Old 17-05-2006, 03:50 PM   #6 (permalink)
Level 96 Headbanger
 
DeSmOnD dAvId's Avatar
 
Join Date: Apr 2005
Location: Metalopolis
Posts: 1,121
Default Re: How to mount NTFS partition in Ubuntu

Yes, I made changes to /etc/fstab as you have described exactly, even counted the spaces and entered the lines. I then restarted and tried to get into the /mnt/win folder, where I have it mounted, then it says that I donot have permission. I swear I entered everything correctly.
__________________
"Words meant to dwell in darkness shall never see the light of day.
Words can be broken, so can bones. Execute the mandate." :twisted:


Steam : DeathMetal
Garena : death_metal27
My Blog : The Pandemonium
(Latest Post : Where does music come from?)
Guitar gear : GB&A (acoustic), ESP LTD-M50 (New :twisted:), Roland MicroCube Amp.
DeSmOnD dAvId is online now  
Old 17-05-2006, 03:59 PM   #7 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Again did you reboot befotre trying to access the partition after you made changes? And no need to count the number of spaces I have left it does not make a difference. You just need to leave a space.
It won't work without a reboot. That had happened to me too. Me and some others were puliing out our hair at why I could not access windows partition as normal user even after making changes in fstab. But, it went all fine after the next reboot.
mehulved is offline  
Old 06-12-2006, 03:09 PM   #8 (permalink)
In The Zone
 
bizzare_blue's Avatar
 
Join Date: Aug 2004
Location: Lucknow
Posts: 246
Default Re: How to mount NTFS partition in Ubuntu

Ain't it possible to have "write-access" to NTFS partitions from ubuntu?
__________________
Bitten by the open-source bug...
bizzare_blue is offline  
Old 06-12-2006, 03:40 PM   #9 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Well it is possible using ntfs-3g or ntfs-static but it will be too slow. It is so slow that I found it too irritating to even use it.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-12-2006, 05:17 PM   #10 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: How to mount NTFS partition in Ubuntu

^^
NTFS-3G isnt slow at all tech_your_future!
Here, follow this for those who need NTFS-3g in Ubuntu.
http://ubuntuforums.org/showthread.php?t=217009
__________
Quote:
Originally Posted by tech_your_future
Again did you reboot befotre trying to access the partition after you made changes? And no need to count the number of spaces I have left it does not make a difference. You just need to leave a space.
It won't work without a reboot. That had happened to me too. Me and some others were puliing out our hair at why I could not access windows partition as normal user even after making changes in fstab. But, it went all fine after the next reboot.
are yaar, he said he rebooted. I mounted NTFS in my /media folder and it worked, maybe /mnt/win isnt open to all groups ? Thats a bit weird though.
__________________
Harsh J
www.harshj.com

Last edited by QwertyManiac; 06-12-2006 at 05:17 PM. Reason: Automerged Doublepost
QwertyManiac is offline  
Old 06-12-2006, 06:28 PM   #11 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

i never mounted ntfs partition on ubuntu but i don't know how it mounted windows partition automatically! it allow me to read write on ntfs drive without any problem.
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 06-12-2006, 06:31 PM   #12 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Which version of Ubuntu are you talking about Desi-Tek? It must be Edgy cos AFAIK, ntfs write is supported only since kernel 2.6.17.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-12-2006, 07:03 PM   #13 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: How to mount NTFS partition in Ubuntu

Edgy too by default doesnt allow writing to NTFS. But in coming mid summer the k-mod plugin will start write support.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 06-12-2006, 07:33 PM   #14 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

@tech_your_future hi mate i am using dapper with latest version of kernel which i compiled recently .It require root permission to to write any thing on ntfs drive .
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 06-12-2006, 09:38 PM   #15 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

OK so that's why. You have compiled a kernel with ntfs write support. A default install of Dapper won't allow to write to ntfs.
And you should be able to write as non-root user too. I guess module isn't loaded or you may have not set write permissions for non-root user, maybe intentionally.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-12-2006, 10:15 PM   #16 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

latest kernel is not the reason i am able to read/write in ntfs drive from the very first day when i installed ubuntu for first time. even through live cd.
actually i mounted ntfs drive through system>administration>>disks
than i created a folder called /ntfs/windows
than i selected partition 1 added this access path /ntfs/windows
and than i clicked on enable it mounted ntfs drive with read and write support
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 06-12-2006, 10:34 PM   #17 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Not possible AFAIK dapper doesn't support writing to ntfs.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-12-2006, 10:42 PM   #18 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

i have no idea how it is working for me
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 06-12-2006, 10:45 PM   #19 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: How to mount NTFS partition in Ubuntu

The Live CD will definitely not support writing of NTFS. If you compiled a kernel, good job.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 06-12-2006, 10:53 PM   #20 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

i am using fully cr@ckd mce xp may be that could be the reason?
@QwertyManiac it took me more than 1.5hour to compile source code of kernel. but it was really fun
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 06-12-2006, 10:59 PM   #21 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Nope it doesn't have anything to do with pirated or non-pirated copy of windows. Cos you need the ntfs write enabled in the kernel, which came after 2.6.17 and Dapper has 2.6.15 kernel and I don't think ubuntu has anyway enabled write access to ntfs in 2.6.15 kernel by some patches.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 06-12-2006, 11:32 PM   #22 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

no idea how it is working but it is working for me
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 07-12-2006, 12:18 AM   #23 (permalink)
Broken In
 
Join Date: Nov 2006
Location: Mumbai
Posts: 108
Default Re: How to mount NTFS partition in Ubuntu

the only hitch for me to install this addon is the warning.. that it may hurt my hdd in some way.. how can i reassure myself.. that nothing would be damaged by it
thanks
da_tcpip is offline  
Old 12-12-2006, 12:28 AM   #24 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

@tech_your_future r u sure that latest version of kernel has ntfs write support?
but people in debian irc told me that it does not have ntfs write support
Quote:
<Dheeraj_k> i just installed latest kernel but still not able to write any thing in ntfs drive
<PerfDave> Dheeraj_k: I don't think writeable NTFS support is in the upstream Linux kernel, because it depends on non-Free software.
<jelly-home> PerfDave: say what?
<jelly-home> Dheeraj_k: /msg dpkg ntfs-3g ... but ntfs-3g is a work in progress... HAVE BACKUPS
<PerfDave> jelly-home: Say what what?
<jelly-home> PerfDave: oh, sorry, the "ntfs driver depends on non-free so that's why it isn't in the kernel tree"
<jelly-home> PerfDave: sounds strange... what non-free software does it depend on? ntfs-progs (libntfs) is AFAICT free.
<PerfDave> jelly-home: Hmm, I thought that all the usable NTFS stuff wrapped around the Windows DLL?
<jelly-home> PerfDave: nope, current state of the art is a devel version of libntfs ("ntfs-3g") used with fuse.
<PerfDave> jelly-home: Which doesn't use any of the Windows code at all?
<jelly-home> PerfDave: Correct.
<PerfDave> jelly-home: Fair enough, I stand corrected
<PerfDave> There have been GPL-licensed wrappers for proprietary code before.
<Dheeraj_k> <jelly-home> if libntfs is free than can we expect ntfs write support in future release of kernel?
<jelly-home> PerfDave: there was that captive-ntfs hack that used pieces of wine, ReactorOS and windows dlls, yes
jelly-home> Dheeraj_k: Dunno... as it is now, you don't need support in kernel at all - just use ntfs-3g
<jelly-home> Dheeraj_k: ... the only thing needed from kernel is fuse, and it's been available in vanilla kernels since 2.6.15

<Dheeraj_k> <jelly-home> thanx for the information
<jelly-home> Dheeraj_k: you're welcome
source
irc.freenode.net
##debian channel
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com
Desi-Tek.com is offline  
Old 12-12-2006, 01:12 AM   #25 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

I am talking of vanilla kernel. Not the ubuntu kernel.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 12-12-2006, 01:21 AM   #26 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: How to mount NTFS partition in Ubuntu

That PerfDave kid is stupid...NTFS-Write support (no matter how half baked it is) has been in official kernel since I don't remember when. On the other hand...the other user jelly-home just told you about a better solution for NTFS write i.e. ntfs-3g.
eddie is offline  
Old 12-12-2006, 01:59 AM   #27 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

I guess perf-dave meant about debian when he said that.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 12-12-2006, 04:08 AM   #28 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

@tech_your_future i am using vanilla kernel version linux-2.6.19 and the problem is it is allowing me to write any thing on ntfs drive but it is supporting the read.

and they were knowin that i am using kernel v 2.6.19 .

but surprisingly i am able to do read/write on ntfs when i boot ubuntu on its default kernel!
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com

Last edited by Desi-Tek.com; 12-12-2006 at 04:17 AM.
Desi-Tek.com is offline  
Old 12-12-2006, 04:13 AM   #29 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: How to mount NTFS partition in Ubuntu

Did you select the module which allows writing to ntfs?
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 12-12-2006, 05:18 AM   #30 (permalink)
In The Zone
 
Join Date: Oct 2006
Location: Mumbai
Posts: 365
Default Re: How to mount NTFS partition in Ubuntu

yeah i did selected ntfs and other filesystem module. and i guess i got the answer and this time by very exprienced debian user and he is admin of that channel and if i am right than it is a official debian channel
Quote:
(05:00:24) Guerin: Dheeraj_k: it's not half-baked, it's completely nonfunctional.
(05:01:21) Dheeraj_k: Guerin: that means what they said in thinkdigit is wrong?
(05:01:24) lacin left the room (quit: "Leaving").
(05:01:57) Guerin: Dheeraj_k: it's technically right - there IS what they call ntfs-write in kernel. It's just utterly ****ing useless.
(05:02:02) Guerin: Dheeraj_k: *utterly
(05:04:26) Guerin: Dheeraj_k: well, a very small part. The driver can't create or delete files, and can't change the size of a file. But you could change a file containing `bar' to `foo' as long as the size remained identical, for instance.
(05:05:49) Dheeraj_k: Guerin: actually some linux user said that i can edit, delete,move, rename file in ntfs if i am using vanilla kernel
(05:05:59) Guerin: Dheeraj_k: that's very new, then.
and he also visited this thread before answering the query as i gave him the link via pm
__________________
Dhiraj Thakur
thakur.dheeraj(@)gmail.com

Last edited by Desi-Tek.com; 12-12-2006 at 06:11 AM.
Desi-Tek.com is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear

Advertisement




All times are GMT +5.5. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2