| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml,v 1.2 2006/05/31 09:26:31 neysx Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml,v 1.3 2006/06/29 12:33:23 rane Exp $ --> |
| 3 | |
3 | |
| 4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 5 | |
5 | |
| 6 | <guide link="/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml" lang="en"> |
6 | <guide link="/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml" lang="en"> |
| 7 | <title>Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide</title> |
7 | <title>Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide</title> |
| … | |
… | |
| 33 | <section> |
33 | <section> |
| 34 | <body> |
34 | <body> |
| 35 | |
35 | |
| 36 | <p> |
36 | <p> |
| 37 | This guide contains all commands you should use to complete a stage3 |
37 | This guide contains all commands you should use to complete a stage3 |
| 38 | installation including LVM2 on top of software RAID. This guide is targetted at |
38 | installation including LVM2 on top of software RAID. This guide is targeted at |
| 39 | experienced users. You need a connection to the Internet to download the stage3 |
39 | experienced users. You need a connection to the Internet to download the stage3 |
| 40 | and Portage snapshots. |
40 | and Portage snapshots. |
| 41 | </p> |
41 | </p> |
| 42 | |
42 | |
| 43 | <p> |
43 | <p> |
| … | |
… | |
| 52 | <pre caption="Test box specs"> |
52 | <pre caption="Test box specs"> |
| 53 | <comment>(The following specs and the timing information should help you determine |
53 | <comment>(The following specs and the timing information should help you determine |
| 54 | a rough estimate of the time you need to complete your install)</comment> |
54 | a rough estimate of the time you need to complete your install)</comment> |
| 55 | |
55 | |
| 56 | # <i>grep bogo /proc/cpuinfo</i> |
56 | # <i>grep bogo /proc/cpuinfo</i> |
| 57 | bogomip : 3337.81 |
57 | bogomips : 3337.81 |
| 58 | |
58 | |
| 59 | # <i>hdparm -tT /dev/sda /dev/sdb</i> |
59 | # <i>hdparm -tT /dev/sda /dev/sdb</i> |
| 60 | /dev/sda: |
60 | /dev/sda: |
| 61 | reads: 1048 MB in 2.00 seconds = 524.00 MB/sec |
61 | reads: 1048 MB in 2.00 seconds = 524.00 MB/sec |
| 62 | Timing buffered disk reads: 152 MB in 3.01 seconds = 50.50 MB/sec |
62 | Timing buffered disk reads: 152 MB in 3.01 seconds = 50.50 MB/sec |
| … | |
… | |
| 108 | option to prevent the X graphical environment from starting. Several options |
108 | option to prevent the X graphical environment from starting. Several options |
| 109 | allow to enable or disable some features. If all goes well, your hardware will |
109 | allow to enable or disable some features. If all goes well, your hardware will |
| 110 | be detected and all modules will be loaded. If the kernel fails to boot |
110 | be detected and all modules will be loaded. If the kernel fails to boot |
| 111 | properly or if your computer hangs during the boot procedure, you may have to |
111 | properly or if your computer hangs during the boot procedure, you may have to |
| 112 | experience with different configurations. The safest way is probably to use the |
112 | experience with different configurations. The safest way is probably to use the |
| 113 | <c>nodetect</c> option and then load required modules explicitely. |
113 | <c>nodetect</c> option and then load required modules explicily. |
| 114 | </p> |
114 | </p> |
| 115 | |
115 | |
| 116 | <pre caption="Boot the minimal CD"> |
116 | <pre caption="Boot the minimal CD"> |
| 117 | Gentoo Linux Installation LiveCD http://www.gentoo.org |
117 | Gentoo Linux Installation LiveCD http://www.gentoo.org |
| 118 | Enter to Boot; F1 for kernels F2 for options. |
118 | Enter to Boot; F1 for kernels F2 for options. |
| … | |
… | |
| 174 | livecd root # <i>net-setup eth0</i> |
174 | livecd root # <i>net-setup eth0</i> |
| 175 | </pre> |
175 | </pre> |
| 176 | |
176 | |
| 177 | <p> |
177 | <p> |
| 178 | Alternatively, you can start networking manually. The following example assigns |
178 | Alternatively, you can start networking manually. The following example assigns |
| 179 | the IP addess 192.168.1.10 to your PC and defines 192.168.1.1 as your router |
179 | the IP address 192.168.1.10 to your PC and defines 192.168.1.1 as your router |
| 180 | and name server. |
180 | and name server. |
| 181 | </p> |
181 | </p> |
| 182 | |
182 | |
| 183 | <pre caption="Configure networking the manual way"> |
183 | <pre caption="Configure networking the manual way"> |
| 184 | livecd root # <i>ifconfig eth0 192.168.1.10/24</i> |
184 | livecd root # <i>ifconfig eth0 192.168.1.10/24</i> |
| … | |
… | |
| 217 | <p> |
217 | <p> |
| 218 | Now, set the root password on the liveCD so that you can connect to it from |
218 | Now, set the root password on the liveCD so that you can connect to it from |
| 219 | another PC. Please note that allowing root to connect over ssh is not |
219 | another PC. Please note that allowing root to connect over ssh is not |
| 220 | recommended under normal circumstances. If you can't trust your local network, |
220 | recommended under normal circumstances. If you can't trust your local network, |
| 221 | use a long and complex password, you should use it only once as it will |
221 | use a long and complex password, you should use it only once as it will |
| 222 | disappear after your first rebot. |
222 | disappear after your first reboot. |
| 223 | </p> |
223 | </p> |
| 224 | |
224 | |
| 225 | <pre caption="Set the root password"> |
225 | <pre caption="Set the root password"> |
| 226 | livecd root # <i>passwd</i> |
226 | livecd root # <i>passwd</i> |
| 227 | New UNIX password: <comment>type_a_password</comment> |
227 | New UNIX password: <comment>type_a_password</comment> |
| … | |
… | |
| 233 | Now, you can start a terminal on another PC and connect to your new box, follow |
233 | Now, you can start a terminal on another PC and connect to your new box, follow |
| 234 | the rest of this guide in another window, and cut and paste commands. |
234 | the rest of this guide in another window, and cut and paste commands. |
| 235 | </p> |
235 | </p> |
| 236 | |
236 | |
| 237 | <pre caption="Connect to your new box from another PC"> |
237 | <pre caption="Connect to your new box from another PC"> |
| 238 | <comment>(Use the IP addess of your new box)</comment> |
238 | <comment>(Use the IP address of your new box)</comment> |
| 239 | $ <i>ssh root@192.168.1.10</i> |
239 | $ <i>ssh root@192.168.1.10</i> |
| 240 | The authenticity of host '192.168.1.10 (192.168.1.10)' can't be established. |
240 | The authenticity of host '192.168.1.10 (192.168.1.10)' can't be established. |
| 241 | RSA key fingerprint is 96:e7:2d:12:ac:9c:b0:94:90:9f:40:89:b0:45:26:8f. |
241 | RSA key fingerprint is 96:e7:2d:12:ac:9c:b0:94:90:9f:40:89:b0:45:26:8f. |
| 242 | Are you sure you want to continue connecting (yes/no)? <i>yes</i> |
242 | Are you sure you want to continue connecting (yes/no)? <i>yes</i> |
| 243 | Warning: Permanently added '192.168.1.10' (RSA) to the list of known hosts. |
243 | Warning: Permanently added '192.168.1.10' (RSA) to the list of known hosts. |