Saturday, January 12, 2013

How to access & automounting internal disks & usb media (Linux, FAT32, NTFS) via File Manager on Archlinux

To be able access internal drive/ usb media using any file manager you must install gvfs & polkit-gnome. And for NTFS / Fat32 you must install ntfs-3g too.


Okay let's install
#pacman -S gvfs polkit-gnome ntfs-3g

If done, logout and relogin to see the changes, open file manager, for this example i using pcmanfm.



For USB media will be auto mount and there will be notification window.


Now you can access into internal hard disk. But, for the first time, you will be asked for password (root password not user password). To make it automount. Unplug your usb media first, Open Terminal then type "blkid",

It will show like this (just example in my partition, bold will be auto mount) my archlinux partition is on /dev/sdc1

/dev/sda1: LABEL="_Fedora-15-i686-" UUID="d1f9d5ac-30bc-41d4-be11-1659d92041bb" TYPE="ext4"
/dev/sda2: UUID="33E1C7DA250BFA1C" TYPE="ntfs"
/dev/sda3: UUID="21a06a49-bd82-4a24-8dcc-84bbe60e4aa3" TYPE="ext4" PTTYPE="dos"
/dev/sda5: UUID="237df1b0-08b4-44fb-ac13-e3cf50ab54b8" TYPE="swap"
/dev/sdb1: UUID="1D35C2186363C802" TYPE="ntfs"
/dev/sdc1: UUID="d82010ad-aaf2-432f-a92c-29dcbb533c71" TYPE="ext4"
/dev/sdc2: UUID="19e0595e-d930-4520-a751-1b3cd39ff254" TYPE="swap"
/dev/sdd5: LABEL="MULTIBOOT" UUID="01CCA8A232107750" TYPE="ntfs"

Mount the drives using pcmanfm/other file manager. You will be found path to the partition like this.


Thats the target mount. Every drive have different path.

Now open terminal
#nano /etc/fstab

I just add like this below. (click to enlarge) it's different from yours.


Then save it. Try reboot, now your internal partition will be auto mount.

Enjoy.
Share on Facebook
Share on Twitter
Share on Google+

Related : How to access & automounting internal disks & usb media (Linux, FAT32, NTFS) via File Manager on Archlinux