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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download) (as text)
Mon Apr 2 01:08:20 2007 UTC (13 years, 5 months ago) by nightmorph
Branch: MAIN
Changes since 1.1: +4 -4 lines
File MIME type: application/xml
conditionals

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

  ViewVC Help
Powered by ViewVC 1.1.20