| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.2 2004/04/15 06:56:28 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.3 2004/04/17 06:54:52 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>Making your Choice</title> |
11 | <title>Making your Choice</title> |
| 12 | <subsection> |
12 | <subsection> |
| 13 | <title>Introduction</title> |
13 | <title>Introduction</title> |
| 14 | <body> |
14 | <body> |
| 15 | |
15 | |
| 16 | <p> |
16 | <p> |
| 17 | Now that your kernel is configured and compiled and the necessary system |
17 | Now that your kernel is configured and compiled and the necessary system |
| 18 | configuration files are filled in correctly, it is time to install a |
18 | configuration files are filled in correctly, it is time to install a |
| 19 | program that will fire up your kernel when you start the system. Such a |
19 | program that will fire up your kernel when you start the system. Such a |
| 20 | program is called a <e>bootloader</e>. |
20 | program is called a <e>bootloader</e>. |
| 21 | </p> |
21 | </p> |
| 22 | |
22 | |
| … | |
… | |
| 55 | <pre caption = "Example /etc/silo.conf"> |
55 | <pre caption = "Example /etc/silo.conf"> |
| 56 | partition = 1 <comment># Boot partition</comment> |
56 | partition = 1 <comment># Boot partition</comment> |
| 57 | root = /dev/hda4 <comment># Root partition</comment> |
57 | root = /dev/hda4 <comment># Root partition</comment> |
| 58 | timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> |
58 | timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> |
| 59 | |
59 | |
| 60 | image = /boot/kernel-2.4.24 |
60 | image = /boot/kernel-2.4.24 |
| 61 | label = linux |
61 | label = linux |
| 62 | </pre> |
62 | </pre> |
| 63 | |
63 | |
| 64 | <p> |
64 | <p> |
| 65 | If you use the example <path>silo.conf</path> delivered by Portage, be |
65 | If you use the example <path>silo.conf</path> delivered by Portage, be |
| 66 | sure to comment out <e>all</e> lines that you do not need. |
66 | sure to comment out <e>all</e> lines that you do not need. |
| 67 | </p> |
67 | </p> |
| 68 | |
68 | |
| 69 | <p> |
69 | <p> |
| 70 | If you have a separate <path>/boot</path> partition, copy over the |
70 | If the physical disk on which you want to install SILO (as bootloader) differs |
|
|
71 | from the physical disk on which <path>/etc/silo.conf</path> resides, you must |
|
|
72 | copy over <path>/etc/silo.conf</path> to a partition on that disk. Assuming that |
|
|
73 | <path>/boot</path> is a separate partition on that disk, copy over the |
| 71 | configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: |
74 | configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: |
| 72 | </p> |
75 | </p> |
| 73 | |
76 | |
| 74 | <pre caption = "Only if you have /boot on a separate partition"> |
77 | <pre caption = "Only if /boot and the SILO destination are on the same disk"> |
| 75 | # <i>cp /etc/silo.conf /boot</i> |
78 | # <i>cp /etc/silo.conf /boot</i> |
| 76 | # <i>/sbin/silo -C /boot/silo.conf</i> |
79 | # <i>/sbin/silo -C /boot/silo.conf</i> |
| 77 | /boot/silo.conf appears to be valid |
80 | /boot/silo.conf appears to be valid |
| 78 | </pre> |
81 | </pre> |
| 79 | |
82 | |
| 80 | <p> |
83 | <p> |
| 81 | If your <path>/boot</path> directory resides on your root partition, |
|
|
| 82 | just run <c>/sbin/silo</c>: |
84 | Otherwise just run <c>/sbin/silo</c>: |
| 83 | </p> |
85 | </p> |
| 84 | |
86 | |
| 85 | <pre caption = "Run silo"> |
87 | <pre caption = "Run silo"> |
| 86 | # <i>/sbin/silo</i> |
88 | # <i>/sbin/silo</i> |
| 87 | /etc/silo.conf appears to be valid |
89 | /etc/silo.conf appears to be valid |
| 88 | </pre> |
90 | </pre> |
| 89 | |
91 | |
| 90 | <p> |
92 | <p> |
| 91 | Now continue with <uri link="?part=1&chap=10">Installing Necessary System |
93 | Now continue with <uri link="?part=1&chap=10">Installing Necessary System |
| 92 | Tools</uri>. |
94 | Tools</uri>. |
| 93 | </p> |
95 | </p> |
| 94 | |
96 | |
| 95 | </body> |
97 | </body> |
| 96 | </section> |
98 | </section> |
| 97 | </sections> |
99 | </sections> |