Dec 23, 2011

Begini caranya agar bisa me-mount partisi NTFS di CentOS

Masalah:

[root@explsvr eharianto]# mount -t ntfs /dev/sda1 /mnt/usb/
mount: unknown filesystem type 'ntfs'
[root@explsvr eharianto]#


Melihat versi CentOS yang digunakan:
[eharianto@explsvr ~]$ cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
CentOS release 5.7 (Final)
[eharianto@explsvr ~]$


Men-download dan meng-install paket epel:
[eharianto@explsvr ~]$ wget http://epel.idrepo.or.id/epel/5/x86_64/epel-release-5-4.noarch.rpm
[eharianto@explsvr ~]$ su
Password:
[root@explsvr eharianto]# rpm -ivh epel-release-5-4.noarch.rpm
warning: epel-release-5-4.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@explsvr eharianto]# 


Meng-install paket ntfs-3g:
[root@explsvr eharianto]# yum install ntfs-3g
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.averse.net
 * epel: epel.idrepo.or.id
 * extras: mirror.averse.net
 * updates: mirror.averse.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ntfs-3g.i386 2:2011.4.12-5.el5 set to be updated
---> Package ntfs-3g.x86_64 2:2011.4.12-5.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package            Arch              Version                       Repository       Size
==========================================================================================
Installing:
 ntfs-3g            i386              2:2011.4.12-5.el5             epel            319 k
 ntfs-3g            x86_64            2:2011.4.12-5.el5             epel            301 k

Transaction Summary
==========================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 619 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): ntfs-3g-2011.4.12-5.el5.x86_64.rpm                          | 301 kB     00:00
(2/2): ntfs-3g-2011.4.12-5.el5.i386.rpm                            | 319 kB     00:01
------------------------------------------------------------------------------------------
Total                                                     406 kB/s | 619 kB     00:01
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey                                                        | 1.7 kB     00:00
Importing GPG key 0x217521F6 "Fedora EPEL " from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : ntfs-3g                                                            1/2
  Installing     : ntfs-3g                                                            2/2

Installed:
  ntfs-3g.i386 2:2011.4.12-5.el5             ntfs-3g.x86_64 2:2011.4.12-5.el5

Complete!
[root@explsvr eharianto]#


Hasil akhir:
[root@explsvr eharianto]# mount -t ntfs /dev/sda1 /mnt/usb/
[root@explsvr eharianto]#


Selesai, masalah sudah hilang.

No comments:

Post a Comment