You are not logged in.

#1 2010-08-28 19:09:04

dartfira
Member
Registered: 2010-08-23
Posts: 104

AutoMount NTFS

I've followed the NTFS guide to automount partion, this is my fstab

/dev/sda1  /media/disco1  ntfs-3g  users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_PH.utf8  0 0
/dev/sda4  /media/disco2  vfat  users,noauto,uid=1000,gid=100,fmask=0113,dmask=0002,locale=en_PH.utf8  0 0

But when i try to open it

snapshot1g.th.png

This is the fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe3c88a43

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1       178245081   254696399    38225659+   7  HPFS/NTFS
/dev/sda2   *          63     1959929      979933+  83  Linux
/dev/sda3         1959930   178245080    88142575+  83  Linux
/dev/sda4       254701629   488295674   116797023    c  W95 FAT32 (LBA)

Partition table entries are not in disk order

Disk /dev/sdb: 8136 MB, 8136949760 bytes
251 heads, 62 sectors/track, 1021 cylinders, total 15892480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x70707573

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?  1701998450  3638285201   968143376    d  Unknown
/dev/sdb2   ?  1701995885  2246105740   272054928    a  OS/2 Boot Manager
/dev/sdb3   ?  1769087090  3538458322   884685616+  6f  Unknown
/dev/sdb4   ?  2885681152  2885734849       26849    a  OS/2 Boot Manager

I've got ntfs-3g, and there are the folder.

Offline

#2 2010-08-28 19:10:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: AutoMount NTFS

dartfira wrote:
This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?  1701998450  3638285201   968143376    d  Unknown
/dev/sdb2   ?  1701995885  2246105740   272054928    a  OS/2 Boot Manager
/dev/sdb3   ?  1769087090  3538458322   884685616+  6f  Unknown
/dev/sdb4   ?  2885681152  2885734849       26849    a  OS/2 Boot Manager

And what's that??

dartfira wrote:

I've got ntfs-3g, and there are the folder.

Do you mean you created /media/disco1?

Offline

#3 2010-08-28 19:12:50

dartfira
Member
Registered: 2010-08-23
Posts: 104

Re: AutoMount NTFS

Yes.

The second is my mp3, nevermind about it.

Offline

#4 2010-08-29 00:19:35

hurleyef
Member
Registered: 2010-06-22
Posts: 72

Re: AutoMount NTFS

/dev/sda1 /media/ntfs1 ntfs-3g defaults 0 0
/dev/sda2 /home ext4 defaults 0 1
/dev/sda3 / ext4 defaults 0 1
/dev/sdb1 /boot ext3 defaults 0 1
/dev/sdb3 /media/ntfs2 ntfs-3g defaults 0 0
/dev/sdb5 swap swap defaults 0 0

This works for me.  I had to reboot the system for anything to work right though, manually mounting the drives gave me issues that I do not recall now.

Offline

#5 2010-08-29 13:41:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: AutoMount NTFS

hurleyef wrote:
/dev/sda1 /media/ntfs1 ntfs-3g defaults 0 0
/dev/sda2 /home ext4 defaults 0 1
/dev/sda3 / ext4 defaults 0 1
/dev/sdb1 /boot ext3 defaults 0 1
/dev/sdb3 /media/ntfs2 ntfs-3g defaults 0 0
/dev/sdb5 swap swap defaults 0 0

This works for me.  I had to reboot the system for anything to work right though, manually mounting the drives gave me issues that I do not recall now.

+1 Try with defaults.

Can you post the link to the guide you used?

Offline

#6 2010-08-29 15:25:28

dartfira
Member
Registered: 2010-08-23
Posts: 104

Re: AutoMount NTFS

http://wiki.archlinux.org/index.php/HAL_(Italiano)

Now the partion mount correctly when I write
sudo mount /dev/sda4 /media/disco1
But i'd like to automount it when my pc starts, i'm using pcmanfm.

Offline

#7 2010-08-29 15:34:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: AutoMount NTFS

Were you using http://wiki.archlinux.org/index.php/HAL … o)#PCManFM

[ntfs-3g]
# mount_options=locale=;exec
mount_options=uid=1000;gid=100;fmask=0113;dmask=0002;locale=;exec

?

Offline

#8 2010-08-29 15:58:42

dartfira
Member
Registered: 2010-08-23
Posts: 104

Re: AutoMount NTFS

Yes, but i can't modify any file or folder, ora automount the partition.

Last edited by dartfira (2010-08-29 16:01:54)

Offline

#9 2010-08-30 10:54:02

dartfira
Member
Registered: 2010-08-23
Posts: 104

Re: AutoMount NTFS

I just want to use hal, not the fstab how can  I do it, i need to automount only a fat32 partition now.

Last edited by dartfira (2010-08-30 11:05:53)

Offline

#10 2010-08-30 12:52:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

Board footer

Powered by FluxBB