今天发现我的Ubuntu 8.04无法在启动时自动挂载硬盘其他windows分区,需要手工打开一下“位置”里的分区。后来google了一下,修改了/etc/fstab文件就搞定了。^_^
把我自己的fstab文件贴出来先,以后还有问题都可以找的到。
修改之后需要在挂载路径上建立相应的目录,我的是在/media目录下。然后 sudo mount -a进行挂载,无返回错误就ok了。
把我自己的fstab文件贴出来先,以后还有问题都可以找的到。
#
/etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc / proc proc defaults 0 0
# Entry for /dev/sda9 :
UUID = 24a0fcba - b89c - 4890 - b38e - eb6eab59ace1 / ext3 relatime , errors = remount - ro 0 1
# Entry for /dev/sda10 :
UUID = 50d1cc60 - e22d - 41fd - 8567 - 972d98a0cbe6 none swap sw 0 0
/ dev / scd0 / media / cdrom0 udf , iso9660 user , noauto , exec , utf8 0 0
# Entry for /dev/sda1 (C):
UUID = BCEC3B14EC3AC882 / media / C_WinXp ntfs - 3g defaults , locale = zh_CN . UTF - 8 0 0 force
# Entry for /dev/sda5 (D):
UUID = 11CA627464FC5191 / media / D_TOOLS ntfs - 3g rw , auto , user , sync , exec , locale = zh_CN . UTF - 8 0 0 force
# Entry for /dev/sda6 (E):
UUID = 6DAF - C3E9 / media / E_WORK vfat rw , auto , user , sync , exec ,utf8,umask=000 0 0 force
# Entry for /dev/sda7 (F):
UUID = 709B - EF5F / media / F_OTHERS_GAMES vfat rw , auto , user , sync , exec ,utf8,umask=000 0 0 force
# Entry for /dev/sda8 (G):
UUID = 86EF - BBF6 / media / G_STANDBY vfat rw , auto , user , sync , exec, utf8,umask=000 0 0 force
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc / proc proc defaults 0 0
# Entry for /dev/sda9 :
UUID = 24a0fcba - b89c - 4890 - b38e - eb6eab59ace1 / ext3 relatime , errors = remount - ro 0 1
# Entry for /dev/sda10 :
UUID = 50d1cc60 - e22d - 41fd - 8567 - 972d98a0cbe6 none swap sw 0 0
/ dev / scd0 / media / cdrom0 udf , iso9660 user , noauto , exec , utf8 0 0
# Entry for /dev/sda1 (C):
UUID = BCEC3B14EC3AC882 / media / C_WinXp ntfs - 3g defaults , locale = zh_CN . UTF - 8 0 0 force
# Entry for /dev/sda5 (D):
UUID = 11CA627464FC5191 / media / D_TOOLS ntfs - 3g rw , auto , user , sync , exec , locale = zh_CN . UTF - 8 0 0 force
# Entry for /dev/sda6 (E):
UUID = 6DAF - C3E9 / media / E_WORK vfat rw , auto , user , sync , exec ,utf8,umask=000 0 0 force
# Entry for /dev/sda7 (F):
UUID = 709B - EF5F / media / F_OTHERS_GAMES vfat rw , auto , user , sync , exec ,utf8,umask=000 0 0 force
# Entry for /dev/sda8 (G):
UUID = 86EF - BBF6 / media / G_STANDBY vfat rw , auto , user , sync , exec, utf8,umask=000 0 0 force
修改之后需要在挂载路径上建立相应的目录,我的是在/media目录下。然后 sudo mount -a进行挂载,无返回错误就ok了。