/[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.7 Revision 1.17
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.7 2004/09/24 12:08:44 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.17 2006/08/30 22:52:28 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>2.3</version> <date>2006-01-19</date>
12
10<section> 13<section>
11<title>Making your Choice</title> 14<title>Making your Choice</title>
12<subsection> 15<subsection>
13<title>Introduction</title> 16<title>Introduction</title>
14<body> 17<body>
32link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot 35link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot
33LOader. 36LOader.
34</p> 37</p>
35 38
36<pre caption = "Installing SILO"> 39<pre caption = "Installing SILO">
37# <i>emerge --usepkg silo</i> 40# <i>emerge silo</i>
38</pre> 41</pre>
39 42
40<p> 43<p>
41Now open up your favorite editor (we use <c>nano</c> as an example) and 44Now open up your favorite editor (we use <c>nano</c> as an example) and
42create <path>/etc/silo.conf</path>. 45create <path>/etc/silo.conf</path>.
47</pre> 50</pre>
48 51
49<p> 52<p>
50Below you'll find an example <path>silo.conf</path> file. It uses the 53Below you'll find an example <path>silo.conf</path> file. It uses the
51partitioning scheme we use throughout this book and 54partitioning scheme we use throughout this book and
52<path>kernel-2.4.24</path> as kernelimage. 55<path>kernel-2.4.31</path> as kernelimage.
53</p> 56</p>
54 57
55<pre caption = "Example /etc/silo.conf"> 58<pre caption = "Example /etc/silo.conf">
56partition = 1 <comment># Boot partition</comment> 59partition = 1 <comment># Boot partition (= root partition)</comment>
57root = /dev/hda4 <comment># Root partition</comment> 60root = /dev/sda1 <comment># Root partition</comment>
58timeout = 150 <comment># Wait 15 seconds before booting the default section</comment> 61timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
59 62
60image = /boot/kernel-2.4.24 63image = /boot/kernel-2.4.31
61 label = linux 64 label = linux
62</pre> 65</pre>
63 66
64<p> 67<p>
65If you use the example <path>silo.conf</path> delivered by Portage, be 68If 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 75copy 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 76<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>: 77configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
75</p> 78</p>
76 79
77<pre caption = "Only if /boot and the SILO destination are on the same disk"> 80<pre caption = "Only if /boot and the SILO destination are not on the same disk">
78# <i>cp /etc/silo.conf /boot</i> 81# <i>cp /etc/silo.conf /boot</i>
79# <i>/sbin/silo -C /boot/silo.conf</i> 82# <i>/sbin/silo -C /boot/silo.conf</i>
80/boot/silo.conf appears to be valid 83/boot/silo.conf appears to be valid
81</pre> 84</pre>
82 85
106</p> 109</p>
107 110
108<pre caption="Exiting the chroot, unmounting all partitions and rebooting"> 111<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
109# <i>exit</i> 112# <i>exit</i>
110cdimage ~# <i>cd</i> 113cdimage ~# <i>cd</i>
111cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i> 114cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i>
112cdimage ~# <i>reboot</i> 115cdimage ~# <i>reboot</i>
113</pre> 116</pre>
114 117
115<p> 118<p>
116Of course, don't forget to remove the bootable CD, otherwise the CD will be 119Of course, don't forget to remove the bootable CD, otherwise the CD will be

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20