Automount of external usb harddisk with ntfs filesystem

Forum rules
Before you post please read this
Post Reply
wolle55
Level 1
Level 1
Posts: 4
Joined: Mon Feb 12, 2007 11:12 am

Automount of external usb harddisk with ntfs filesystem

Post by wolle55 » Mon Feb 12, 2007 5:10 pm

Hallo friends,

I had install Bianca on my notebook AMILO A1655G.
Two problems I found.
1st: During installation procedure, i had an active internet connection,
the installer crashed within a python procedure (sorry, I hadn't save
the error message) at the actualization the package entries.
This problem I has fixed by disconnecting the internet connection.

2nd: By testing the live CD I could write to the internal (ide) and external (usb) ntfs partitions without problems. After the installation on my hard disk the mount of all ntfs partitions is read only.
After change the related entry in fstab from "ntfs" to "ntfs-3g" I can
write to my ide drive.

But, what I have to do for resolving this problem at my usb drive?
The following items I has tested e.g. I has found:
- The tool ntfsfix ends without errors
- If I boot the system with LiveCD, it work fine (no problems with automount)
- The "mintDisk" item within the main menu administration is without effect,
the automount is present every.
- After unmount my "mount -t ntfs-3g /dev/sda1 /data2" receipt by system with
"Volume is scheduled for check".
- The disk device works fine at windows xp (without problems)
- No changes in fstab I foung by auto mounting, but mtab was changed naturally

Please give me a hint for solving the problem. Best wishes from Germany, wolle55.

User avatar
clem
Level 12
Level 12
Posts: 4125
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem » Tue Feb 13, 2007 10:25 am

Hi,

mintDisk doesn't mount partitions that are defined in /etc/fstab. Remove your partitions from fstab, restart your X sessions and paste the content of /usr/lib/linuxmint/mintDisk/mintDisk.log

Clem

wolle55
Level 1
Level 1
Posts: 4
Joined: Mon Feb 12, 2007 11:12 am

Post by wolle55 » Tue Feb 13, 2007 9:04 pm

Hi clem,

thank you for the answer. But, you have misunderstood my problem.
It is clear, the mounting by mintDisk can't work sucsessfull if an entry
for the unit in fstab founding. I have no entry for the drive in the fstab.
The mintDisk tool works successful, but I can not write to drive, if there
is a ntfs filesystem at the external drive.
The same writing problem I had found by using another internel ntfs partition.
In this case I had fixed the problem by change "ntfs" to "ntfs-3g" at the
related entry within the fstab. This isn't a fix for the problem with
external usb drives but it was intended as a hint for you to find the
causation easier. The mintDisk tool has generated an entry in mtab with "ntfs".
I think it should be better "ntfs-3g" for read/write.

wolle55

User avatar
clem
Level 12
Level 12
Posts: 4125
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem » Wed Feb 14, 2007 6:15 am

By default mintDisk uses ntfs-3g, not ntfs... you can upgrade to mintdisk 1.6 to see this in the frontend.

Clem

wolle55
Level 1
Level 1
Posts: 4
Joined: Mon Feb 12, 2007 11:12 am

Post by wolle55 » Wed Feb 14, 2007 5:49 pm

Hi

I has update mintDisk to version 1.6 ... the write access to my ntfs disk dosn't work not yet.
After plug in the usb connection I can find the following new entry in the mtab:

/dev/sda1 /media/Philips\040External\040Disk ntfs rw,nosuid,nodev,uid=1000,gid=1000,umask=077,iocharset=utf8 0 0

Is this correct??? The mount type entry at the graphical frontend of mintDisk is "ntfs-3g".

By the way, another malfuntion I found (or is this a feature?). I unmount the disk, I plug off the connector,
I wait for 15 seconds, I plug on the connector, the drive acts but I cannot access for the drive and the desktop icon
created by mintDisk isn't visible.

wolle55

User avatar
clem
Level 12
Level 12
Posts: 4125
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem » Thu Feb 15, 2007 6:57 am

mintDisk only runs when you log in... it's not made for external drives and doesn't run in the background.

Clem

wolle55
Level 1
Level 1
Posts: 4
Joined: Mon Feb 12, 2007 11:12 am

Post by wolle55 » Thu Feb 15, 2007 8:18 am

Well, but what I have to think about the read only feature in the case that the external Drive is plug on during
booting and log on? In this case the drive is equiv an internal usb drive I think.

wolle55

User avatar
clem
Level 12
Level 12
Posts: 4125
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Post by clem » Thu Feb 15, 2007 10:18 am

Yes, apart from the fact that if the system mounts it mintDisk won't "remount" it. Basically mintDisk doesn't:

- mount partitions that are in fstab
- run in the background (it only runs once after you log in via GDM)
- mount partitions that are already mounted

Clem

Post Reply

Return to “Mounting Partitions”