/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.24
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/2.5 -->
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.24 2011/05/09 19:47:22 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>5</version>
12<date>2011-05-09</date>
13
10<section> 14<section>
11<title>Making your Choice</title> 15<title>Making your Choice</title>
12<subsection> 16<subsection>
13<title>Introduction</title> 17<title>Introduction</title>
14<body> 18<body>
31It is now time to install and configure <uri 35It is now time to install and configure <uri
32link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot 36link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot
33LOader. 37LOader.
34</p> 38</p>
35 39
36<pre caption = "Installing SILO"> 40<pre caption="Installing SILO">
37# <i>emerge --usepkg silo</i> 41# <i>emerge silo</i>
38</pre> 42</pre>
39 43
40<p> 44<p>
41Now open up your favorite editor (we use <c>nano</c> as an example) and 45Now open up your favorite editor (we use <c>nano</c> as an example) and
42create <path>/etc/silo.conf</path>. 46create <path>/etc/silo.conf</path>.
43</p> 47</p>
44 48
45<pre caption = "Creating /etc/silo.conf"> 49<pre caption="Creating /etc/silo.conf">
46# <i>nano -w /etc/silo.conf</i> 50# <i>nano -w /etc/silo.conf</i>
47</pre> 51</pre>
48 52
49<p> 53<p>
50Beneath you find an example <path>silo.conf</path> file. It uses the 54Below you'll find an example <path>silo.conf</path> file. It uses the
51partitioning scheme we use throughout this book and 55partitioning scheme we use throughout this book and
52<path>kernel-2.4.24</path> as kernelimage. 56<path>kernel-<keyval id="kernel-version"/></path> as kernelimage.
53</p> 57</p>
54 58
55<pre caption = "Example /etc/silo.conf"> 59<pre caption="Example /etc/silo.conf">
56partition = 1 <comment># Boot partition</comment> 60partition = 1 <comment># Boot partition (= root partition)</comment>
57root = /dev/hda4 <comment># Root partition</comment> 61root = /dev/sda1 <comment># Root partition</comment>
58timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> 62timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
59 63
60image = /boot/kernel-2.4.24 64image = /boot/<keyval id="kernel-name"/>
61 label = linux 65 label = linux
62</pre> 66</pre>
63 67
64<p> 68<p>
65If you use the example <path>silo.conf</path> delivered by Portage, be 69If you use the example <path>silo.conf</path> delivered by Portage, be
66sure to comment out <e>all</e> lines that you do not need. 70sure to comment out <e>all</e> lines that you do not need.
67</p> 71</p>
68 72
69<p> 73<p>
70If you have a separate <path>/boot</path> partition, copy over the 74If the physical disk on which you want to install SILO (as bootloader) differs
75from the physical disk on which <path>/etc/silo.conf</path> resides, you must
76copy 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
71configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: 78configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
72</p> 79</p>
73 80
74<pre caption = "Only if you have /boot on a separate partition"> 81<pre caption="Only if /boot and the SILO destination are not on the same disk">
75# <i>cp /etc/silo.conf /boot</i> 82# <i>cp /etc/silo.conf /boot</i>
76# <i>/sbin/silo -C /boot/silo.conf</i> 83# <i>/sbin/silo -C /boot/silo.conf</i>
77/boot/silo.conf appears to be valid 84/boot/silo.conf appears to be valid
78</pre> 85</pre>
79 86
80<p> 87<p>
81If your <path>/boot</path> directory resides on your root partition,
82just run <c>/sbin/silo</c>: 88Otherwise just run <c>/sbin/silo</c>:
83</p> 89</p>
84 90
85<pre caption = "Run silo"> 91<pre caption="Run silo">
86# <i>/sbin/silo</i> 92# <i>/sbin/silo</i>
87/etc/silo.conf appears to be valid 93/etc/silo.conf appears to be valid
88</pre> 94</pre>
89 95
96<note>
97You have to run <c>silo</c> (with parameters) again each time you update or
98reinstall the <c>sys-boot/silo</c> package.
99</note>
100
90<p> 101<p>
91Now continue with <uri link="?part=1&amp;chap=10">Installing Necessary System 102Now continue with <uri link="#reboot">Rebooting the System</uri>.
92Tools</uri>.
93</p> 103</p>
94 104
95</body> 105</body>
96</section> 106</section>
107<section id="reboot">
108<title>Rebooting the System</title>
109<subsection>
110<body>
111
112<p>
113Exit the chrooted environment and unmount all mounted partitions. Then type in
114that one magical command you have been waiting for: <c>reboot</c>.
115</p>
116
117<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
118# <i>exit</i>
119cdimage ~# <i>cd</i>
120cdimage ~# <i>umount -l /mnt/gentoo/dev{/shm,/pts,}</i>
121cdimage ~# <i>umount -l /mnt/gentoo{/usr,/home,/var,/proc,}</i>
122cdimage ~# <i>reboot</i>
123</pre>
124
125<p>
126Of course, don't forget to remove the bootable CD, otherwise the CD will be
127booted again instead of your new Gentoo system.
128</p>
129
130<p>
131Once rebooted in your Gentoo installation, finish up with <uri
132link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.
133</p>
134
135</body>
136</subsection>
137</section>
97</sections> 138</sections>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20