LinuxÄں˴íÎó ÐÞ¸´
»·¾³½éÉÜ£ºCentos5.2+2.6.18-8.el5Äںˣ¬±àÒëÆ÷ÊÇGCC4.1.2¡£
Òª±àÒëµÄÄÚºË2.6.18-8.el3
½ö½öÐÞ¸ÄÁ˲¿·ÖÄں˵ÄÅäÖÃÐÅÏ¢£¬Ã»ÓдóµÄ±ä»¯¡£
È»ºó£ºmake ;make modules;make modules_install;
±àÒëûÓгöÎÊÌ⣬Éú³ÉÁËÄںˣ¬mkinitrdÉú³ÉÁËinitrd£¬¼Óµ½lilo.confÖУ¬ÖØÆôÑ¡ÔñÐÂÄںˣ¬³öÏÖÒ»ÏÂÎÊÌ⣺
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
Scanning and configuring dmraid supported devices
Trying to resume from LABEL=SWAP-hdc4
No suspend signature on swap, not resuming.
Creating root device.
Mounting root filesystem.
mount: could notKernel panic - not syncing: Attempted to kill init!
find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Á½ÕßÇø±ð¾ÍÊDZàÒëÆ÷°æ±¾Ò»¸öÊÇgcc3.4£¬Ò»¸öÊÇgcc4.1£¬ºóÕß±àÒëͨ¹ý£¬µ«ÊDz»ÄÜÒýµ¼ÏµÍ³¡£
½â¾ö·½·¨£º
Here's the fix
After almost giving up on Fedora 5, I finally got the fix to this problem.
The
suspend signature on swap error, "Trying to resume from
LABEL=SWAP-hdd3. No suspend signature on swap, not resuming", can be
ignored. It gives this error because when the volumes are activated
(look at the output previous to this error), it resumes the swap
partition in that step. Therefore, it's trying to resume something that
isn't suspended.
The error that causes all the trouble is
"mount: could not find filesystem '/dev/root'". Appartently, in the
init script within initrd-2.6.15-1.2054_FC5.img, the command 'mount
/sysroot' is trying to mount /dev/root to /sysroot. Fedora 5 does not
use /dev/root like in the previous versions of Fedora. Instead, it uses
'/dev/VolGroup00/LogVol00' or '/dev/hda1' (or wh
Ïà¹ØÎĵµ£º
µ¼¶Á£ºÓÖÊÇM. Tim Jones µÄÎÄÕ£¬ËûÔÚ×Î×β»¾ëµØ¹Ø×¢×ÅÄÚºËÖÐÿһÏîеļ¼Êõ£¬²¢ÒÔ´ó¼ÒÒ×ÓÚÀí½âµÄ·½Ê½³ÊÏÖÔÚ¶ÁÕßÃæÇ°¡£
Linux Äں˵ķ¢Õ¹
½éÉÜ 2.6.28 ºÍ 2.6.29 °æ±¾ÖеÄÐÂÌØÐÔ
¼¶±ð£º Öм¶
M. Tim Jones, ¹ËÎʹ¤³Ìʦ, Emulex
Corp.
ÉúÃüµÄ±ØÈ»²»½ö°üÀ¨ËÀÍöºÍÄÉË°£¬»¹°üÀ¨ GNU/Linux® ²Ù×÷ϵͳµÄ·¢Õ¹£¬×îÐ ......
linuxÃüÁîÊÇÔÚbash»·¾³ÏÂÔËÐУ¬×î³£ÓõÄShellºÍÃüÁîÏÂÃæ×öÏÂ×ܽá
1.ls ÏÔʾµ±Ç°Ä¿Â¼ÏµÄÎļþºÍĿ¼
ͨ³£´îÅä²ÎÊýL £¬ÍêÕûÏÔʾÎļþºÍĿ¼£¬È¨ÏÞ£¬Ê±¼ä¡¢¹éÊô
´îÅäA£¬ÏÔʾ “.” µÄĿ¼ºÍÎļþ
2. cat ²é¿´ÎļþÄÚÈÝ
ͨ³£´îÅäÖض¨Ïò·ûºÅ> £¬> ÊÇ°ÑÒ»¸öÎļþµÄÄÚÈݼÓÔص½ÁíÍâÒ»¸öÎļþÄÚÈÝÀïÈ¥ Àý£º cat 1.tx ......
DB2 °²×°Íê³Éºó×¼±¸Æô¶¯Ê±£¬ÏµÍ³±¨´í£¬ÏêϸÐÅÏ¢ÈçÏÂ
[db2inst1@localhost ~]$ db2start
db2start: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Ö´ÐÐÏÂÃæ¼ì²éÃüÁî
[db2inst1@localhost lib]$ cd /usr/lib
[db2inst1@localhost lib]$ ls -la libaio ......
1¡¢LinuxÀï²é¿´ËùÓÐÓû§
¡¡¡¡linuxÀï,²¢Ã»ÓÐÏñwindowsµÄnet user,net localgroupÕâЩ·½±ãµÄÃüÁîÀ´ÖÎÀíÓû§.
¡¡¡¡Xwindows½çÃæµÄ¾Í²»ËµÁË.
¡¡¡¡£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
¡¡¡¡£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
¡¡¡¡»òÕßÓÃcat /etc/passwd |cut -f ......
ÐéÄ⻯¼¼ÊõµÄ·½·¨, ¼Ü¹¹ºÍʵÏÖ¸ÅÀÀ
¼¶±ð: Öм¶
M. Tim Jones [mtj@mtjones.com], ¹ËÎʹ¤³Ìʦ, Emulex
ÔÎÄ: Virtual Linux
Òë: ÕÔçæ cn.zhaoke.com
http://blog.zhaoke.com/45.html
2006Äê12ÔÂ29ÈÕ
ÐéÄ⻯¼¼ÊõµÄÓ¦ÓÃÊ®·Ö¹ã·º. µ±Ç°ÐéÄ⻯¼¼ÊõÖ÷Òª¹Ø×¢ÓÚ·þÎñÆ÷µÄÐéÄ⻯, »òÔÚµ¥¸öÖ÷»úÉϼĴæ¶à¸ö¶ÀÁ¢µÄ²Ù×÷ϵͳ. ±¾Î ......