/[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.7 - (show annotations) (download) (as text)
Fri Sep 24 12:08:44 2004 UTC (10 years, 2 months ago) by swift
Branch: MAIN
Changes since 1.6: +2 -1 lines
File MIME type: application/xml
Exit from the mountpoint before unmounting as reported by John Holden

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 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.6 2004/08/30 17:44:00 neysx Exp $ -->
8
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 Below you'll 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 timeout = 150 <comment># Wait 15 seconds before booting the default section</comment>
59
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 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 configuration file to <path>/boot</path> and run <c>/sbin/silo</c>:
75 </p>
76
77 <pre caption = "Only if /boot and the SILO destination are on the same disk">
78 # <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 Otherwise just run <c>/sbin/silo</c>:
85 </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="#reboot">Rebooting the System</uri>.
94 </p>
95
96 </body>
97 </section>
98 <section id="reboot">
99 <title>Rebooting the System</title>
100 <subsection>
101 <body>
102
103 <p>
104 Exit the chrooted environment and unmount all mounted partitions. Then type in
105 that one magical command you have been waiting for: <c>reboot</c>.
106 </p>
107
108 <pre caption="Exiting the chroot, unmounting all partitions and rebooting">
109 # <i>exit</i>
110 cdimage ~# <i>cd</i>
111 cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i>
112 cdimage ~# <i>reboot</i>
113 </pre>
114
115 <p>
116 Of course, don't forget to remove the bootable CD, otherwise the CD will be
117 booted again instead of your new Gentoo system.
118 </p>
119
120 <p>
121 Once rebooted in your Gentoo installation, finish up with <uri
122 link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.
123 </p>
124
125 </body>
126 </subsection>
127 </section>
128 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20