文本框:
 
 
1. let centos support Chinese input method
yum groupinstall chinese-support
 
vi /etc/sysconfig/i18n
LANG=”zh_CN.UTF-8
2.Mount windows partitions
 
mount -t ntfs /dev/hda1 /mnt/C -o iocharset=utf8
       unknown filesystem type ‘ntfs’ ,
         1.到http://www.tuxera.com/community/ntfs-3g-download/地址,下载ntfs-3g
         2.拷贝到Linux中,然后进入该目录,使用tar -zxvf  ntfs-3g-xx.tgz 解压
         3.cd ntfs-3g-xx
4.配置源文件 ./configure 
         configure: error: no acceptable C compiler found in $PATH 
[root@localhost ~]# yum install gcc
        5.编译并安装 make
make install
    B.查看disk,确定要挂载的windows分区在linux下的表示
    经过上面几步,已经安装好了ntfs-3g了,接着只要输入,
[root@localhost lord]# fdisk -l
bash: fdisk: command not found
[root@localhost /]# whereis fdisk
fdisk: /sbin/fdisk /usr/share/man/man8/fdisk.8.gz
[root@localhost /]# ln -s /sbin/fdisk /usr/bin
[root@localhost /]# find /usr/bin | grep "fdisk"
/usr/bin/fdisk
[root@localhost /]# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
 
/dev/sda2              13        4905    39293952    7  HPFS/NTFS
 
/dev/sda3            4905       12554    61436928    7  HPFS/NTFS
 
/dev/sda4           12554       30402   143361024    f  W95 Ext'd (LBA)
 
/dev/sda5           17055       20203    25288704    7  HPFS/NTFS
 
/dev/sda6           20203       30402    81918976    7  HPFS/NTFS
 
/dev/sda7           12555       12573      152586   83  Linux
 
/dev/sda8           12574       13338     6144831   83  Linux
 
/dev/sda9           13339       13465     1020096   83  Linux
 
/dev/sda10          13466       13592     1020096   83  Linux
 
/dev/sda11          13593       14102     4096543+  82  Linux swap / Solaris
 
Partition table entries are not in disk order
 
Disk /dev/sdb: 4013 MB, 4013948928 bytes
 
255 heads, 63 sectors/track, 488 cylinders
 
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System
 
/dev/sdb1   *           1         489     3919840+   c  W95 FAT32 (LBA)
 
Partition 1 has different physical/logical endings:
 
     phys=(487, 254, 63) logical=(488, 0, 24)

 
C.修改fstab 文件,实现挂载

 

[root@localhost /]# vi /etc/fstab
   /dev/sda3     /mnt/win7   ntfs-3g        defaults 0 0
     …………
[root@localhost /]# mount -t ntfs-3g /dev/sda2 /mnt/downloadf -o iocharset=utf8
[root@localhost /]# mount -t ntfs-3g /dev/sda3 /mnt/win7c -o iocharset=utf8
[root@localhost /]# mount -t ntfs-3g /dev/sda5 /mnt/vmwared -o iocharset=utf8
[root@localhost /]# mount -t ntfs-3g /dev/sda6 /mnt/alldatae -o iocharset=utf8