Jump to content
Sign in to follow this  
Kulat-MalaT

[fedora C3] Nak Read Ntfs Partition

Recommended Posts

Minta bantuan..

Aku nak read aku nyer ntfs partition pada pc aku .Aku search dalam internet kendian dia suruh aku download kat sini http://linux-ntfs.sourceforge.net/rpm/fedora3.html dan ikut step ni

fstab :

Device : Mountpoint: FS: Options:

/dev/hda10 /mnt/hd3 ntfs users,ro,umask=0222 0 0

Open an terminal:

Su -

install the rpm (man rpm)

edit your fstab (Use above as an example)

Save the fstab

type : mount -a

this will mount everything listed in the fstab

Aku dah install rpm tu macm mana aku nak edit fstab tu? fstab yg ada kat /etc tu ker?

Share this post


Link to post
Share on other sites

Edit /etc/fstab dan masukkan line:

/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0

Bergantung kat mana partition ntfs ko. Contoh kat atas utk ntfs yg berada kat hda1. Kalo ko ada lebih dari satu partition, ko tambah lagi line macam kat atas dgn partition dan mount point berbeza.

run: fdisk -l utk check senarai partition ko.

Ko mungkin kena buat mount point utk partition tersebut. Utk contoh kat atas:

mkdir /mnt/hda1

Kalo ko nak guna mount point dgn nama windows

mkdir /mnt/windows

dan fstab:

/dev/hda1 /mnt/windows ntfs noauto,users,exec,ro,umask=000 0 0

biggrin.gifbiggrin.gif

Share this post


Link to post
Share on other sites

Terima kasih oshiri lepas kau download dan install kendian aku taip

#mount -t ntfs /dev/hda5 /mnt/windows

aku dah boleh mount benda tu..kenapa pulak yer? tak perlu edit dekat fstab tu? Kemudian aku edit mcm yg oshiri cakap

dev/hda5 /mnt/windows ntfs noauto,users,exec,ro,umask=000 0 0

oshiri

boleh tak explain sket apa maksudnya noauto,users,exec,ro,umask=000 0 0 tu? kenapa kita kena edit kita punya fstab tu?

Terima kasih

Share this post


Link to post
Share on other sites

#mount -t ntfs /dev/hda5 /mnt/windows

aku dah boleh mount benda tu..kenapa pulak yer?

Ko check betul-betul dalam /etc/fstab, mungkin dah ada mount point tu... nanti ada double plak.

noauto = manual mount; kalo ko tukar ke auto, diakan automount partition tu masa boot. Utk secure biasanya kita guna noauto.

users = user = supaya user boleh mount. Kalo guna nouser, hanya root boleh mount. Aku guna users utk bagi previledge pada semua user.

exec = benarkan user execute file binary dalam partition tersebut

ro = mount filesystem sebagai read only. Lawannya rw.

umask=000 = disable kan linux file security

0 0 = 0 pertama, check filesystem digunakan oleh dump (backup). Dgn letakkan 0, dump akan abaikan filesystem tersebut. 0 kedua, kita abaikan fsck daripada periksa patition tersebut.

biggrin.gif

Share this post


Link to post
Share on other sites

# This file is edited by fstab-sync - see 'man fstab-sync' for details

LABEL=/                    /                          ext3      defaults                1 1

LABEL=/boot            /boot                  ext3      defaults                1 2

none                          /dev/pts              devpts  gid=5,mode=620  0 0

none                          /dev/shm            tmpfs    defaults                0 0

LABEL=/home          /home                ext3      defaults                1 2

none                          /proc                  proc      defaults                0 0

none                          /sys                  sysfs      defaults                0 0

LABEL=SWAP-hda8 swap                  swap      defaults                0 0

/dev/hda5/mnt/windows ntfs no auto,users,exec,ro,umask=000 0 0

/dev/hdc                /media/cdrecorder      auto    pamconsole,fscontext=sys

tem_u:object_r:removable_t,ro,exec,noauto,managed 0 0

/dev/fd0                /media/floppy          auto    pamconsole,fscontext=sys

tem_u:object_r:removable_t,exec,noauto,managed 0 0

oshiri

Terima kasih banyak ..ni yg ada dalam fstab aku tu, rasanya takda duplicate kan? kiranya kalau aku nak mountkan usb punya external hard drive pon aku kena edit dekat fstab ni jugak kan?

Share this post


Link to post
Share on other sites

budakcrap

Link ni simple dan mudah nak paham: http://www.tuxfiles.org/linuxhelp/fstab.html

KulatMalat

Mungkin line tu dah ada dalam mtab. Bila kita guna command "mount" dia akan baca file fstab atau mtab. Ko boleh masukkan line utk usb ko dalam fstab.

Aku tak guna fedora...jadi aku kurang arif sikit.

Dalam system aku (Debian), usb di "handle" oleh hot-plug. Jadi aku tak perlukan lain tu dalam fstab.

Lagi pun aku combine hotplug dengan script lain untuk detect usb dan automatically buat icon utk device usb tu.

Selamat me-linux

biggrin.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...