ºìÁªLinuxÃÅ»§
Linux°ïÖú

×Ô¼º°²×°archlinux0.7.1µÄ¾­Àú

·¢²¼Ê±¼ä:2008-01-08 00:20:38À´Ô´:ºìÁª×÷Õß:cj2008
Îҵĸ»Ê¿Í¨fmv-253lÎÞ·¨°²×°×îеÄarch0.8£¬×ÜÊÇÌáʾkernel panic£¬ºÃÏñÊÇÄں˵ÄÎÊÌ⣬ËùÒÔÑ¡ÔñÁË0.7µÄ°æ±¾°²×°£¬°²×°²½Ö裺
1¡£ÏÂÔØarch 0.7µÄiso¾µÏñ£¬½âѹ³öÀïÃæµÄvmlinuzºÍinitrd.gz£¬°ÑÕâÁ½¸öÎļþ·Åµ½Ò»¸öfat»òÕßext3»òext2·ÖÇø£¬È»ºó°Ñarch0.7.iso·Åµ½Ò»¸öntfs»òÕßext3·ÖÇø£¨ÍøÉϵķ½·¨ÊǷŵ½ntfs·ÖÇø£¬È»ºóÔÙÈ¥ÏÂÔØÒ»¸ö°üº¬ntfsÇý¶¯Ä£¿éµÄinitrd.gz£¬ÕâÑù¾Í¿ÉÒÔÔÚ¹ÒÔØntfs·ÖÇøÁË£©£¬ÎÒÊǷŵ½ext3·ÖÇøÏÂ
2¡£½øÈëgrubÊÖ¶¯Ä£Ê½root (hd0,x)
kernel /vmlinuz root=/dev/ram ramdisk_siz=2000 devfs=mount,dall
initrd /initrd.img
boot
3.½øÈëÃüÁîÐÐģʽºó£¬°Ñ´æ·ÅisoÎļþµÄ·ÖÇøhdax¹ÒÔص½ÈÎÒâÒ»¸ö·ÖÇø,ÀýÈç/isofile£¬È»ºó°Ñ´ËĿ¼ÀïµÄiso¾µÏñ¹ÒÔص½/srcĿ¼£¬±ØÐëÊÇ´ËĿ¼
4.ÔËÐÐ/arch/setup£¬¾Í¿ªÊ¼°²×°ÁË

È»ºó¸ù¾ÝÍøÉϵÄһЩ²½Öè³õ²½ÅäÖÃarch£º
1.ÕÒµ½ TIMEZONE="....."¸ÄΪ:
TIMEZONE=Asia/Shanghai (ÒÔÃâÒýÆð windows ʱÖӸıä)

KEYMAP = 'jp106.map.gz'
2.ÈçÄãÔÚwindowsÏÂÍøÂçÅäÖÃʹÓà "×Ô¶¯»ñÈ¡IP"
ÔòÕÒµ½ eth0="......" ¸ÄΪ:eth0="dhcp"
3.ÈçÄãÔÚwindowsÏÂÍøÂçÅäÖÃ×Ô¼ºÌîдip
ÔòÕÒµ½ eth0="......"Ö»½« 192.168.0.2 ¸ÄΪÄãµÄÄÚÍøip,²¢
ÕÒµ½ gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
¸ÄΪgateway="default gw 192.168.0.1(ÕâÀïÊÇÄãµÄÍø¹Ø)"
ROUTES=(gateway)
²¢ÐÞ¸Ä /etc/resolv.conf£¬Ìí¼Ó·þÎñÉ̸øÄãµÄ DNS£¬ÐÎÈ磺
nameserver 202.99.192.66

11)ÖÐÎÄÅäÖÃ
ÕâʱÎÒÃǵÄÓïÑÔ»·¾³»¹ÊÇEnÄØ¡£Ê×ÏÈ£¬ÎÒÃÇÒª´ò¿ª/etc/locale.genÎļþ£¬½«ÆäÖÐÎÒÃÇÒªÓõ½µÄlocaleÏî

È¥µô×¢ÊÍ£¬È»ºóÔËÐÐÃüÁîlocale-genÀ´Éú³Élocale¡£ÕâʱÎÒÃÇ¿ÉÒÔÓÃÃüÁîlocale -aÀ´Áгöµ±Ç°ÏµÍ³ÏÂÎÒ

ÃÇ¿ÉÓõÄlocale¡£
ÔÚÕâÀïÎÒÃDzÉÓõÄÊÇzh_CN.utf8,ÐÞ¸Ä/etc/rc.confÎļþ£¬½«ÆäÖеÄLOCALEÏîÖ¸¶¨Îªzh_CN.utf8¡£È»ºóÐÞ

¸ÄÎÒÃǵÄ.xinitrcÎļþ£¬¼ÓÈëÏÂÃæµÄÁ½¾ä£º
export LANG=zh_CN.utf8
export LC_CTYPE=zh_CN.utf8
ÕâÑùÎÒÃǾÍÍê³ÉÁËϵͳlocaleµÄÉèÖá£
µ«ÊÇÕâʱÎÒÃÇ»¹Òª°²×°ÖÐÎÄ×ÖÌ壬ÎÒÃÇ¿ÉÒÔÓÃÏÂÃæµÄÃüÁîÀ´½øÐа²×°£º
pacman -Sv ttf-arphic-uming ttf-arphic-ukai
¾­¹ýÕâÑùµÄÅäÖÃÒÔºó£¬ÎÒÃǾͿÉÒÔÓÃstartxÀ´Æô¶¯ÎÒÃǵÄX»·¾³£¬ÕâʱÎÒÃǵÄϵͳ¾Í¸Ä³ÉÁËÖÐÎÄÁË¡£
12)°²×°ÊäÈë·¨
ÔÚÕâÀïÎÒÃǵÄÊäÈëʹÓõÄÊÇScim£¬ÎÒÃÇÓÃÏÂÃæÃüÁîÀ´°²×°£º
pacman -Sv scim scim-pinyin scim-tables
È»ºóÔÚÎÒÃǵÄ.xinitrcÅäÖÃÎļþÖмÓÈëÏÂÃæµÄÅäÖÃÓï¾ä£º
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=XIM
export XMODIFIERS=@im=SCIM

export XIM XIM_PROGRAM XIM_ARGS GTK_IM_MODULE

$XIM_PROGRAM $XIM_ARGS
ÖØÐÂÆô¶¯X£¬ÕâÑùÎÒÃǾͿÉÒÔʹÓÃÖÐÎĽøÐÐÊäÈëÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ