LinuxÒÁµéÔ°ÂÛ̳'s Archiver

ccwang ·¢±íÓÚ 2005-3-27 18:54

ÎÒµÄLINUX·þÎñÆ÷Ò»´ÎÒâÍâ¶Ïµçºó£¬¿ª»ú¾Í³öÏÖÒÔÏ´íÎó£º

[size=2]<TABLE cellSpacing=0 cellPadding=0 width="95%" border=0><TBODY><TR><TD width="100%">LINUX·þÎñÆ÷Ò»´ÎÒâÍâ¶Ïµçºó£¬¿ª»ú¾Í³öÏÖÒÔÏ´íÎó£º </TD><TD vAlign=top noWrap align=right>[url="http://bbs.chinaunix.net/forum/tuijian.php?pid=3435470&fid=4"][img]http://bbs.chinaunix.net/forum/images/tuijian.gif[/img][/url] [url="http://bbs.chinaunix.net/forum/jubao.php?pid=3435470&fid=4"][img]http://bbs.chinaunix.net/forum/images/jubao.gif[/img][/url] [url="http://bbs.chinaunix.net/forum/posting.php?show_type=&mode=quote&p=3435470"][img]http://bbs.chinaunix.net/forum/templates/subSilver/images/lang_chinese_simplified/icon_quote.gif[/img][/url] [url="http://bbs.chinaunix.net/forum/posting.php?show_type=&mode=editpost&topictype=0&p=3435470"][img]http://bbs.chinaunix.net/forum/templates/subSilver/images/lang_chinese_simplified/icon_edit.gif[/img][/url] </TD></TR><TR><TD colSpan=2><HR></TD></TR><TR><TD colSpan=2>[size=2]ÎÒµÄLINUX·þÎñÆ÷Ò»´ÎÒâÍâ¶Ïµçºó£¬¿ª»ú¾Í³öÏÖÒÔÏ´íÎó£º

======================================
grep: /proc/mounts : No such file or directory

Configuring kernel parameters: Error: /proc must be mounted

To mount /proc at boot you need an /etc/fstab line like :

/proc        /proc        proc        defaults
======================================

²»ÖªµÀÊǺÎÔ­Òò£¿Ó¦¸ÃÈçºÎ´¦Àí£¿Ð»Ð»¸÷λ¸ßÊÖÖ¸µã¡£
ÎÒµÄϵͳÀïÓÐ×Ô´øGRUB¡£[/size]
</TD></TR></TBODY></TABLE>[/size]

chenphoenix ·¢±íÓÚ 2005-3-27 23:27

¿ÉÄÜÊǶϵçµÄʱºò/procÖеÄÊý¾Ý²¢Ã»±»±£´æ

chenphoenix ·¢±íÓÚ 2005-3-27 23:29

½¨ÒéÔÚ/etc/fstabÖмÓÉÏÒ»ÐÐ
/proc /proc proc defaults 0 0

blackspace ·¢±íÓÚ 2005-3-28 08:21

[QUOTE]¿ÉÄÜÊǶϵçµÄʱºò/procÖеÄÊý¾Ý²¢Ã»±»±£´æ[/QUOTE]

/proc ÖеÄÊý¾ÝÐèÒª±»±£´æÂð£¿

chenphoenix ·¢±íÓÚ 2005-3-28 19:28

/proc ¶ÔÓ¦µÄÄÚ´æÖеĽø³ÌºÍһЩÊý¾Ý¡£
ÔڹػúÒÔǰӦ¸ÃÊÇÒª±£´æ»òÇå¿ÕµÄ°É£¿£¨¸öÈËÈÏΪ£¬Èç¹û²»¶Ô»¹Çë¸÷λ´óϺ¶à¶àÖ¸½Ì£©
»¹ÓУ¬ÔÚ/etc/fstabÖмӵÄÓ¦¸ÃÊÇ
none   /proc   proc   defaults 0 0

blackspace ·¢±íÓÚ 2005-3-28 22:08

[QUOTE]/proc ¶ÔÓ¦µÄÄÚ´æÖеĽø³ÌºÍһЩÊý¾Ý¡£
ÔڹػúÒÔǰӦ¸ÃÊÇÒª±£´æ»òÇå¿ÕµÄ°É£¿£¨¸öÈËÈÏΪ£¬Èç¹û²»¶Ô»¹Çë¸÷λ´óϺ¶à¶àÖ¸½Ì£©[/QUOTE]

¾ø¶Ô ²» »á ±£´æ µÄ ¡£/procÊÇ ÄÚºË µÄ Ò»¸ö´°¿Ú¡£Ìṩ ÄÚºË µÄ ÔËÐÐʱµÄÐÅÏ¢ºÍÉèÖà Äںˡ£

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda5               /               reiserfs        defaults                1 1
/dev/hda10              /boot           ext2            defaults                1 1
/dev/hda1               /var            reiserfs        defaults                1 1
/dev/hda13              swap            swap            defaults                0 0
/dev/hda8               /usr            reiserfs        defaults                1 1
/dev/hda12              /usr/share      reiserfs        defaults                1 1
/dev/hda14              /usr/portage    reiserfs        defaults                1 1
/dev/hda7               /opt            reiserfs        defaults                1 1
/dev/hda9               /mnt/myshare    reiserfs        defaults                1 1
/dev/hda6               /mnt/sysbak     reiserfs        defaults                1 1
/dev/hda11              /home           reiserfs        defaults                1 1
none                    /proc           proc            defaults                1 1

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
"fstab" [Read only] 32 lines, 1402 characters

chenphoenix ·¢±íÓÚ 2005-3-29 22:58

µ«ÊǽñÌì¿´ÁËÄÚºËÔ­´úÂë·ÖÎö£¬/procÖеÄÎļþ¶ÔÓ¦µÄµ±Ç°ÏµÍ³ÖеĽø³ÌºÍÄÚ´æµÄ¶«Î÷¡£
ÔÚ½áÊø³ÌÐò»òÊǹػúǰ¶¼Òª½øÐÐɾ³ý»òÊÇÆäËûһЩ´¦Àí¡£

Ò³: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.