1 install gcc and gcc-c ++ 2 install NTFS-3G plug-in 3cp/etc/fstab // etc/fstab. bakvim/etc/fstab adds these two sentences at the end of the file and then OK, save and restart. /Dev/sda6/media/e
1. install gcc and gcc-c ++
2 install NTFS-3G plug-in
3
Cp/etc/fstab. bak
Vim/etc/fstab
Add these two statements at the end of the file. save and restart.
/Dev/sda6/media/e NTFS-3G defaults 0 0
/Dev/sda7/media/f NTFS-3G defaults 0 0
Note:
Sda6 and sda7 are the 2nd and 3rd logical partitions under my win7 respectively. E and f are folders created in the/media directory.
Disk number judgment:
Method 1: The system has four primary partitions. The four numbers 1, 2, 3, and 4 can only be allocated to the primary partition. Therefore, the 1st disks in the logical partition are sd5.
For example,/sda/dev1/sda/dev5 indicates that the system has a primary partition and a logical partition.
Method 2: mount-t NTFS-3G/dev/sda5/media/e try hanging