在Debian下,把下面这命令加入到你的/etc/fstab中,系统就会在启动时自动挂载windows分区了。我现在贴上的配置是locales为GBK时的配置,如果你的locales为UTF-8,请把其中的cp936改成utf8。虽然很喜欢UTF-8可是为了方便,我也要改成GBK了,谁让我生在中国呢。[code]# /etc/fstab: static file system information.
#
#
# If your locales is UTF-8 ,you should replace 'cp936' with 'utf8'.
proc /proc proc defaults 0 0
/dev/sda9 / ext3 defaults,errors=remount-ro 0 1
/dev/sda10 /home ext3 defaults 0 2
/dev/sda8 none swap sw 0 0
/dev/sda1 /media/win_c ntfs auto,user,nls=cp936,umask=0 0 0
/dev/sda5 /media/win_d ntfs auto,user,nls=cp936,umask=0 0 0
/dev/sda6 /media/win_e ntfs auto,user,nls=cp936,umask=0 0 0
#mount fat32 file system disk.
#If locales is UTF-8
#/dev/sda7 /media/win_f vfat auto,user,utf8,umask=0 0 0
# if locales if GBK.
/dev/sda7 /media/win_f vfat auto,user,codepage=936,iocharset=cp936,umask=0 0 0[/code]