/[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.24 Revision 1.25
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/2.5 --> 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.24 2011/05/09 19:47:22 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.25 2012/09/11 22:49:20 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>5</version> 11<version>6</version>
12<date>2011-05-09</date> 12<date>2012-09-11</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>
21Now that your kernel is configured and compiled and the necessary system 21Now that your kernel is configured and compiled and the necessary system
22configuration files are filled in correctly, it is time to install a 22configuration files are filled in correctly, it is time to install a
23program that will fire up your kernel when you start the system. Such a 23program that will fire up your kernel when you start the system. Such a
24program is called a <e>bootloader</e>. 24program is called a <e>bootloader</e>.
25</p> 25</p>
26 26
27</body> 27</body>
40<pre caption="Installing SILO"> 40<pre caption="Installing SILO">
41# <i>emerge silo</i> 41# <i>emerge silo</i>
42</pre> 42</pre>
43 43
44<p> 44<p>
45Now 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
46create <path>/etc/silo.conf</path>. 46create <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>
54Below you'll 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
55partitioning scheme we use throughout this book and 55partitioning scheme we use throughout this book, <path>kernel-<keyval
56<path>kernel-<keyval id="kernel-version"/></path> as kernelimage. 56id="kernel-version"/></path> as kernelimage and <path><keyval
57id="genkernel-initrd"/></path> as initramfs.
57</p> 58</p>
58 59
59<pre caption="Example /etc/silo.conf"> 60<pre caption="Example /etc/silo.conf">
60partition = 1 <comment># Boot partition (= root partition)</comment> 61partition = 1 <comment># Boot partition (= root partition)</comment>
61root = /dev/sda1 <comment># Root partition</comment> 62root = /dev/sda1 <comment># Root partition</comment>
62timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> 63timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
63 64
64image = /boot/<keyval id="kernel-name"/> 65image = /boot/<keyval id="kernel-name"/>
65 label = linux 66 label = linux
67 append = "initrd=/boot/<keyval id="genkernel-initrd"/> real_root=/dev/sda1"
66</pre> 68</pre>
67 69
68<p> 70<p>
69If you use the example <path>silo.conf</path> delivered by Portage, be 71If you use the example <path>silo.conf</path> delivered by Portage, be
70sure to comment out <e>all</e> lines that you do not need. 72sure to comment out <e>all</e> lines that you do not need.
71</p> 73</p>
72 74
73<p> 75<p>
74If the physical disk on which you want to install SILO (as bootloader) differs 76If 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 77from 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 78copy 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 79<path>/boot</path> is a separate partition on that disk, copy over the
78configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: 80configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
79</p> 81</p>
80 82

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

  ViewVC Help
Powered by ViewVC 1.1.20