/[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.3 - (hide annotations) (download) (as text)
Sat Apr 17 06:54:52 2004 UTC (10 years, 3 months ago) by swift
Branch: MAIN
Changes since 1.2: +7 -5 lines
File MIME type: application/xml
According to http://www.sparc-boot.org/usingsilo.html you only need to copy over
the silo.conf file to /boot if / (where /etc/silo.conf resides) is on a
different physical disk than where you want to install SILO on (and /boot is on
the same disk). For instance, if you want to install SILO on /dev/sda but your
"/" resides on /dev/sdb# then you should have your "/boot" somewhere on
/dev/sda# and copy over /etc/silo.conf to /boot and run silo with the "-C"
option.

Still catching up? Just read the beforementioned URL :)

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     <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6    
7 swift 1.3 <!-- $Header: /home/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.2 2004/04/15 06:56:28 swift Exp $ -->
8 swift 1.1
9     <sections>
10     <section>
11     <title>Making your Choice</title>
12     <subsection>
13     <title>Introduction</title>
14     <body>
15    
16     <p>
17     Now that your kernel is configured and compiled and the necessary system
18     configuration files are filled in correctly, it is time to install a
19     program that will fire up your kernel when you start the system. Such a
20     program is called a <e>bootloader</e>.
21     </p>
22    
23     </body>
24     </subsection>
25     </section>
26     <section>
27     <title>Installing the SPARC Bootloader: SILO</title>
28     <body>
29    
30     <p>
31     It is now time to install and configure <uri
32     link="http://www.sparc-boot.org">SILO</uri>, the Sparc Improved boot
33     LOader.
34     </p>
35    
36     <pre caption = "Installing SILO">
37     # <i>emerge --usepkg silo</i>
38     </pre>
39    
40     <p>
41     Now open up your favorite editor (we use <c>nano</c> as an example) and
42     create <path>/etc/silo.conf</path>.
43     </p>
44    
45     <pre caption = "Creating /etc/silo.conf">
46     # <i>nano -w /etc/silo.conf</i>
47     </pre>
48    
49     <p>
50     Beneath you find an example <path>silo.conf</path> file. It uses the
51     partitioning scheme we use throughout this book and
52     <path>kernel-2.4.24</path> as kernelimage.
53     </p>
54    
55     <pre caption = "Example /etc/silo.conf">
56     partition = 1 <comment># Boot partition</comment>
57     root = /dev/hda4 <comment># Root partition</comment>
58 swift 1.2 timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
59 swift 1.1
60     image = /boot/kernel-2.4.24
61     label = linux
62     </pre>
63    
64     <p>
65     If you use the example <path>silo.conf</path> delivered by Portage, be
66     sure to comment out <e>all</e> lines that you do not need.
67     </p>
68    
69     <p>
70 swift 1.3 If the physical disk on which you want to install SILO (as bootloader) differs
71     from the physical disk on which <path>/etc/silo.conf</path> resides, you must
72     copy 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
74 swift 1.1 configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
75     </p>
76    
77 swift 1.3 <pre caption = "Only if /boot and the SILO destination are on the same disk">
78 swift 1.1 # <i>cp /etc/silo.conf /boot</i>
79     # <i>/sbin/silo -C /boot/silo.conf</i>
80     /boot/silo.conf appears to be valid
81     </pre>
82    
83     <p>
84 swift 1.3 Otherwise just run <c>/sbin/silo</c>:
85 swift 1.1 </p>
86    
87     <pre caption = "Run silo">
88     # <i>/sbin/silo</i>
89     /etc/silo.conf appears to be valid
90     </pre>
91    
92     <p>
93     Now continue with <uri link="?part=1&amp;chap=10">Installing Necessary System
94     Tools</uri>.
95     </p>
96    
97     </body>
98     </section>
99     </sections>

  ViewVC Help
Powered by ViewVC 1.1.20