Arch Linux是一份为i686优化的轻量级Linux发行,它包含了各种软件的最新稳定版本。软件以.tar.gz格式打包并由包管理器进行跟踪维护,这样的设计使得软件升级非常容易。与其他发行相比,Arch的技术相当之先进。一些相对不大使用的东西没有保留下来(例如,info页面)。一次缺省的Arch安装带给你的是一套牢固的系统基础,你可以在此基础上增加软件包从而创建你所需要的定制安装。Arch的包系统允许你方便地创建你自己的软件包,这使得按你自己特定的配置重新编译一份新的软件包变得非常容易。Arch的另一个目标是让用户尽可能地使用到Linux的新特性,例如 ReiserFS、ext3以及devfs。
我采用chroot方式安装----
先从ISO中提取出chroot安装需要的initrd.img:
#mount arch-0.*.iso Arch
#cp Arch/isolinux/initrd.img ~
解压缩initrd.img:
#cat initrd.img |gzip -d >initrd
挂载在~/tmp下:
#mount -o loop initrd ~/tmp
将initrd.img中的东东全部复制到目标分区上(我挂载在/mnt/distro):
#mkdir /mnt/distro/Arch
#cp -aR /root/tmp/* /mnt/distro/Arch
因为安装程序需要在/dev/vc/5记录安装信息,所以在/dev下创建它:
#cd /mnt/distro/Arch/dev
#mkdir vc
#mknod vc/5 c 4 5
将arch-0.*.iso挂载在src目录下,以备安装软件包:
#mount arch-0.7.iso /mnt/distro/Arch/src -o loop
chroot安装Arch:
#chroot /mnt/distro/Arch /bin/sh
此时已经进入chroot环境:
设置TERM为linux,这样运行setup才不会出错:
#TERM=linux
运行setup开始安装
#arch/setup
首选选择安装介质,选SRC就可以了。
"Prepare Hard Device" 略去。我可不想分区 :)
"Select Packages" 选择src,选择base,调整安装的软件包,默认即可。不过我根据自己的机器取消了一些不用的包。
"install Packages" 开始安装,所有软件包安装在/mnt。
"install kernel " 我没有安装,直接把LFS下的内cp了一个
"Configure System" 编辑系统配置文件。选择喜欢的编辑器编辑做。
"Install Bootloader" 略去。我有/boot分区,使用它管理所有的系统启动。
配置文件:
(我是ADSL上网)
# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
# LOCALIZATION
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="zh_CN.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Beijing/Asia"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
#
# HARDWARE
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
#
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# NETWORKING
#
HOSTNAME="ArchLinux"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
##lo="lo 127.0.0.1"
##eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
##INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
##gateway="default gw 192.168.0.1"
##ROUTES=(!gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)
#
# DAEMONS
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !hotplug !pcmcia network !netfs crond adsl gpm alsa)
# End of file
配置/etc/fstab:
# cat /etc/fstab
#
# /etc/fstab: static file system information
#
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda9 / ext3 defaults 0 0
/dev/sda11 swap swap defaults 0 0
基本上就可以了,退出chroot。
把chroot安装好的移到想安装的地方----
#mv /mnt/distro/Arch/mnt/* /ARCH
做一些修补工作:
1. 由于使用的是已有的内核----将原内核的/lib/modules/`uname -r`目录复制到Arch的 /lib/modules中,在/etc/rc.conf中加载需要启动的模块就可以了。实际上我全部编辑经内核,直接 touch /lib/modules/`uname -r`/modules.def就可以了。
2. 修改host的grub.conf,增加:
title Arch Linux
root (hd0,8)
kernel /ARCH/boot/kernel26 root=/dev/sda9 init=/ARCH/sbin/pre-init
在sbin/下加入一个pre-init。(这是LFS hint的一个办法)
现在就可以reboot,体验Arch的风采啦。


83.35.74.* 于 2007-06-13 04:04:14发表:
988ada7d1bc729878624b688bb43a730 http://pignoramento-and-quota-and-srl.okhyez.org/ http://giro-del-mondo-in-nave.xxcgwu.org/ http://asl-anagrafe-canina-microchip-regione-toscana.okhyez.org/ http://foto-donna-nude-in-spiaggia.hivfbp.org/ http://the-sound-of-silence-testo.xxcgwu.org/ http://storia-dell-europa-inizi-700.ammyco.org/ http://comune-san-giorgio-a-cremano.xxcgwu.org/ http://traduzione-italiana-poesia-albatro-charles-baudelaire.rivotb.org/ http://polizia-stato-ore-studio-interpretazione-norma.ammyco.org/ http://gestione-progetto-ricerca-operativa-esercizio.kiyytw.org/ 416778d26f8af0e18aadb8d947bc0aec
190.75.111.* 于 2007-06-12 05:30:56发表:
31388c577dff429a4819abc0b3248b78 http://centralina-elettronica-guzzi-1100-sport.uoyrgt.org/ http://filmato-sesso-col-ciclo-mestruale.hzuhtu.org/ http://capodanno-ai-lago-viverone-foto.cckzfi.org/ http://s-m-campania-responsabile-2006.guqsuy.org/ http://isola-non-c-fossile-collegno.dtufrq.org/ http://barolo-fontanafredda-1999-2000-prezzo.cckzfi.org/ http://amministrazione-provinciale-perugia-comprensorio-5.fkgkox.org/ http://normativa-commercializzazione-latte-d-asina.hzuhtu.org/ http://dpr-322-22-07-1998.uoyrgt.org/ http://logo-suoneria-gioco-motorola-w220.ljiwrk.org/ 3ebbdc0c5c788c89d957115fc277340d
190.55.31.* 于 2007-06-11 05:40:48发表:
6533eca7f78818815070bada5d38ddd8 http://medicina-chirurgia-universita-cattolica-roma.innltr.net.in/ http://canzone-carmen-posto-al-sole.innltr.net.in/ http://video-porno-vedere-scaricare-gratis.hhknox.net.in/ http://html-css-pseudo-classi-dinamica.kfxrfs.net.in/ http://video-foto-gratis-fica-nerissima.ooqqld.net.in/ http://cosa-faresti-attimo-sanita-mentale.kfxrfs.net.in/ http://www-ausl-cesena-emr-it.innltr.net.in/ http://energia-fotovoltaica-ad-uso-domestico.mksqkw.net.in/ http://offerta-lavoro-promoter-hostess-abruzzo.mksqkw.net.in/ http://per-creare-un-sito-web.oaxzml.net.in/ 319dbbb4ab069a1bfb4a4d4d12c61dcd
190.74.20.* 于 2007-06-09 05:23:02发表:
5636c212d455dfa81d862572b7eb2ad8 http://contratto-collettivo-dirigente-azienda-industriale.mbxbva.org/ http://d-m-28-febbraio-1983.qjgasd.org/ http://informazioni-su-cdb-web-tech.mbxbva.org/ http://salice-d-ulzio-blu-vacanza.akermn.org/ http://contratto-collettivo-nazionale-parrucchiera-apprendistato.lbpwqo.org/ http://circolare-assessorato-sviluppo-economico-regione-siciliana.lbpwqo.org/ http://profilo-professionale-tecnico-prevenzione-ambiente.lbpwqo.org/ http://la-strada-che-porta-a-domani.lbpwqo.org/ http://risultato-diretta-partita-serie-b.pauhzy.org/ http://calcolo-ritenuta-d-acconto-prestazione-occasionale.mbxbva.org/ e44c2d91c99facb894d3b26e91151560
201.245.235.* 于 2007-06-08 07:10:28发表:
d5979445f4d4faee121fa3cd1c43f329 http://concerto-coro-polifonici-trento-natale-2006.lykglu.org/ http://fusione-oggetto-dragon-ball-tenkaichi-2.ulhxdx.org/ http://codice-consultabili-durante-concorso-uditore-giudiziario.incgek.org/ http://scena-sesso-jennifer-lopez-nick-nolte.yixkrt.org/ http://strat-site-www-accordo-it.fjhozm.org/ http://legge-n-311-30-dicembre-2004.ouwnql.org/ http://scarica-gratis-programmi-per-scaricare.sjfnnx.org/ http://sviluppo-turismo-cinese-1949-1978.kkwhbs.org/ http://divina-commedia-spazio-temporale-dell-inferno.fjhozm.org/ http://stampante-laser-fronte-retro-automatico.whguhs.org/ 2e2f8656ca7971267ae7180fc612fe21
201.217.80.* 于 2007-06-07 09:26:28发表:
e19587ee44d91e947563a4066af6b359 http://cinema-and-classifica-and-film.hwqovr.info/ http://dacia-maraini-la-lunga-vita-di.ytqkdb.info/ http://via-tricino-63-scafati-sa.hwqovr.info/ http://cantante-fa-parte-musica-satanica.gjtkci.info/ http://albergo-3-stella-vigo-fassa-sauna.lgrhpd.info/ http://scheda-libro-regina-casa-sophie-kinsella.lgrhpd.info/ http://trasformazione-societa-persona-societa-responsabilita-limitata.dpydtd.info/ http://appartamento-affitto-roma-breve-periodo.dpydtd.info/ http://agenzia-di-roma-cmp-windows.zjtbra.info/ http://b-cinzia-de-santis-b.lgrhpd.info/ 6dea66dd0952ca77d762129bda0df247
83.97.192.* 于 2007-06-06 12:37:18发表:
647c10a72b98d280ce769fbbb2f6778f http://giornale-rivista-trovi-all-informa-giovane.xaotvu.info/ http://campanello-per-casa-senza-fili.xaotvu.info/ http://scarica-gratis-adobe-photoshop-cs2.jknrtq.info/ http://san-domenico-varzo-pista-sciistica.duajwe.info/ http://arma-aria-compressa-libera-vendita.yyunae.info/ http://opera-d-arte-rappresentano-pace.lbvsgo.info/ http://porno-italia-ultimo-film-settimana.duajwe.info/ http://tecnica-regolazione-dei-microfono-voce.yyunae.info/ http://stanchezza-stanco-male-depresso-forum.qirjux.info/ http://kasanova-it-presso-iper-busnago.yyunae.info/ 11bac96dbb32ab2fd1a6f4018c996a56
200.8.180.* 于 2007-06-05 17:20:48发表:
892657b7a83fc0cf1c36e7c48787cbf0 http://sony-slv-se640-videoregistratore.dhvvfi.info/ http://sugarfree-album-clepto-mania.uyohtb.info/ http://caloria-dei-lupino-giallo.boixkk.info/ http://donna-cli-piace-scopare.uyohtb.info/ http://parafrasi-canto-iii-gerusalemme-liberata.dhvvfi.info/ http://enaip-di-settimo-torinese.dvtuzm.info/ http://arcipicchia-circolo-rivoli.boixkk.info/ http://ricetta-tipica-pasta-stroncatura.dhvvfi.info/ http://hurley-lascia-fidanzato-relazione.wkermn.info/ http://marco-berta-playmaker.dhvvfi.info/ 4080af707aca2bbb96231fb1b4743d28
190.72.27.* 于 2007-06-04 22:54:45发表:
8f5230d9803531c398aca5fcb6a3b036 http://pneumatico-hankook-pneumatico-invernale-w300.pgbdyc.org/ http://scuola-alberghiera-orio-vergani-ferrara.vprmbs.org/ http://consulente-lavoro-conferimento-incarico-pagamento-f24.vprmbs.org/ http://alimentazione-misura-peter-d-adamo.vprmbs.org/ http://analisi-frequenza-dei-segnale-scuola-superiori.dlmpxx.org/ http://uno-su-mille-ce-la.dqiqbg.org/ http://c-s-antonio-abate-calcio.vprmbs.org/ http://corso-agente-immobiliare-comune-firenze.pgbdyc.org/ http://fare-un-sito-in-flash.vprmbs.org/ http://comune-di-gardone-val-trompia.xcwjal.org/ e2344a7b53a49ae4d6fdb2a64dbf9945
77.208.44.* 于 2007-06-04 03:17:32发表:
31eabb60681a895f05f7047996c155f8 http://irmaallestimentometallico.seyzuo.org/ruota-modulo-dente-evolvente-costruzione/index.htm http://googleitwwwikeait.inkrxe.org/liceo-augusto-marotti/index.htm http://leonardomazziniarezzocalciotesserati.inkrxe.org/posizionamento-elettrode-ecg/index.htm http://listinowiliertriestina.inkrxe.org/coltello-marttiini-finlandese/index.htm http://recordatiamianto.inkrxe.org/mascia-ferro-lucignolo/index.htm http://rilevatorepresenzacrepuscolare.beajbg.org/u-d-cappuccetto-rosso/index.htm http://rilevatorepresenzacrepuscolare.beajbg.org/copripiumino-gabel/index.htm http://occhialevistaralphloren.beajbg.org/decorazione-auto-trezzano-naviglio/index.htm http://organizzazionebanchettomonreale.seyzuo.org/concessionaria-autoveicolo-commerciale-isuzu/index.htm http://dtctrilogyanello.beajbg.org/aristogatto-minu/index.htm 83869c431dabc6ba13fe3e3c64cc8ac5
190.10.245.* 于 2007-05-16 03:20:47发表:
http://2e40223cb416732e0c00b551c5688777-t.qwoypw.info 2e40223cb416732e0c00b551c5688777 http://2e40223cb416732e0c00b551c5688777-b1.qwoypw.info 2e40223cb416732e0c00b551c5688777 http://2e40223cb416732e0c00b551c5688777-b3.qwoypw.info b43a48a848da56275457e93295654b68