NTFS in Fedora core6

来源:互联网 发布:文字表情制作软件 编辑:程序博客网 时间:2024/05/19 09:16
要在Fedora6下挂载一个200G的硬盘。但上面却有NFTS格式和fat 格式的file system.
我不想用魔法师转换。太麻烦了。所以就在网上找了几篇文章参考。照着设置一下。能用了,不过因为内核低。所以出现了警告warning,并且还帮自己的网站卖了一下广告。
 WARNING: Deficient Linux kernel detected. Some driver features are
         not available (swap file on NTFS, boot from NTFS by LILO), and
         unmount is not safe unless it's made sure the ntfs-3g process
         naturally terminates after calling 'umount'. If you wish this
         message to disappear then you should upgrade to at least kernel
         version 2.6.20,
or request help from your distribution to fix
         the kernel problem. The below web page has more information:
         http://ntfs-3g.org/support.html#fuse26

以下是步骤说明:
First: installing
yum -y install yum install fuse fuse-libs ntfs-3g ntfsprogs ntfsprogs-gnomevfs
全自动傻瓜式安装(只要能上网)
也可以到网上下载再安装--如果你的yum坏了的话。
从Fedora Extras下载fuse,fuse-libs和ntfs-3g(ntfsprogs和ntfsprogs-gnomevfs可选)
安装:rpm -ivh fuse* ntfs*
Second: setting
In the /etc/udev/rules.d/50-udev.rules replace this line:
      SUBSYSTEM=="block",             GROUP="disk", MODE="0640"

      with the following line:

      SUBSYSTEM=="block",             GROUP="disk", MODE="0660"

Add the user to the disk and fuse group:

      usermod -g disk,fuse username(e.g root)

    Change permissions of the directory where you want to mount the NTFS partition
    chmod 777 /mnt/hdd
    Add this line to /etc/fstab:
    /dev/hdd1 /mnt/hdd ntfs-3g
                        dmask=022,fmask=133,noauto,locale=hu_HU.UTF-8,user 0 0
    If you want to allow other users to access the mounted NTFS partitions, not only the user who mounted it, run this command:
    echo user_allow_other >> /etc/fuse.conf
    rm -f /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi
do this before u make a backup
---cp /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi
     /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi.bak

还有其它的方法,不过太烦了。我就不试了。最后记得upgrade your kernel