Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-28-2007, 08:24 AM   #1
LQ Newbie
Registered: Jul 2007
Distribution: ubuntu
Posts: 7

Rep: Reputation: 0
writing premissions on USB ntfs HD achived, how to make it last?

after spending about 2 hours of reading and searching and almost bursting in tears while trying to get Ubuntu 7.4 to mount the NTFS usb 160GIG hard drive that have, i finally went with the "MS way", boot up windows XP and safely unmount the HD, than restarted and typed: "sudo umount /media/disk"
the disk disappeared from my desktop (even though a normal "Eject" could not get rid of it).
than a "pmount /dev/sdb1 USBDISK" (I installed pmount while following one of the tutorials in the forums)
and viola... i can write on the NTFS disk.

now, my question is, how do I make it last?
I mean do i need to do the same procedure on every boot? or is there a place to "catch" the device before it gets mounted by the normal mount program?

Old 07-28-2007, 02:46 PM   #2
LQ Newbie
Registered: Oct 2006
Distribution: Kubuntu
Posts: 25

Rep: Reputation: 15
mount ntfs

You can mount (read and write) ntfs with ntfs-3g.

And you can make it last using /etc/fstab entry.


It's just as simple as

# mount -t ntfs-3g /dev/sdb1 /mnt/mount_point

Last edited by khairilthegreat; 07-28-2007 at 02:48 PM.
Old 07-29-2007, 01:27 AM   #3
LQ Newbie
Registered: Jul 2007
Distribution: ubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
can i add a pmount command to the fstab as well?
Old 07-29-2007, 02:30 AM   #4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
No. You don't put commands in fstab for one thing and secondly I think pmount doesn't honour fstab entries anyway, since it's used for mounting things without requiring an fstab entry.
Old 07-29-2007, 10:26 AM   #5
Senior Member
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
you already complicated your life there unnecessary. If you are using Ubuntu 7.4, you can do all that with a few clicks.

Applications - system tools - ntfs configuration tool

And behold! The two mighty check boxes. And they act as promised. Now the disk should get mounted automatically.

Hope that works. If that doesn't work, you can add it to the fstab. But you have to mount it by uuid, and lately ubuntu doesn't mount my ntfs drives with the ntfs-3g command, it uses "fuseblk". I can't tell you much about that. Just very briefly, if you want user permissions for a removeable device you simply add:
If you want it to be mountable by any user, but unmountable only by the user who started it. (recommended)
Same as above, but everyone can unmount
If you want it only for you

... to the options.
Noauto just tells it to not mount it at boot time.

It's also a good idea to mount it by uuid. You can find it in /dev/disk/by-uuid/
after you conneced it.
(just do an ls -l on the directory)
Then, instead of the device location, you enter the uuid with:

so the fstab entry looks something like

UUID=a_bunch_of_ominous_looking_numbers /where/you/want/it ntfs-3g rw,noauto,user 0 0
But this is just so you know... As I said: It should be much easier.

Last edited by oskar; 07-29-2007 at 10:34 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing on NTFS Instantly Linux - Newbie 4 06-30-2007 05:10 PM
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 09:28 PM
Writing to NTFS irfanhab Linux - Software 6 05-14-2004 04:08 PM
Setting premissions for mounted ntfs partitions RHL 9 killer_bunny Linux - Newbie 1 10-22-2003 05:55 AM
Clearing all premissions on NTFS or converting back to FAT32 AnyoneEB General 7 06-16-2002 05:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration