老大们~~~~~~~~~~~~~~~~~~~~~~~这个fstab文件该怎么修改才是对的.

重复贴和参考价值不大的帖子,版主维护
回复
woooo
帖子: 83
注册时间: 2007-08-11 16:37
来自: HUBEI WUHAN
送出感谢: 0
接收感谢: 0
联系:

老大们~~~~~~~~~~~~~~~~~~~~~~~这个fstab文件该怎么修改才是对的.

#1

帖子 woooo » 2008-02-27 10:07

系统的WIN分区有个挂载不出来,请大家看看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
/dev/sda7 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/sda3 / ext3 defaults,errors=remount-ro 0 1
/dev/sda1 /media/sda1 ntfs-3g defaults,locale=zh_CN.UTF-8 0 1
/dev/sda11 /media/sda11 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/sda6 /media/sda6 ntfs-3g defaults,locale=zh_CN.UTF-8 0 1
/dev/sda5 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/sda8 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

用fdisk -l命令查看分区
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xde53de53

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 17133 118085782+ f W95 Ext'd (LBA)
/dev/sda3 17134 19457 18667530 83 Linux
/dev/sda5 2433 7296 39070048+ b W95 FAT32
/dev/sda6 7297 13375 48829536 7 HPFS/NTFS
/dev/sda7 13376 17026 29326626 b W95 FAT32
/dev/sda8 17027 17133 859446 82 Linux swap / Solaris


用ls -l /dev/disk/by-uuid 命令查看UUID
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 3E8C96F88C96AA43 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 71BF-7C47 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 7B10-9273 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 91ea9078-c9f2-43b3-88c7-7e10c43ae267 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 C2DC2C81DC2C71B9 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 d3b898e0-b47d-4f24-8e0a-ee2d66382bc9 -> ../../sda3
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
送出感谢: 0
接收感谢: 2 次
联系:

Re: 老大们~~~~~~~~~~~~~~~~~~~~~~~这个fstab文件该怎么修改才是对的.

#2

帖子 dbzhang800 » 2008-02-27 15:42

woooo 写了:系统的WIN分区有个挂载不出来,请大家看看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
/dev/sda7 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/sda3 / ext3 defaults,errors=remount-ro 0 1
/dev/sda1 /media/sda1 ntfs-3g defaults,locale=zh_CN.UTF-8 0 1
/dev/sda11 /media/sda11 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/sda6 /media/sda6 ntfs-3g defaults,locale=zh_CN.UTF-8 0 1
/dev/sda5 /media/sda5 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/sda8 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

用fdisk -l命令查看分区
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xde53de53

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 17133 118085782+ f W95 Ext'd (LBA)
/dev/sda3 17134 19457 18667530 83 Linux
/dev/sda5 2433 7296 39070048+ b W95 FAT32
/dev/sda6 7297 13375 48829536 7 HPFS/NTFS
/dev/sda7 13376 17026 29326626 b W95 FAT32
/dev/sda8 17027 17133 859446 82 Linux swap / Solaris


用ls -l /dev/disk/by-uuid 命令查看UUID
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 3E8C96F88C96AA43 -> ../../sda1
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 71BF-7C47 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 7B10-9273 -> ../../sda7
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 91ea9078-c9f2-43b3-88c7-7e10c43ae267 -> ../../sda8
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 C2DC2C81DC2C71B9 -> ../../sda6
lrwxrwxrwx 1 root root 10 2008-02-27 18:02 d3b898e0-b47d-4f24-8e0a-ee2d66382bc9 -> ../../sda3
头像
syrano
帖子: 4313
注册时间: 2007-10-06 18:40
送出感谢: 0
接收感谢: 5 次

#3

帖子 syrano » 2008-02-27 21:07

重启一下win,
有可能windows非正常关机了.
tg8866
帖子: 471
注册时间: 2008-02-01 7:16
送出感谢: 0
接收感谢: 0

#4

帖子 tg8866 » 2008-02-27 23:13

命令应该没错了。

进win看一下。
头像
u194252
帖子: 402
注册时间: 2007-08-04 11:06
送出感谢: 0
接收感谢: 0

#5

帖子 u194252 » 2008-02-28 9:55

貌似是sda11这个分区没有挂载?
图片
回复

回到 “归档贴”