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

wwj99001 ·¢±íÓÚ 2003-11-29 20:04

Gentoo Linux °²×°°ïÖú²»ÍêÈ«·­Òë(°²×°ºó¶Ô×Ô¼ºµÄˮƽºÜÓаïÖú)

Gentoo Linux °²×°°ïÖú²»ÍêÈ«·­Òë
ÒëÕߣºÍõÎÄ¿¡ [email]wwj99001@sina.com[/email] [email]wwj99001@egotop.com[/email]
·­Òëʱ¼ä£º2003-11-29
Ô­ÎļþÁ´½Ó£º[url]http://www.gentoo.org/doc/en/gentoo-x86-install.xml?style=printable[/url]
˵Ã÷£ºÓÉÓÚÔ­Îļþ¹ýÓÚÏêϸ£¬ºÜ¶à²½ÖèÓдóÁ¿Æª·ùµÄ˵Ã÷£¬ÓÉÓÚʱ¼äËùÏÞÎÒ²»ÄÜÈ«²¿·­Ò룬ÈçÓв»Çå³þµÄµØ·½ÇëÖ±½Ó²ì¿´Ô­Îļþ
1. ¸ÅÊö
  Gentoo Linux 2-CD°üº¬ÁËGentoo ²Î¿¼Æ½Ì¨£¬Ëü°üº¬ÁËÒ»¸öÍêȫԤ±àÒëµÄGentoo Linuxϵͳ.
Gentoo ²Î¿¼Æ½Ì¨(The Gentoo Reference Platform "GRP")ÊÇÓÃÀ´Âú×ãÄÇЩÐèÒª¿ìËÙ°²×°Gentoo Linux
Èí¼þ°üµÄÈ˵Ä.
  ´Óstage1¿ªÊ¼°²×°ÔÊÐíÄãÍêÈ«¿ØÖƺÍÓÅ»¯ÄãµÄϵͳ.stage1ÊÊÓÃÓÚÄÇЩ¸ß¼¶Óû§,Ò²ÊÊÓÃÓÚÄÇЩÏë¸ü¶àµÄÁ˽â
Gentoo LinuxÄÚ²¿¹¤×÷ģʽµÄÓû§.
  ´Óstage2¿ªÊ¼°²×°ÔÊÐíÄãÌø¹ýÆô¶¯½ø³ÌʹÓÃÎÒÃǸøÄãÉ趨µÄÓÅ»¯²ÎÊý.
  Ñ¡Ôñ´Óstage3ʹÄãÄܹ»ÒÔ×î¿ìËٶȰ²×°Gentoo Linux.
  Èç¹ûÄãµÚÒ»´Î°²×°Gentoo Linux,½¨Òé´Óstage3Èí¼þ°ü¿ªÊ¼°²×°»òÕßʹÓÃGRPµÄstage3.

2.Æô¶¯»úÆ÷
Æô¶¯Ñ¡Ïî
gentoo     Ä¬ÈÏgentooÄÚºË
nofb       ¹Ø±ÕÕ껺´æÄ£Ê½
smp        ¼ÓÔØÒ»¸ö¹Ø±ÕÕ껺´æµÄsmpÄÚºË
acpi       ³õʼ»¯Ê±¼ÓÔØacpiÄ£¿é
memtest    Æô¶¯Ê±²âÊÔÄÚ´æ

Æô¶¯¿ÉÑ¡²ÎÊý
doataraid  ¼ÓÔØide raidÉ豸
dofirewire ¼ì²â»ðÏßÉ豸
dokeymap   Ñ¡Ôñ·ÇÃÀ¹úµÄ¼üÅÌÉèÖÃ
dopcmcia   Æô¶¯pcmcia·þÎñ
doscsi     É¨ÃèscsiÉ豸
noapm      ½ûÖ¹¼ÓÔØµçÔ´¹ÜÀíÄ£¿é
nodetect   ²»¼ì²â¼´²å¼´ÓÃÉ豸
nodhcp     Èç¹û¼ì²âµ½Íø¿¨²»×Ô¶¯Æô¶¯Dhcp
nohotplug  ½ûÖ¹¼ÓÔØhotplug·þÎñ
noraid     ½ûÖ¹¼ÓÔØevmsÄ£¿é
nousb      ½ûÖ¹¼ÓÔØusbÄ£¿é
ide=nodma  ½ûÖ¹ideÔ𱸵Ädma·½Ê½
cdcache    »º´æ¹âÅÌÖÐÔËÐеIJ¿·Ö  

3.¿ÉѡӲ¼þÅäÖÃ
3.1: PCIÄ£¿éÅäÖÃ
(replace pcnet32 with your NIC module)
# modprobe pcnet32

3.2: ¼ÓÔØSCSIÄ£¿é
(replace aic7xxx with your SCSI adapter module)
# modprobe aic7xxx
(sd_mod is the module for SCSI disk support)
# modprobe sd_mod

3.3: ÉèÖÃ DMA
(Replace hdX with your disk device)
(Enables DMA)
# hdparm -d 1 /dev/hdX
(Enables DMA and other safe performance-enhancing options)
# hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX
(Force-enables Ultra-DMA -- dangerous -- may cause some drives to mess up)
# hdparm -X66 /dev/hdX

4. ¿ÉÑ¡ÍøÂçÅäÖÃ
4.1: Ö´ÐÐ/sbin/ifconfig²ì¿´Ò»¸öÍø¿¨µÄÅäÖÃ,ÏÔʾÈçÏÂ
eth0      Link encap:Ethernet  HWaddr 00:50:BA:8F:61:7A
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::50:ba8f:617a/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1498792 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1284980 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1984 txqueuelen:100
          RX bytes:485691215 (463.1 Mb)  TX bytes:123951388 (118.2 Mb)
          Interrupt:11 Base address:0xe800

4.2: ½øÒ»²½ÍøÂç²âÊÔ
# ping -c 3 [url]www.yahoo.com[/url]

4.3: ÅäÖÃPPPoE
#  adsl-setup
#  adsl-start

4.4: ÉèÖÃÍøÂçÆô¶¯½Å±¾
# net-setup eth0

4.5: ÅäÖÃDHCPÍøÂç
# dhcpcd eth0

4.6: ÅäÖþ²Ì¬IPÍøÂç
# ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK
# route add -net default gw $GTWAY netmask 0.0.0.0 metric 1 $IFACE

4.7: ÐÞ¸Ä/etc/resolv.confÎļþ
domain mydomain.com
nameserver 10.0.0.1
nameserver 10.0.0.2
½«10.0.0.1 ºÍ 10.0.0.2ÓÃÄã×Ô¼ºµÄÖ÷ºÍ´ÓDNS·þÎñÆ÷µÄipÌæ»».

4.8: ÉèÖôúÀí·þÎñÆ÷
(If the proxy restricts HTTP traffic)
# export http_proxy="http://machine.company.com:1234"
(If the proxy restricts FTP traffic)
# export ftp_proxy="ftp://machine.company.com"
(If the proxy restricts RSYNC traffic)
# export RSYNC_PROXY="rsync://machine.company.com"

5. ÉèÖÃϵͳÈÕÆÚºÍʱ¼ä
5.1: ÉèÖÃϵͳÈÕÆÚ
# date
Thu Feb 27 09:04:42 CST 2003
(If your date is wrong, set your date with this next command)
# date 022709042003
(date MMDDhhmmCCYY)

6.Îļþϵͳ,·ÖÇøºÍ¿éÉ豸
6.1: /dev/hda, ±íʾÄãϵͳµÄµÚÒ»¸öideÉ豸µÄÖ÷Çý¶¯Æ÷
/dev/hda

6.2: /dev/sda, ±íʾÄãϵͳµÄµÚÒ»¸öÂß¼­SCSIÇý¶¯Æ÷
/dev/sda

6.3: Ö´ÐÐfdisk
#fdisk /dev/hda

6.5: fdiskµÄÃüÁîÌáʾ
¼üÈëp±íʾÏÔʾµ±Ç°Ó²Å̵ķÖÇøÉèÖÃ

6.6: Ò»¸ö·ÖÇøÅäÖõÄÀý×Ó
Command (m for help): p

Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders
Units = cylinders of 15120 * 512 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        14    105808+  83  Linux
/dev/hda2            15        49    264600   82  Linux swap
/dev/hda3            50        70    158760   83  Linux
/dev/hda4            71      2184  15981840    5  Extended
/dev/hda5            71       209   1050808+  83  Linux
/dev/hda6           210       348   1050808+  83  Linux
/dev/hda7           349       626   2101648+  83  Linux
/dev/hda8           627       904   2101648+  83  Linux
/dev/hda9           905      2184   9676768+  83  Linux

Command (m for help):

6.7: ÄãÏÂÃæ½«ÒªÊ¹ÓõķÖÇøÉèÖÃ(²»½¨ÒéʹÓÃ)
Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        14    105808+  83  Linux
/dev/hda2            15        81    506520   82  Linux swap
/dev/hda3            82      3876  28690200   83  Linux

Command (m for help):

ÎҵķÖÇø»®¹é½¨Òé:
/dev/hda1  /       primary    300M
/dev/hda2  swap    primary    128M
/dev/hda3  /var    primary    500M
/dev/hda4  extention  primary
/dev/hda5  /usr    logic      >=1500M
/dev/hda6  /data   logic      Ê£ÓàÓ²Å̿ռä

6.8: ɾ³ýÒ»¸ö·ÖÇø
Command (m for help): d
Partition number (1-4): 1

6.9: Ò»¸ö¿ÕµÄ·ÖÇø±í
Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot    Start       End    Blocks   Id  System

Command (m for help):

6.10: Ìí¼Óboot·ÖÇøµÄ²½Öè
Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-3876, default 1): (Hit Enter)
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876): +32M


6.11: ÏÖÔÚ·ÖÇøÒѾ­´´½¨
Command (m for help): p

Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1          1        14    105808+  83  Linux

6.12: ´´½¨swap·ÖÇø
Command (m for help): p

Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1          1        14    105808+  83  Linux
/dev/hda2         15        81    506520   82  Linux swap


6.13: ´´½¨root·ÖÇø
Command (m for help): p

Disk /dev/hda: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot    Start       End    Blocks   Id  System
/dev/hda1          1        14    105808+  83  Linux
/dev/hda2         15        81    506520   82  Linux swap
/dev/hda3         82      3876  28690200   83  Linux


6.14:
.¸ñʽ»¯·ÖÇø(Àý×Ó)
# mke2fs  /dev/hda1      (¸ñʽ»¯³Éext2)
# mke2fs -j /dev/hda1    (¸ñʽ»¯³Éext3)
# mkswap /dev/hda2
# mkreiserfs /dev/hda3   (¸ñʽ»¯³Éreiserfs)
# mkfs.xfs /dev/hda3     (¸ñʽ»¯³ÉXFS)
# mkfs.jfs /dev/hda3     (¸ñʽ»¯³ÉJFS)

7. ¼ÓÔØ·ÖÇø
7.1: ¼¤»î½»»»·ÖÇø
# swapon /dev/hda2

7.2: ´´½¨°²×°¼ÓÔØµã
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot

8. ½âѹStageѹËõ°üºÍchroot
8.1: ÏÂÔØStageѹËõ°ü

# cd /mnt/gentoo
ʹÓÃlinks¹¤¾ßµÃµ½ÄãÐèÒªµÄÈí¼þ°ü:
# links [url]http://gentoo.oregonstate.edu/releases/x86/1.4/[/url]
(ʹÓÃÉÏϼü»òtab¼üµ½ÕýÈ·µÄĿ¼²¢ÈÃÄãÏëÏÂÔØµÄ°ü¸ßÁÁÏÔʾ£¬È»ºó°´d¼ü¿ªÊ¼ÏÂÔØ)

8.2: ½âѹStages(¿ÉÒÔÑ¡Ôñstage1-3µÄÈκÎÒ»¸ö)
# cd /mnt/gentoo
# tar -xvjpf /mnt/cdrom/stages/stage3-*.tar.bz2

8.3: ½âѹPortage snapshot
# tar -xvjf /mnt/cdrom/snapshots/portage-yyyymmdd.tar.bz2 -C /mnt/gentoo/usr

8.4: ¿½±´GRPÎļþ
# cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles
# cp -a /mnt/cdrom/packages /mnt/gentoo/usr/portage/packages

8.5: Ñ¡Ôñ¾µÏñ(¿ÉÑ¡²½Öè)
(×Ô¶¯Ñ¡Ôñ¾µÏñ)
# mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf
(½»»¥Ê½Ñ¡Ôñ¾µÏñ)
# mirrorselect -i -o >> /mnt/gentoo/etc/make.conf

8.6: ½øÈëchroot»·¾³
# mount -t proc proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile
(The above points your shell to the new paths and updated binaries)

9. ʹÓÃsyncµÃµ½×îÐÂPortageĿ¼Ê÷
9.1: ¸üÐÂsync
# emerge sync

9.2: ¸üÐÂPortage
# emerge -u portage

10. ÉèÖÃGentooÓÅ»¯²ÎÊý(make.conf)
10.1: ÉèÖÃmake.conf²ÎÊý
# nano -w /etc/make.conf

11. ´ÓStage1¿ªÊ¼
11.1: Bootstrapping
# cd /usr/portage
# scripts/bootstrap.sh

11.2: ¸Ä±äPortage's´æ´¢Â·¾¶
# export PORTAGE_TMPDIR="/otherdir/tmp"

12. ´ÓStage2¿ªÊ¼¼ÌÐøStage1
12.1: °²×°Ê£ÏµÄϵͳ
# emerge -p system
(ÏÔʾ½«Òª°²×°µÄÈí¼þ°ü)
# emerge system

13. Starting from Stage3
stage3ѹËõ°üÌṩÁËÒ»¸öÍêÈ«µÄ»ù±¾ÏµÍ³£¬ËùÒÔ²»ÐèÒªÔÙ´´½¨Ê²Ã´

14.ÉèÖÃÊ±Çø
14.1: ´´½¨Ê±ÇøÎļþµÄ·ûºÅÁ´½Ó
# ln -sf /usr/share/zoneinfo/path/to/timezonefile /etc/localtime

15. ÐÞ¸Ä/etc/fstabÅäÖÃÎļþ
#nano -w /etc/fstab

16. °²×°Äں˺ÍÈÕÖ¾¼Ç¼Æ÷
16.1: °²×°ÄÚºËÔ´´úÂë
# emerge -k sys-kernel/gentoo-sources
(/usr/portage/sys-kernelÏÂÃæÓкܶàÔ´´úÂë°üµÄÉèÖÃ
ÓùâÅ̰²×°½¨ÒéÖ´ÐÐemerge -k sys-kernel/gs-sources)

ʹÓÃgenkernel¹¤¾ß±àÒëÄÚºË
16.2: °²×°genkernel¹¤¾ß
# emerge -k genkernel

16.3: ÔËÐÐ genkernel
# genkernel

16.4: °²×°ºÍÆôÓÃhotplug
# emerge -k hotplug
# rc-update add hotplug default

ÊÖ¹¤ÅäÖò¢±àÒëÄÚºË
16.5: ÅäÖÃLinuxÄÚºË
# cd /usr/src/linux
# make menuconfig

16.7: ±àÒë²¢°²×°ÄÚºË
# make dep && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot

16.8: Ñ¡Ôñ°²×°system logger
Ö´ÐÐ
# emerge -k app-admin/sysklogd
# rc-update add sysklogd default
»òÖ´ÐÐ
# emerge -k app-admin/syslog-ng
# rc-update add syslog-ng default
»òÖ´ÐÐ
# emerge -k app-admin/metalog
# rc-update add metalog default
»òÖ´ÐÐ
# emerge -k app-admin/msyslog
# rc-update add msyslog default

16.9: Ñ¡Ôñ°²×°CRONÊØ»¤³ÌÐò
Ö´ÐÐ
# emerge -k sys-apps/dcron
# rc-update add dcron default
# crontab /etc/crontab
»òÖ´ÐÐ
# emerge -k sys-apps/fcron
# rc-update add fcron default
# crontab /etc/crontab
»òÖ´ÐÐ
# emerge -k sys-apps/vcron
# rc-update add vcron default
(Èç¹ûÑ¡ÔñʹÓÃvcron,½«²»±ØÖ´ÐÐcrontab /etc/crontabÃüÁî)

17. °²×°¸÷ÖÖ±ØÐëµÄÈí¼þ°ü
17.1: °²×°rp-pppoe
# USE="-X" emerge rp-pppoe
GRPÓû§Ö´ÐÐÏÂÃæµÄÃüÁî:
# emerge -K rp-pppoe

17.2:°²×°Îļþϵͳ¹¤¾ß
# emerge -k xfsprogs (Ö§³Öext2/ext3Îļþϵͳ)
# emerge -k reiserfsprogs (ʹÓÃReiserFSÎļþϵͳ)
# emerge -k jfsutils (ʹÓÃJFSÎļþϵͳ)
# emerge -k lvm-user (ʹÓÃLVMÎļþϵͳ)

17.3:°²×°PCMCIA¹¤¾ß°ü
# emerge -k sys-apps/pcmcia-cs

18. Óû§¹ÜÀí
18.1: ÉèÖÃrootÓû§ÃÜÂë
# passwd

18.2:Ìí¼ÓÓû§
# useradd your_user -m -G users,wheel,audio -s /bin/bash
# passwd your_user

19. ÉèÖÃÖ÷»úÃû
19.1: ÉèÖÃÖ÷»úÃû
# echo mymachine > /etc/hostname
  
19.2: ÉèÖÃÓòÃû
# echo mydomain.com > /etc/dnsdomainname

19.3: ÉèÖÃNISÓòÃû
# echo nis.mydomain.com > /etc/nisdomainname


20. ÐÞ¸Ä /etc/hosts
20.1: HostsÎļþÄ£°å
127.0.0.1      localhost
# the next line contains your IP for your local LAN and your associated machine name
192.168.1.1    mymachine.mydomain.com        mymachine

21. ×îºóµÄÍøÂçÅäÖÃ
21.1: /etc/modules.autoload.d/kernel-2.4(Ð޸ļÓÔØµÄÍø¿¨Ä£¿é)
½«ÈκÎÄãÐèÒªµÄÄ£¿éÃû¼ÓÈë/etc/modules.autoload.d/kernel-2.4ÅäÖÃÎļþÖÐ
Íø¿¨Ä£¿éÔÚ/lib/modules/<kernel version>/kernel/drivers/net

21.2: Íø¿¨Æô¶¯ÅäÖÃ
# nano -w /etc/conf.d/net
Èç¹ûÄãÏëÈÃeth0×Ô¶¯½ÓÊÜ·ÖÅäµÄip,°Ñiface_eth0ÉèÖóÉdhcp.
·ñÔòÉèÖÃIP, broadcast address and netmask.ÆäËûÍø¿¨ÀàËÆÉèÖÃ

21.3: ÈÃÍø¿¨ÔÚÆô¶¯Ê±×Ô¶¯Æô¶¯
# rc-update add net.eth0 default

21.4: ÉèÖöàÍø¿¨½çÃæ(Èç¹ûÓжà¿éÍø¿¨)
# cd /etc/init.d
# ln -s net.eth0 net.ethx

21.5: ½«Íø¿¨¼ÓÈëĬÈÏÔËÐм¶
# rc-update add net.ethx default

21.6: Èç¹ûÓÐPCMCIAÉ豸,ÉèÖÃ×Ô¶¯Æô¶¯PCMCIA·þÎñ
# rc-update add pcmcia boot

22.1: ÐÞ¸ÄÆô¶¯ÅäÖÃÎļþ
# nano -w /etc/rc.conf

23. ÅäÖÃÆô¶¯¹ÜÀíÆ÷

ÅäÖÃGRUB
23.1: °²×° GRUB
# emerge -k grub
# grub

23.2: °²×°GRUBµ½MBRÉÏ
grub> root (hd0,0) (Your boot partition)
grub> setup (hd0) (Where the boot record is installed; here, it is the MBR)

C23.3: ²»°ÑGRUB°²×°µ½MBR
Alternatively, if you wanted to install the bootloader somewhere other than the MBR:
grub> root (hd0,0) (Your boot partition)
grub> setup (hd0,4) (Where the boot record is installed; here it is /dev/hda5)
grub> quit

23.4: GRUBÅäÖÃÎļþgrub.confµÄÒ»¸öÀý×Ó
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

# If you compiled your own kernel, use something like this:
title=My example Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/hda3

# If you're using genkernel, use something like this instead:
title=My example Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV

# Below needed only for people who dual-boot
title=Windows XP
root (hd0,5)
chainloader (hd0,5)+1

ÅäÖÃLILO
23.5: °²×°LILO
# emerge -k lilo

23.6: Ò»¸ölilo.confµÄÀý×Ó
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default=linux

# Use something like the following 4 lines if you compiled your kernel yourself
image=/boot/bzImage
  label=linux
  read-only
  root=/dev/hda3

# If you used genkernel, use something like this:
image=/boot/kernel-KV
  label=gk_linux
  root=/dev/hda3
  initrd=/boot/initrd-KV
  append="root=/dev/hda3 init=/linuxrc"


# For dual booting windows/other OS
other=/dev/hda1
  label=dos

23.7: ÔËÐÐ LILO
# /sbin/lilo

24. ´´½¨Æô¶¯ÅÌ
24.1: ´´½¨GRUBÆô¶¯ÅÌ
# cd /usr/share/grub/i386-pc/
# cat stage1 stage2 > /dev/fd0

24.2: ´´½¨LILOÆô¶¯ÅÌ
(This will only work if your kernel is smaller than 1.4MB)
# dd if=/boot/your_kernel of=/dev/fd0

25. ʹÓà GRP
25.1: ´ÓGRP°²×°
# emerge -k xfree

25.2: ´ÓCD2¼ÓÔØ¶þ½øÖưü
# mount /dev/cdrom /mnt/cdrom
# cp -a /mnt/cdrom/packages/* /usr/portage/packages/

25.3: ´Ó GRP °²×° KDE
# emerge -k kde

26. °²×°Íê³É
26.1: ÖØÆðϵͳ
# etc-update
# exit
(This exits the chrooted shell; you can also type ^D)
# cd /
# umount /mnt/gentoo/boot
# umount /mnt/gentoo/proc
# umount /mnt/gentoo
# reboot

wincool ·¢±íÓÚ 2003-11-29 21:41

лл¥Ö÷µÄ¹²Ïí....
Ìý˵GENTOOºÜ¿ì..Óлú»áÒ²ÊÔÏÂ..:D

maxzhongcn ·¢±íÓÚ 2003-11-30 09:52

×öµÃ²»´í£¬²»¹ýÎÒÄþÔ¸µ½gentooÈ¥¿´EÎĵÄ...........

xiaogangpao ·¢±íÓÚ 2003-11-30 20:48

·±ÌåÖÐÎĵÄ

[url]http://www.gentoo.org/doc/tw/gentoo-x86-install.xml[/url]

Ò³: [1]

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