¥È¥Ã¥× «Á°¤ÎÆüµ­(2004-10-06) ºÇ¿· ¼¡¤ÎÆüµ­(2004-10-08)» ÊÔ½¸

2004-10-07

¢£ [Dynabook][Gentoo] ¥¤¥ó¥¹¥È¡¼¥ë£²

­¶. ¥¤¥ó¥¹¥È¡¼¥ë¤Î½àÈ÷(Preparing the Installation)

1. Linux¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Õ¥©¡¼¥Þ¥Ã¥È

¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ï¹¥¤ß¤Ç(^^)¡¡»ä¤Ï¡¢ext3¤Ç»È¤Ã¤Æ¤Þ¤¹¡£

# mke2fs -j /dev/hda2
# mke2fs -j /dev/hda3
# mke2fs -j /dev/hda6

2. ¥¹¥ï¥Ã¥×¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Õ¥©¡¼¥Þ¥Ã¥È

# mkswap /dev/hda5

3. ¥¹¥ï¥Ã¥×¤òÍ­¸ú¤Ë¤¹¤ë(Activate the swap partition)

# swapon /dev/hda5

4. ¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥Þ¥¦¥ó¥È(Mount the root partition)

# mount /dev/hda3 /mnt/gentoo

5. ¥Þ¥¦¥ó¥È¥Ý¥¤¥ó¥È¤ÎºîÀ®(Create the boot mountpoint)

# mkdir /mnt/gentoo/boot
# mkdir /mnt/gentoo/home

6. ¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó°Ê³°¤Î¥Þ¥¦¥ó¥È(Mount the boot partition)

# mount /dev/hda2 /mnt/gentoo/boot
# mount /dev/hda6 /mnt/gentoo/home

7. ¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ø°ÜÆ°(Go to the mountpoint)

# cd /mnt/gentoo

8. ¥¹¥Æ¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¥À¥¦¥ó¥í¡¼¥É(Surfing to the mirror listing with links2)

# links2 http://www.gentoo.org/main/en/mirrors.xml
¢ª mirror.gentoo.gr.jp (Japan)
¢ª releases
¢ª x86
¢ª 2004.2
¢ª stages
¢ª x86
¥À¥¦¥ó¥í¡¼¥É¢ª stage1-x86-2004.2.tar.bz2
¥À¥¦¥ó¥í¡¼¥É¢ª stage1-x86-2004.2.tar.bz2.md5
"q"¤Ç½ªÎ»

9. ¥¹¥Æ¡¼¥¸¥Õ¥¡¥¤¥ë¤Î¥Á¥§¥Ã¥¯(checking integrity of a stage tarball)

# md5sum -c stage1-x86-2004.2.tar.bz2.md5
stage1-x86-2004.2.tar.bz2: OK

10. ¥¹¥Æ¡¼¥¸¥Õ¥¡¥¤¥ë¤ÎŸ³«(Extract a stage tarball...)

# tar -xvjpf stage1-x86-2004.2.tar.bz2

11. ¥ß¥é¡¼¤ÎÀßÄê(Select a mirror)

¼è¤ê¤¢¤¨¤º¡¢ÆüËܤΥµ¥¤¥È¤òÁ´¤ÆÁªÂò

# mirrorselect -i -o >> /mnt/gentoo/etc/make.conf

12. ¥Í¡¼¥à¥µ¡¼¥Ð¤Î¾ðÊó¤òÀßÄê(Copy over nameserver information)

# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

13. proc¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¥Þ¥¦¥ó¥È(Mount the proc filesystem)

# mount -t proc none /mnt/gentoo/proc

14. ¿·´Ä¶­¤Ëchroot¤Ç°Ü¹Ô(Chroot into the new environment)

# chroot /mnt/gentoo /bin/bash

15. ´Ä¶­ÊÑ¿ô(¾)¤ÎÀßÄê(Load the necessary variables)

# env-update; source /etc/profile

16. Portegr¾ðÊó¤Î¹¹¿·(Updating the Portage tree)

# emerge sync					[Ìó6ʬ]
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Categories | ACCA | DoCoMo | Dynabook | Equium | Fedora | Gentoo | Libretto | Mozilla | OCN | SH506iC | SH901iC | SpamAssassin | WiKi | Zope | tDiary | ¥¦¥¤¥ë¥¹ | ¥ê¥Ê¥¶¥¦ | ½©ÍÕ¸¶