| 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.12 2005/01/21 09:00:23 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.13 2005/03/28 11:30:53 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>1.8</version> |
11 | <version>2.00</version> |
| 12 | <date>2005-01-21</date> |
12 | <date>2005-03-28</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Making your Choice</title> |
15 | <title>Making your Choice</title> |
| 16 | <subsection> |
16 | <subsection> |
| 17 | <title>Introduction</title> |
17 | <title>Introduction</title> |
| 18 | <body> |
18 | <body> |
| 19 | |
19 | |
| 20 | <p> |
20 | <p> |
| 21 | Now that your kernel is configured and compiled and the necessary system |
21 | Now that your kernel is configured and compiled and the necessary system |
| 22 | configuration files are filled in correctly, it is time to install a |
22 | configuration files are filled in correctly, it is time to install a |
| 23 | program that will fire up your kernel when you start the system. Such a |
23 | program that will fire up your kernel when you start the system. Such a |
| 24 | program is called a <e>bootloader</e>. |
24 | program is called a <e>bootloader</e>. |
| 25 | </p> |
25 | </p> |
| 26 | |
26 | |
| 27 | </body> |
27 | </body> |
| 28 | </subsection> |
28 | </subsection> |
| 29 | </section> |
29 | </section> |
| 30 | <section> |
30 | <section> |
| 31 | <title>Installing the SPARC Bootloader: SILO</title> |
31 | <title>Installing the SPARC Bootloader: SILO</title> |
| 32 | <body> |
32 | <body> |
| 33 | |
33 | |
| 34 | <p> |
34 | <p> |
| 35 | It is now time to install and configure <uri |
35 | It is now time to install and configure <uri |
| 36 | link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot |
36 | link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot |
| 37 | LOader. |
37 | LOader. |
| 38 | </p> |
38 | </p> |
| 39 | |
39 | |
| 40 | <pre caption = "Installing SILO"> |
40 | <pre caption = "Installing SILO"> |
| 41 | # <i>emerge --usepkg silo</i> |
41 | # <i>emerge silo</i> |
| 42 | </pre> |
42 | </pre> |
| 43 | |
43 | |
| 44 | <p> |
44 | <p> |
| 45 | Now open up your favorite editor (we use <c>nano</c> as an example) and |
45 | Now open up your favorite editor (we use <c>nano</c> as an example) and |
| 46 | create <path>/etc/silo.conf</path>. |
46 | create <path>/etc/silo.conf</path>. |
| 47 | </p> |
47 | </p> |
| 48 | |
48 | |
| 49 | <pre caption = "Creating /etc/silo.conf"> |
49 | <pre caption = "Creating /etc/silo.conf"> |
| 50 | # <i>nano -w /etc/silo.conf</i> |
50 | # <i>nano -w /etc/silo.conf</i> |
| 51 | </pre> |
51 | </pre> |
| 52 | |
52 | |
| 53 | <p> |
53 | <p> |
| 54 | Below you'll find an example <path>silo.conf</path> file. It uses the |
54 | Below you'll find an example <path>silo.conf</path> file. It uses the |
| 55 | partitioning scheme we use throughout this book and |
55 | partitioning scheme we use throughout this book and |
| 56 | <path>kernel-2.4.24</path> as kernelimage. |
56 | <path>kernel-2.4.29</path> as kernelimage. |
| 57 | </p> |
57 | </p> |
| 58 | |
58 | |
| 59 | <pre caption = "Example /etc/silo.conf"> |
59 | <pre caption = "Example /etc/silo.conf"> |
| 60 | partition = 1 <comment># Boot partition (= root partition)</comment> |
60 | partition = 1 <comment># Boot partition (= root partition)</comment> |
| 61 | root = /dev/sda1 <comment># Root partition</comment> |
61 | root = /dev/sda1 <comment># Root partition</comment> |
| 62 | timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> |
62 | timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> |
| 63 | |
63 | |
| 64 | image = /boot/kernel-2.4.24 |
64 | image = /boot/kernel-2.4.29 |
| 65 | label = linux |
65 | label = linux |
| 66 | </pre> |
66 | </pre> |
| 67 | |
67 | |
| 68 | <p> |
68 | <p> |
| 69 | If you use the example <path>silo.conf</path> delivered by Portage, be |
69 | If you use the example <path>silo.conf</path> delivered by Portage, be |
| 70 | sure to comment out <e>all</e> lines that you do not need. |
70 | sure to comment out <e>all</e> lines that you do not need. |
| 71 | </p> |
71 | </p> |
| 72 | |
72 | |
| 73 | <p> |
73 | <p> |
| 74 | If the physical disk on which you want to install SILO (as bootloader) differs |
74 | If the physical disk on which you want to install SILO (as bootloader) differs |
| 75 | from the physical disk on which <path>/etc/silo.conf</path> resides, you must |
75 | from the physical disk on which <path>/etc/silo.conf</path> resides, you must |
| 76 | copy over <path>/etc/silo.conf</path> to a partition on that disk. Assuming that |
76 | copy over <path>/etc/silo.conf</path> to a partition on that disk. Assuming that |
| 77 | <path>/boot</path> is a separate partition on that disk, copy over the |
77 | <path>/boot</path> is a separate partition on that disk, copy over the |
| 78 | configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: |
78 | configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: |
| 79 | </p> |
79 | </p> |