Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th January 2007, 10:21
rjmusto rjmusto is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How To Use NTFS Drives/Partitions Under Ubuntu Edgy Eft

Hi,
Have run through the set-up process for getting an external USB NTFS
drive read/write on Ubuntu.

Fallen into the trap of it not being mountable at the finish. I did
eject it and switch it off, but not unplug it. Maybe that was a mistake.

Anyhow, it won't mount now. Do you know of a fix for this?

Many thanks
Reply With Quote
Sponsored Links
  #2  
Old 17th January 2007, 16:29
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Are you using ntfs-3g? What message do you get when you try to manually mount the ext drive? Are you sure it's not already mounted in /mnt directory but not visable on your desktop?
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
Reply With Quote
  #3  
Old 17th January 2007, 17:52
rjmusto rjmusto is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As far as I know, yes I'm using ntfs-3g. How do I check?

No, the mnt folder is empty.

Trying to mount mannual produces this response:

Failed to mount '/dev/sda1': Operation not supported
Mount is denied because the NTFS journal file is unclean. Choices are:
A) Shutdown Windows properly.
B) Click the 'Safely Remove Hardware' icon in the Windows taskbar
notification area before disconnecting the device.
C) Use 'Eject' from Windows Explorer to safely remove the device.
D) If you ran chkdsk previously then boot Windows again which will
automatically initialize the journal.
E) Run 'ntfsfix' on Linux which will reset the NTFS journal.
F) Mount the volume read-only by using the 'ro' mount option.
Error: could not execute pmount

Thanks.
Reply With Quote
  #4  
Old 17th January 2007, 17:58
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Why don't you follow the suggestions the mount command gives you? Briefly scanning this thread, ntfsfix might do the trick.
Reply With Quote
  #5  
Old 17th January 2007, 19:24
rjmusto rjmusto is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, got it to mount read only using pmount.
Ejected, unplugged and plugged back in.
Had to manually mount again - but it still insists its read only, even though I didn't include the ro switch.

Is there a switch for pmount that forces read/write?
Reply With Quote
  #6  
Old 17th January 2007, 20:18
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

You still need to fix the problem on the filesystem. So either fsck (for Linx/Unix filesystems) or chkdsk (FAT) is required.
Reply With Quote
  #7  
Old 17th January 2007, 20:36
rjmusto rjmusto is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have tried fsck, but it returns this error:

fsck 1.39 (29-May-2006)
fsck: fsck.ntfs: not found
fsck: Error 2 while executing fsck.ntfs for /dev/sda1


And for chkdsk it says 'command not found'


Sorry to be a bit of a numpty - still kind of a novice at Linux.....
Reply With Quote
  #8  
Old 17th January 2007, 20:43
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Quote:
Originally Posted by rjmusto
Sorry to be a bit of a numpty - still kind of a novice at Linux.....
No problem, that's why these forums are there to get newbees up 2 speed

Apparently you have created an ntfs filesystem, so you need the 'ntfsfix' command. I think that's not installed by default (you'll notice if you get an obvious error), so you may need to install that using the specifics of your distro.
Reply With Quote
  #9  
Old 17th January 2007, 20:43
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

If you run any disk util to fix ntfs under Linux, you will probably have little success. you need to do it in windows or use use a a dos disk with chkdsk compatible to winxp.

Keep in mind that read/write feature can only be mounted with sudo command. Make sure you have the latest version of ntfa-3g from givre's repo or the repo posted on his thread.

Make sure you don't have anything that involves your ext. drive in fstab.
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
Reply With Quote
  #10  
Old 17th January 2007, 20:59
rjmusto rjmusto is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Ok, thanks for all that.

May be a while before I get back to you on this........
Reply With Quote
Reply

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare Server for Ubuntu Edgy Eft - Problems AEngineer Installation/Configuration 10 8th November 2007 07:46
The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) - Page 4 hal2710 Installation/Configuration 4 4th January 2007 15:17
The Perfect Server - Ubuntu 6.10 (Edgy Eft): sasl issues after power outage incgnito HOWTO-Related Questions 5 14th December 2006 20:29
Installing ISPConfig in the Ubuntu 6.10 Server (Edgy Eft) Linocks Installation/Configuration 5 10th December 2006 04:05
WG311v2 ubuntu edgy eft error dansaycool Installation/Configuration 4 15th November 2006 05:17


All times are GMT +2. The time now is 16:15.


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