分类: LINUX
2010-04-15 15:43:29
呵呵,linux默认核心是不支持NTFS文件系统的.很遗憾噢,我们可以通过编译内核加载NTFS支持或者安装插件搞定,对于我这个大菜鸟来说编译内似乎苛刻了 点,呵呵~~~那我们选安装插件吧 .在网上搜索N次后终于找到了插件.嘿嘿~~~~~哥几个有的玩了.嘿嘿~
下载相应版本即可~~~
安装过程很快,大概几秒就好了.^_^好了.那我们可以加载分区了
呵呵,那我们得先了解分区情况,来确定我们该加载哪个.呵呵~~命令效果如下
================================================
[root@localhost ~]# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1913 15366141 7 HPFS/NTFS
/dev/hda2 1914 19457 140922180 f W95 Ext'd (LBA)
/dev/hda5 1914 2884 7799526 7 HPFS/NTFS
/dev/hda6 2885 2897 104391 83 Linux
/dev/hda7 2898 11553 69529288+ 83 Linux
/dev/hda8 11554 14103 20482843+ 83 Linux
/dev/hda9 14104 16015 15358108+ 83 Linux
/dev/hda10 16016 17927 15358108+ 83 Linux
/dev/hda11 17928 19202 10241406 83 Linux
/dev/hda12 19203 19457 2048256 82 Linux swap / Solaris
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2081 16715601 c W95 FAT32 (LBA)
/dev/sda2 2082 9729 61432560 f W95 Ext'd (LBA)
/dev/sda5 2082 9729 61432528+ 7 HPFS/NTFS
--------------------------------------------------------------------------------------------------------------------------------
LABEL=/ / ext3 defaults 1 1
LABEL=/var /var ext3 defaults 1 2
LABEL=/opt /opt ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/home1 /home ext3 defaults 1 2
LABEL=/boot1 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-hda12 swap swap defaults 0 0
/dev/hda1 /mnt/winc ntfs utf8,umask=0222 0 0
/dev/hda5 /mnt/wine ntfs utf8,umask=0222 0 0
/dev/sda1 /mnt/wind vfat utf8,umask=0000 0 0
/dev/sda5 /mnt/winf ntfs utf8,umask=0222 0 0
/dev/hdd /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
/dev/hdc /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
-------------------------------------------------------------------------------------------------------------------------------
.修改好了以后 我们保存.
然后用
mkdir /mnt/winc
mkdir /mnt/wind
mkdir /mnt/wine
mkdir /mnt/winf
在/mnt下建立 winc.....winf目录.用来访问
然后回到终端,然后mount -a一下,如果没有任何提示,说明OK了.
然后我们就能访问NTFS分区了!