/[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.21 - (hide annotations) (download) (as text)
Tue Apr 1 08:53:46 2008 UTC (6 years ago) by nightmorph
Branch: MAIN
Changes since 1.20: +2 -2 lines
File MIME type: application/xml
release time. note that since this is beta1, the release dir and stage/media names have been adjusted accordingly. also, the handbooks are marked with a disclaimer=draft, so once the final is out, that will be removed and the release names adjusted. in the mean time, these are live. the beta is officially released. no, it's not april fools, but it is april 1st. :)

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.21 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-sparc-bootloader.xml,v 1.20 2008/03/31 21:48:59 nightmorph Exp $ -->
8 swift 1.1
9     <sections>
10 swift 1.8
11 nightmorph 1.20 <version>3.0</version>
12 nightmorph 1.21 <date>2008-04-01</date>
13 swift 1.8
14 swift 1.1 <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 swift 1.13 # <i>emerge silo</i>
42 swift 1.1 </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 neysx 1.6 Below you'll find an example <path>silo.conf</path> file. It uses the
55 swift 1.1 partitioning scheme we use throughout this book and
56 nightmorph 1.20 <path>kernel-<keyval id="kernel-version"/></path> as kernelimage.
57 swift 1.1 </p>
58    
59     <pre caption = "Example /etc/silo.conf">
60 swift 1.12 partition = 1 <comment># Boot partition (= root partition)</comment>
61     root = /dev/sda1 <comment># Root partition</comment>
62 neysx 1.14 timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
63 swift 1.1
64 nightmorph 1.20 image = /boot/kernel-<keyval id="kernel-version"/>
65 swift 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 swift 1.3 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 swift 1.1 configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
79     </p>
80    
81 neysx 1.14 <pre caption = "Only if /boot and the SILO destination are not on the same disk">
82 swift 1.1 # <i>cp /etc/silo.conf /boot</i>
83     # <i>/sbin/silo -C /boot/silo.conf</i>
84     /boot/silo.conf appears to be valid
85     </pre>
86    
87     <p>
88 swift 1.3 Otherwise just run <c>/sbin/silo</c>:
89 swift 1.1 </p>
90    
91     <pre caption = "Run silo">
92     # <i>/sbin/silo</i>
93     /etc/silo.conf appears to be valid
94     </pre>
95    
96 nightmorph 1.20 <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 swift 1.1 <p>
102 swift 1.4 Now continue with <uri link="#reboot">Rebooting the System</uri>.
103 swift 1.1 </p>
104    
105     </body>
106     </section>
107 cam 1.5 <section id="reboot">
108 swift 1.4 <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 swift 1.7 cdimage ~# <i>cd</i>
120 neysx 1.19 cdimage ~# <i>umount /mnt/gentoo/usr /mnt/gentoo/home /mnt/gentoo/var</i>
121     cdimage ~# <i>umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i>
122 swift 1.4 cdimage ~# <i>reboot</i>
123     </pre>
124    
125     <p>
126     Of course, don't forget to remove the bootable CD, otherwise the CD will be
127     booted again instead of your new Gentoo system.
128     </p>
129    
130     <p>
131     Once rebooted in your Gentoo installation, finish up with <uri
132     link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.
133     </p>
134    
135     </body>
136     </subsection>
137     </section>
138 swift 1.1 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20