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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (hide annotations) (download) (as text)
Wed Aug 30 22:52:28 2006 UTC (8 years, 3 months ago) by nightmorph
Branch: MAIN
Changes since 1.16: +2 -3 lines
File MIME type: application/xml
2006.1 networked docs are in. portage handbook still untouched per separate bugs. thanks to all the hard work, guys. blame me if something is wrong (and please fix quickly) :)

1 swift 1.1 <?xml version='1.0' encoding='UTF-8'?>
2     <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3    
4     <!-- The content of this document is licensed under the CC-BY-SA license -->
5 neysx 1.14 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 swift 1.1
7 nightmorph 1.17 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.16 2006/01/19 21:48:10 neysx Exp $ -->
8 swift 1.1
9     <sections>
10 swift 1.8
11 nightmorph 1.17 <version>2.3</version> <date>2006-01-19</date>
12 swift 1.8
13 swift 1.1 <section>
14     <title>Making your Choice</title>
15     <subsection>
16     <title>Introduction</title>
17     <body>
18    
19     <p>
20     Now that your kernel is configured and compiled and the necessary system
21     configuration files are filled in correctly, it is time to install a
22     program that will fire up your kernel when you start the system. Such a
23     program is called a <e>bootloader</e>.
24     </p>
25    
26     </body>
27     </subsection>
28     </section>
29     <section>
30     <title>Installing the SPARC Bootloader: SILO</title>
31     <body>
32    
33     <p>
34     It is now time to install and configure <uri
35     link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot
36     LOader.
37     </p>
38    
39     <pre caption = "Installing SILO">
40 swift 1.13 # <i>emerge silo</i>
41 swift 1.1 </pre>
42    
43     <p>
44     Now open up your favorite editor (we use <c>nano</c> as an example) and
45     create <path>/etc/silo.conf</path>.
46     </p>
47    
48     <pre caption = "Creating /etc/silo.conf">
49     # <i>nano -w /etc/silo.conf</i>
50     </pre>
51    
52     <p>
53 neysx 1.6 Below you'll find an example <path>silo.conf</path> file. It uses the
54 swift 1.1 partitioning scheme we use throughout this book and
55 neysx 1.15 <path>kernel-2.4.31</path> as kernelimage.
56 swift 1.1 </p>
57    
58     <pre caption = "Example /etc/silo.conf">
59 swift 1.12 partition = 1 <comment># Boot partition (= root partition)</comment>
60     root = /dev/sda1 <comment># Root partition</comment>
61 neysx 1.14 timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
62 swift 1.1
63 neysx 1.15 image = /boot/kernel-2.4.31
64 swift 1.1 label = linux
65     </pre>
66    
67     <p>
68     If you use the example <path>silo.conf</path> delivered by Portage, be
69     sure to comment out <e>all</e> lines that you do not need.
70     </p>
71    
72     <p>
73 swift 1.3 If the physical disk on which you want to install SILO (as bootloader) differs
74     from the physical disk on which <path>/etc/silo.conf</path> resides, you must
75     copy over <path>/etc/silo.conf</path> to a partition on that disk. Assuming that
76     <path>/boot</path> is a separate partition on that disk, copy over the
77 swift 1.1 configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
78     </p>
79    
80 neysx 1.14 <pre caption = "Only if /boot and the SILO destination are not on the same disk">
81 swift 1.1 # <i>cp /etc/silo.conf /boot</i>
82     # <i>/sbin/silo -C /boot/silo.conf</i>
83     /boot/silo.conf appears to be valid
84     </pre>
85    
86     <p>
87 swift 1.3 Otherwise just run <c>/sbin/silo</c>:
88 swift 1.1 </p>
89    
90     <pre caption = "Run silo">
91     # <i>/sbin/silo</i>
92     /etc/silo.conf appears to be valid
93     </pre>
94    
95     <p>
96 swift 1.4 Now continue with <uri link="#reboot">Rebooting the System</uri>.
97 swift 1.1 </p>
98    
99     </body>
100     </section>
101 cam 1.5 <section id="reboot">
102 swift 1.4 <title>Rebooting the System</title>
103     <subsection>
104     <body>
105    
106     <p>
107     Exit the chrooted environment and unmount all mounted partitions. Then type in
108     that one magical command you have been waiting for: <c>reboot</c>.
109     </p>
110    
111     <pre caption="Exiting the chroot, unmounting all partitions and rebooting">
112     # <i>exit</i>
113 swift 1.7 cdimage ~# <i>cd</i>
114 neysx 1.16 cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i>
115 swift 1.4 cdimage ~# <i>reboot</i>
116     </pre>
117    
118     <p>
119     Of course, don't forget to remove the bootable CD, otherwise the CD will be
120     booted again instead of your new Gentoo system.
121     </p>
122    
123     <p>
124     Once rebooted in your Gentoo installation, finish up with <uri
125     link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.
126     </p>
127    
128     </body>
129     </subsection>
130     </section>
131 swift 1.1 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20