1. View the individual partitions that have been mounted:
2, record the corresponding relationship:
/dev/sda6 ->/media/chris/Document
/dev/sda7 ->/media/chris/BackupAndOthers
/dev/sda5 ->/media/chris/Software
3. Unmount each of the above volumes:
# 卸载前,需要确保没有上述卷中的某个文件打开,否则会出现卸载失败的问题
sudo umount /dev/sda6 /dev/sda7 /dev/sda5
4. Create several corresponding directories under the media/[user]/directory:
sudo mkdir Document
sudo mkdir Software
sudo mkdir BackupAndOthers
5. Open the/etc/fstab file:
6. Fill in the contents as follows:
# The Document partition
/dev/sda6 /media/chris/Document ntfs defauts 12
/dev/sda7 /media/chris/BackupAndOthers ntfs defauts 12
/dev/sda5 /media/chris/Software ntfs defauts 12
7, finally, the use of the command to test whether the normal mount, if there is an error, please modify, to prevent the system can not enter the boot:
sudo umount -a
From for notes (Wiz)
Ubuntu Auto Mount Partition