/[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.6 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.6 2004/08/30 17:44:00 neysx 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>
50Below 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
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
72copy 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
73<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
74configuration file to <path>/boot</path> and run <c>/sbin/silo</c>: 78configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
75</p> 79</p>
76 80
77<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">
78# <i>cp /etc/silo.conf /boot</i> 82# <i>cp /etc/silo.conf /boot</i>
79# <i>/sbin/silo -C /boot/silo.conf</i> 83# <i>/sbin/silo -C /boot/silo.conf</i>
80/boot/silo.conf appears to be valid 84/boot/silo.conf appears to be valid
81</pre> 85</pre>
82 86
83<p> 87<p>
84Otherwise just run <c>/sbin/silo</c>: 88Otherwise just run <c>/sbin/silo</c>:
85</p> 89</p>
86 90
87<pre caption = "Run silo"> 91<pre caption="Run silo">
88# <i>/sbin/silo</i> 92# <i>/sbin/silo</i>
89/etc/silo.conf appears to be valid 93/etc/silo.conf appears to be valid
90</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>
91 100
92<p> 101<p>
93Now continue with <uri link="#reboot">Rebooting the System</uri>. 102Now continue with <uri link="#reboot">Rebooting the System</uri>.
94</p> 103</p>
95 104
105that one magical command you have been waiting for: <c>reboot</c>. 114that one magical command you have been waiting for: <c>reboot</c>.
106</p> 115</p>
107 116
108<pre caption="Exiting the chroot, unmounting all partitions and rebooting"> 117<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
109# <i>exit</i> 118# <i>exit</i>
110cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</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>
111cdimage ~# <i>reboot</i> 122cdimage ~# <i>reboot</i>
112</pre> 123</pre>
113 124
114<p> 125<p>
115Of 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.6  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20