|
我的系统是rh 9.0,硬盘hda1是c盘,hda5、6、7是d、e、f盘,我按照论坛上说的方法修改了fstab和auto.misc之后开机就不能mount swap分区(hda10)了。我的修改有错吗?我该怎么办?附上我的fstab和auto.misc内容
fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda10 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda1 /mnt/winc vfat defaults,codepage=936,iocharset=cp936 0 0
/dev/hda5 /mnt/wind vfat defaults,codepage=936,iocharset=cp936 0 0
/dev/hdb6 /mnt/wine vfat defaults,codepage=936,iocharset=cp936 0 0
/dev/hda7 /mnt/winf vfat defaults,codepage=936,iocharset=cp936 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
auto.misc
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
c -fstype=auto -iocharset=cp936 :/dev/hda1
d -fstype=auto -iocharset=cp936 :/dev/hda5
e -fstype=auto -iocharset=cp936 :/dev/hda6
f -fstype=auto -iocharset=cp936 :/dev/hda7 |
|