installed windows and CentOS dual system, found in CentOS can not enter the disk in Windows, not to mention the files on the disk!
By default, CentOS does not support widows NTFS hard disk partition read-write, to attach NTFS-formatted disk to CentOS need to install third-party software ntfs-3g. So how to implement mount and boot automatically mount it?
First, download the NTFS-3G source package for compilation and installation
: http://down1.chinaunix.net/distfiles/ntfs-3g-1.2918.tgz
1. Install the Compilation tool
Yum Install Gcc-y
2. Decompression and installation
3./configure after successful execution, execute make;
Second, view the partition information in Windows
Third, Mount the hard disk partition in Windows
/DEV/SDA1 partitions mounted to/mnt/winc
/DEV/SDA5 partitions mounted to/mnt/wind
/DEV/SDA6 partitions mounted to/mnt/wine
/DEV/SDA7 partitions mounted to/mnt/winf
Enter the/mnt directory, create a new winc wind WinE winf four mount directory, and mount The corresponding partition to the directory.
Four, realize the boot automatically mount, edit the/etc/fstab file.
[[email protected] mnt]# Cp/etc/fstab/etc/fstabbak//backup before modifying
[[email protected] mnt]# Vim/etc/fstab//Edit
Change to the above content and exit save! It is now possible to automatically mount the boot!