首先看看自己有啥分区
matthew@matthew:/etc$ df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda8 273G 61G 199G 24% /
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 1.6G 40M 1.6G 3% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 21M 3.9G 1% /run/shm
/dev/sda6 278G 29G 249G 11% /media/matt
/dev/sda5 279G 111G 168G 40% /media/matt1
/dev/sdb 1.9T 1.3T 439G 76% /media/matt2
然后到etc/目录下matthew@matthew:/etc$ gedit fstab
然后在文件的最后加
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda8 during installation
UUID=13172784-ffa1-40f7-9e6d-2df226962742 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda7 during installation
UUID=fee86ba4-3e51-49be-b0ab-c3e123d22e45 none swap sw 0 0
/dev/sda6 /media/matt auto rw 0 0
/dev/sda5 /media/matt1 ntfs-3g auto rw 0 0
/dev/sdb /media/matt2 auto rw 0 0 //这就算增加的东西