ÎÒÊDzËÄñ£¬¾³£×ÔÒÔΪÊÇ£¬ËùÒÔдµÄ²»¶ÔµÄµØ·½Çë¸ßÊÖÖ¸µã
½ñÌìÊÇÖÜÄ©£¬ÐÄÇé±È½ÏºÃ£¬ËùÒÔ¾ö¶¨Ñо¿linuxµÄÄں˱àÒ룬֮ËùÒÔÏëÒªÄں˱àÒ룬һ·½ÃæÊÇÏëҪʹ·þÎñÆ÷¸ü¼ÓÎȶ¨£¬¿ìËÙ£¬ÁíÍâÒ»¸öÔÒòÊÇÎÒÔÚʹÓùý³ÌÖУ¬µ±Òªmount NTFS·ÖÇøµÄʱºò£¬ÀÏÊÇÌáʾÎÒÄں˲»Ö§³Ö£¬ÎÒÖªµÀRH9µÄÄÚºËÊÇÖ§³ÖNTFSµÄ£¬ËùÒÔ¾ö¶¨ºÃºÃ±àÒëÒ»ÏÂÄںˣ¬ËäÈ»ÒÔÇ°ÎÒ±àÒëÄں˴ÓÀ´Ã»Óгɹ¦¹ý¡£
·Ï»°ÉÙ˵£¬¿ªÊ¼±àÒë,²ËÄñÃÇ¿´ºÃÁË£¬Õâ¿ÉÊÇÎҵĵ÷ÊÔÊּǣ¡
1¡£Òª±àÒëÄںˣ¬Ê×ÏÈÒªµ½ºÏÊʵıàÒë·¾¶£¬Ò»°ã·¾¶¶¼ÔÚ/usr/src/linux,RH9µÄ·¾¶ÊÇÔÚ/usr/src/linux-2.4,Ö»ÓÐÔÚÕâ¸ö·¾¶ÄãµÄmake config/make menuconfig/make xconfigÃüÁî²Å»áÉúЧ¡£
·ñÔò²»ÔÚÕâ¸ö·¾¶±àÒ룬»áÌáʾmake: *** No rule to make target 'config' , stopµÄ´íÎóÌáʾ£¬²ËÄñÃǾ³£»á·¸Õâ¸ö´íÎóŶ£¡
2¡£ÒòΪÎÒÊDzËÄñ£¬ËùÒÔ½ñÌì¸æËß´ó¼ÒµÄ±àÒë·½·¨»¹ÊDZȽϱ£Êصģ¬¸ßÊ־Ͳ»Óÿ´ÁË£¬Ê×ÏÈÎÒÃÇÔÚ±àÒë֮ǰ×îºÃÔËÐÐÕâ¸öÃüÁ make mrproper Èç¹ûÄãÒÔÇ°±àÒë¹ýÄںˣ¬ÄÇÕâ¸öÃüÁî¾Í¿ÉÒÔɾ³ýÒÔÇ°µÄ½¨¹¹µÄºÛ¼£¡£ÏàÐÅ´ó¶àÊý²ËÄñÊÇûÓбàÒë¹ýµÄ£¬ËùÒÔÒ»°ã²»ÓÃÔËÐУ¬µ«ÊÇÄãÒªÊÇÏëµÚ2´Î»òµÚ3´Î±àÒ루ÎҾͱàÒëÁ˺öà´Î£©£¬ÄǾÍÕâ¸öÃüÁî¾Í·Ç³£ÓÐÓÃÁË¡£
3¡£make oldconfig £¬´ó¼Ò¿ÉÄܾõµÃºÜÆæ¹ÖÎÒÔõôÓÃÕâ¸öÃüÁ֮ËùÒÔÓÃÕâ¸öÃüÁÊÇÒòΪÎÒÊDzËÄñ£¬Ç°¼¸´Î×Ô¶¨ÒåµÄ±àÒëÄں˶¼Ã»Óгɹ¦Òýµ¼ÏµÍ³£¬ÎÞÒâÖз¢ÏÖÕâ¸öÃüÁÕâ¸öÃüÁî»á¶ÁȡϵͳĬÈϵÄÄںˣ¬È»ºóÉú³É.configÎļþ£¬ÄÇÒÔºóÅäÖñàÒë¾ÍÔÚĬÈϵĻù´¡ÉÏÌí¼Ó/ɾ³ý¾ÍÐУ¬²»»áÒòΪ©µôʲôÅäÖöøʹϵͳ²»ÄÜÒýµ¼£¬ÏàÐÅÎÒû´í£¬Èç¹ûÄãÊǸßÊֵĻ°£¬ÄǾÍÃâÁË¡£
4¡£make menuconfig ¿ªÊ¼ÅäÖ㬰ÑÄãÈÏΪ²»ÐèÒªµÄ¶«Î÷¶¼²»Òª±àÒëµ½Äںˣ¬±ÈÈçʲôҵÓàµç̨£¬scsi,I20,IrDA,isdn,bluetooth,·´ÕýҪɾ³ýµÄ¶«Î÷ÄãÒªÓоø¶Ô°ÑÎÕŶ£¬¶àɾÁËÔì³Éϵͳ²»ÄÜÒýµ¼¿É²»ÒªÀ´ÕÒÎÒ¡£µ±È»²»»áÍüÁ˼ÓÉÏntfsµÄÖ§³Ö£¬ÔÚfile systemsÕâÒ»ÏîÀ˳±ã°Ñcodepage 936Ò²±àÒë½øÄںˣ¬ºóÃæ»áÓõ½µÄ¡£±£´æΪ.configºóÍ˳ö¡£
5¡£make dep ÉèÖÃÒÀÀµ¹Øϵ
6¡£make clean ×¼±¸Òª½¨¹¹µÄÔ´ÂëÊ÷
7¡£make bzImage ½¨¹¹ÄÚºË Âþ³¤µÄʱ¼ä£¬È¥×ö¼ÒÎñ°É
8¡£make modules ÅäÖÃÄ£¿é£¬Ò²±È½ÏÂþ³¤£¬ÎÒ¶¼°Ñ¼ÒÀïµÄ»î¸ÉÍêÁË£¬»¹Ã»±àÒëºÃ
9¡£make modules_install ʹÓÃÅäÖõÄÄ£¿é
10¡£make install °ÑеÄÄں˺ÍÏà¹ØÎļþ¸´ÖƵ½ÕýÈ·µÄĿ¼£¬²¢ÐÞ¸Ägrub.confÎļþ£¨ÎÒÊÇÓÃgrubÒýµ¼£©ÔÚgrub²Ëµ¥»áÌí¼ÓÒ»¸öеÄÄÚºËÆô¶¯Ñ¡Ïµ±È»ÄãÒ²¿ÉÒÔ×Ô¼ºÐ޸ġ£
ºÃÁËÖØÐÂÆô¶¯reboot£¬¿´¿´ÄãµÄÐÂÄÚºËÄÜ·ñ˳ÀûÒýµ¼£¬ºÃ°ôŶ£¡ÏµÍ³Òýµ¼ºó£¬ÓÃfree -mÒ»¿´£¬ÄÚ´æ´ÓÔÀ´µÄ56MÕ¼Ó㬽µµ½ÁË25M£¬±ä»¯ºÃ´óŶ£¬ÔÚ¿´Ò»ÏÂtop£¬cpu idle¾ÓÈ»100£¥,½øÈëxwindows,ʱ¼ä¶¼²»µ½20Ã룬¹»¿ì°É£¡
±ðÍüÁËÕýÊ£¡¿´ÄÜ·ñ¼ÓÔØnfts·ÖÇø£¿
mkdir /mnt/ntfs
mount /dev/hdb5 /mnt/ntfs ϵͳÌáʾ
NTFS:Warning£¡ NTFS volume versiion Ê®Win2K£« £º Mounting read-only
ok,¹ûȻ˳Àû¼ÓÔØ£¬¿´À´±àÒëÊdzɹ¦µÄ£¡£¬ÏÂÃæÎÊÌâÓÖ³öÀ´ÁË£¬½øÈë/mnt/ntfsĿ¼һ¿´£¬³öÏÖÒ»´ó¶Ñ??µÄÎļþ£¬Ê¹ÓÃzhcon¶¼²»ÐУ¬Ó¡ÏóÖкÃÏñ¶¼ÊÇÖÐÎÄ£¬ÄѵÀ¶ÔÖÐÎIJ»Ö§³Ö£¬²»ÖÁÓÚ°É£¡ÂíÉÏÉÏÍøÑ°ÕÒ×ÊÁÏ£¬Å¶ÔÀ´»¹ÓвÎÊý
ÖØмÓÔØ
ÒýÓÃ:mount -o iocharset=cp936 /dev/hdb5 /mnt/ntfs
¿´¿´£¬ÏÖÔÚ²»ÊÇ??,µ«ÊÇÊÇÂÒÂ룬û¹Øϵ£¬¼ÓÔØzhcon£¬ÔÙ¿´£¬okÁËÖØÒªÏÔʾÖÐÎÄÁË£¬ÖªµÀÁË°É£¬ÎªÊ²Ã´Ò»¿ªÊ¼Òª´ó¼Ò°Ñcodepage 936±àÒë½øÈ¥µÄÔÒò¡£
ÏÖÔÚÎÊÌâÓÖ³öÀ´ÁË£¬ÎÒ×ܲ»ÄÜÿ´ÎÊÖ¶¯¼ÓÔØwindows·ÖÇø°É£¬Óиö°ì·¨£¬ÐÞ¸Ä/etc/fstab
ÎÒµÄfstabÐÞ¸ÄÈçÏ£º
ÒýÓÃ:LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdb5 /mnt/ntfs ntfs iocharset=cp936 0 0
/dev/hdb1 /mnt/c vfat rw,iocharset=cp936 0 0
/dev/hdb6 /mnt/d vfat rw,iocharset=cp936 0 0
ÆäÖÐrw²ÎÊýÊǶÁдµÄÒâ˼£¬Ä¬ÈÏÊÇÖ»¶Á£¬ntfs×îºÃÊÇÖ»¶Á£¬ÒªÊÇд±È½ÏΣÏÕ¡£
ºÃÁËÔÙÖØÆô¿´¿´£¬ÊÇ·ñϵͳÄÜÕý³£¼ÓÔØwindows·ÖÇøÁË£¬ºÇºÇ£¬Ó¦¸ÃÊÇûÓÐÎÊÌâµÄ¡£
Ï£ÍûÕâƪ²Ë×÷¶Ô¹ã´ó²ËÄñÓÐËùÌáʾ