/[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.13 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.13 2005/03/28 11:30:53 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 10
11<version>2.00</version> 11<version>5</version>
12<date>2005-03-28</date> 12<date>2011-05-09</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>
35It is now time to install and configure <uri 35It is now time to install and configure <uri
36link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot 36link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot
37LOader. 37LOader.
38</p> 38</p>
39 39
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 and
56<path>kernel-2.4.29</path> as kernelimage. 56<path>kernel-<keyval id="kernel-version"/></path> as kernelimage.
57</p> 57</p>
58 58
59<pre caption = "Example /etc/silo.conf"> 59<pre caption="Example /etc/silo.conf">
60partition = 1 <comment># Boot partition (= root partition)</comment> 60partition = 1 <comment># Boot partition (= root partition)</comment>
61root = /dev/sda1 <comment># Root partition</comment> 61root = /dev/sda1 <comment># Root partition</comment>
62timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> 62timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
63 63
64image = /boot/kernel-2.4.29 64image = /boot/<keyval id="kernel-name"/>
65 label = linux 65 label = linux
66</pre> 66</pre>
67 67
68<p> 68<p>
69If 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
76copy over <path>/etc/silo.conf</path> to a partition on that disk. Assuming that 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 77<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>: 78configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
79</p> 79</p>
80 80
81<pre caption = "Only if /boot and the SILO destination are on the same disk"> 81<pre caption="Only if /boot and the SILO destination are not on the same disk">
82# <i>cp /etc/silo.conf /boot</i> 82# <i>cp /etc/silo.conf /boot</i>
83# <i>/sbin/silo -C /boot/silo.conf</i> 83# <i>/sbin/silo -C /boot/silo.conf</i>
84/boot/silo.conf appears to be valid 84/boot/silo.conf appears to be valid
85</pre> 85</pre>
86 86
87<p> 87<p>
88Otherwise just run <c>/sbin/silo</c>: 88Otherwise just run <c>/sbin/silo</c>:
89</p> 89</p>
90 90
91<pre caption = "Run silo"> 91<pre caption="Run silo">
92# <i>/sbin/silo</i> 92# <i>/sbin/silo</i>
93/etc/silo.conf appears to be valid 93/etc/silo.conf appears to be valid
94</pre> 94</pre>
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>
95 100
96<p> 101<p>
97Now continue with <uri link="#reboot">Rebooting the System</uri>. 102Now continue with <uri link="#reboot">Rebooting the System</uri>.
98</p> 103</p>
99 104
110</p> 115</p>
111 116
112<pre caption="Exiting the chroot, unmounting all partitions and rebooting"> 117<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
113# <i>exit</i> 118# <i>exit</i>
114cdimage ~# <i>cd</i> 119cdimage ~# <i>cd</i>
115cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i> 120cdimage ~# <i>umount -l /mnt/gentoo/dev{/shm,/pts,}</i>
121cdimage ~# <i>umount -l /mnt/gentoo{/usr,/home,/var,/proc,}</i>
116cdimage ~# <i>reboot</i> 122cdimage ~# <i>reboot</i>
117</pre> 123</pre>
118 124
119<p> 125<p>
120Of course, don't forget to remove the bootable CD, otherwise the CD will be 126Of course, don't forget to remove the bootable CD, otherwise the CD will be

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

  ViewVC Help
Powered by ViewVC 1.1.20