关闭

Ubuntu 13.10 开机自动挂载 NTFS分区

853人阅读 评论(0) 收藏 举报

1.获得分区UUID

jiawen@acer:~$ sudo blkid
[sudo] password for jiawen: 
/dev/sda1: UUID="B89A134F9A130990" TYPE="ntfs" 
/dev/sda5: UUID="10B40C93B40C7D8A" TYPE="ntfs" 
/dev/sda6: UUID="CED88325D8830B43" TYPE="ntfs" 
/dev/sda7: UUID="0007E3FD0000847F" TYPE="ntfs" 
/dev/sda8: UUID="8753973d-77df-4d25-98bc-d93318b7d857" TYPE="ext4" 
/dev/sda9: UUID="fe65dec9-c87b-4afc-8458-15f1ada7dd7d" TYPE="swap" 

2.修改/etc/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>
# / was on /dev/sda8 during installation
UUID=8753973d-77df-4d25-98bc-d93318b7d857 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda9 during installation
UUID=fe65dec9-c87b-4afc-8458-15f1ada7dd7d none            swap    sw              0       0
# /dev/sda6 auto mount on boot
UUID=CED88325D8830B43 /media/jiawen/E ntfs-3g defaults,locale=zh_CN.UTF-8 0 0
# /dev/sda7 auto mount on boot
UUID=0007E3FD0000847F /media/jiawen/F ntfs-3g defaults,locale=zh_CN.UTF-8 0 0
/etc/fstab (END)
read more:http://www.tuxera.com/community/ntfs-3g-download/


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:63610次
    • 积分:900
    • 等级:
    • 排名:千里之外
    • 原创:26篇
    • 转载:15篇
    • 译文:1篇
    • 评论:1条