Cara Mount Hardisk External Dengan Format Hardisk NTFS


Di sini saya akan mencoba memposting bagaimana caranya OS linux membaca hardisk external dengan format HDD NTFS, berawal dari pengalaman nginstall OS linux untuk server karena yang saya install biasanya linux tanpa GUI jadi hanya text mode aja nah kebingang ketika mau copy data dari hardisk external ke server karena hardisk external type format nya ntfs nemu artikel di sini  jadi berikut caranya :

1. Install Package linux nya nama package nya fuse fuse-ntfs-3g dkms dkms-fuse

#  wget  packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

# rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm

warning: rpmforge-release-0.3.6-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...        ########################################### [100%]
1:rpmforge-release  ########################################### [100%]

#  yum install fuse fuse-ntfs-3g dkms dkms-fuse

Buat direktory untuk mount hardisk externalnya

# mkdir /mnt/usb
# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       38913   312464250   8e  Linux LVM

Disk /dev/dm-0: 315.7 GB, 315747205120 bytes
255 heads, 63 sectors/track, 38387 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       60802   488384032+   7  HPFS/NTFS

Jalankan syntak di bawah ini untuk mount dari hardisk external ke system linux

# mount -t ntfs-3g /dev/sdb1 /mnt/usb/

Nah sekarang file – file yang ada di hardisk external bisa di lihat di direktory

# cd /mnt/usb/

# ls -al
drwxr-xr-x 39 root root       4096 May 11 09:34 .
drwxr-xr-x  5 root root       4096 Jan 11 09:34 ..

Partisi baru juga telah ke buat bisa di lihat dengan menjalankan syntak di bawah ini

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      285G  158G  113G  59% /
/dev/sda1              99M   13M   81M  14% /boot
tmpfs                1000M     0 1000M   0% /dev/shm
/dev/sdb1             466G  201G  266G  44% /mnt/usb

Jika kamu akan unmount partisi tersebut bisa dengan menjalankan syntak di bawah ini

#  umount /mnt/usb
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      285G  158G  113G  59% /
/dev/sda1              99M   13M   81M  14% /boot
tmpfs                1000M     0 1000M   0% /dev/shm

Selamat belajar kawan – kawan semuanya jangan pernah menyerah

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s