Gentoo Archives: gentoo-dev

From: Daniel Robbins <drobbins@g.o>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Gentoo Linux 1.0_rc5 *Updated Install Instructions*
Date: Wed, 27 Jun 2001 17:42:00
Message-Id: 20010627174200.A16820@cvs.gentoo.org
1 Hi All,
2
3 Here is *revision 1* of the Gentoo Linux 1.0_rc5 binary CD install instructions.
4 Please continue to post any corrections/clarifications to this list. These
5 instructions have been tested by Achim Gottinger, so they should be pretty solid
6 at this point:
7
8 First, head over to:
9 http://www.ibiblio.org/gentoo/releases/1.0_rc5/isos/
10
11 You will see two bootable iso images. One is 42Mb, and contains a ix86 build
12 image only. You can use this system to build a specially-optimized Gentoo
13 Linux system from scratch. The second is 618Mb, and contains a huge amount of
14 i686-specific binaries. To use this CD, you'll need a system with a P6 or
15 P6-compatible core, such as a Pentium Pro/II/III/4 or Athlon. Also, a note for
16 SCSI users: this new boot CD will boot from nearly any modern IDE CD-ROM, and
17 nearly any modern SCSI CD-ROM, and includes support for all Adaptec, Buslogic,
18 Initio, NCR, Symbios, Tekram controllers (and more!).
19
20 OK, here's how to install the gentoo-i686-exclusive-bin-1.0_rc5.iso.
21
22 1. Download and burn the ISO image.
23
24 2. boot your system with the CD in the drive :)
25
26 3. at the login: prompt, type "root" and hit enter.
27
28 4. at this point, you should create your partitions, LVM logical volumes or
29 software RAID volumes, as desired. LVM is supported, and we will have
30 instructions on how to create an LVM initrd soon. Until then, the LVM
31 option is only for the Sistina guys and those who are really LVM-saavy :)
32 fdisk and cfdisk are at your disposal.
33
34 5. mount your root partition to /mnt/gentoo and your boot partition to
35 /mnt/gentoo/boot (create this dir first). If you are setting up Gentoo
36 Linux with a separate /usr or /var, these would get mounted to
37 /mnt/gentoo/usr and /mnt/gentoo/var, respectively.
38
39 IMPORTANT NOTE: if your *boot* partition is reiserfs, be sure to mount it
40 with the "-o notail" option so GRUB gets properly installed. Make sure
41 that "notail" ends up in your new /etc/fstab boot partition entry, too.
42
43 6. Type:
44 # export ROOT=/mnt/gentoo
45 (This tells Portage where to install all the files)
46
47 7. Type:
48 # ln -s /usr/portage/profiles/default /etc/make.profile
49 (This tells Portage that we want to install the "default" system profile)
50
51 8. Type:
52 # emerge --usepkg system
53 (This tells Portage to install a basic system to ${ROOT})
54
55 9. OK; even if you'd like to custom-compile your own kernel from the bootcd
56 (yes, this is possible!) you need to emerge our default kernel package.
57 Everyone should do this:
58
59 # emerge /usr/portage/distfiles/linux-2.4.4.9.tbz2
60
61 If you want to compile your own kernel, I'll show you how in a bit.
62
63 10. If you need network connectivity for any reason, you should load the
64 appropriate NIC module now:
65 # modprobe 3c59x
66
67 11. Type:
68 # mount --bind /usr/portage /mnt/gentoo/usr/portage
69 # mount --bind /mnt/cdrom/gentoo/packages /mnt/gentoo/usr/portage/packages
70 # mount --bind /proc /mnt/gentoo/proc
71 (This gives you access to /proc and the packages even after the chroot)
72
73 12: Now, it's time to chroot:
74 # chroot /mnt/gentoo
75
76 13. Now, do some basic initialization:
77 # rm /etc/make.profile
78 # ln -s /usr/portage/profiles/default /etc/make.profile
79 # unset ROOT
80 # env-update
81 # source /etc/profile
82 # /etc/rc.d/init.d/initscripts-install
83
84 14. You can now emerge any packages in /usr/portage/packages/All that you'd
85 like to install:
86 # emerge --usepkg /usr/portage/packages/All/xfree-4.1.0.tbz2
87 (the --usepkg option is important)
88
89 15. If you want to compile your own kernel, do this:
90 *First*, edit /etc/make.conf (with vim; if you don't like vim, emerge
91 your favorite editor .tbz2 in /usr/portage/packages first)
92
93 *** set your USE variables appropriately (uncommenting the default USE ***
94 *** variable lines is the recommended approach ***
95
96 # emerge /usr/portage/packages/All/linux-sources-2.4.4.9.tbz2 (2.4.4-ac9)
97 # cd /usr/src/linux
98 # make menuconfig
99 # make dep; make clean; make bzImage; make modules; make modules_install
100 # depmod -a
101 # cd /boot/boot
102 # mv bzImage bzImage.orig
103 # cp /usr/src/linux/arch/i386/boot/bzImage .
104 ta da!
105
106 16. At this point, your Gentoo Linux system should be equivalent to a bare-bones
107 system image. A number of things still need to be set up, including:
108
109 /etc/fstab
110 /etc/localtime
111 /etc/make.conf (if you haven't already)
112 /etc/rc.d/config/basic (for keymap, etc)
113 /etc/rc.d/config/inet.eth0 (for ethernet)
114 /etc/hostname
115 /etc/resolv.conf
116 /etc/hosts
117
118 (For further instructions, see the "Gentoo Linux CD Installation Guide" at
119 http://www.gentoo.org, read from the "/etc/fstab" section onwards)
120
121 17. One last step -- configure GRUB to boot your system. Again, for further
122 detailed instructions on this, see the "Gentoo Linux CD Installation Guide"
123 at http://www.gentoo.org/doc/install.html -- GRUB configuration is covered
124 near the end of the document.
125
126 You're done! Reboot and enjoy Gentoo Linux 1.0_rc5! We'll be updating the Web
127 site with new documentation in a couple of days, and will be posting instructions
128 for the ix86 build iso soon.
129
130 --
131 Daniel Robbins <drobbins@g.o>
132 President/CEO http://www.gentoo.org
133 Gentoo Technologies, Inc.