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

Diff of /xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.8
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v 1.2 2004/04/04 04:07:12 erwin Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v 1.8 2004/09/24 12:08:44 swift Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Making your Choice</title> 11<title>Making your Choice</title>
12<subsection> 12<subsection>
59Please read the appropriate manual pages (<c>man 8 swriteboot</c> and 59Please read the appropriate manual pages (<c>man 8 swriteboot</c> and
60<c>man 8 abootconf</c>). 60<c>man 8 abootconf</c>).
61</note> 61</note>
62 62
63<p> 63<p>
64Additionally, you can make Gentoo boot more easily by setting up the 64Additionally, you can make Gentoo boot automatically by setting up the
65aboot configuration file and SRM boot_osflags variable. You will need to 65aboot configuration file and some SRM variables. You can try setting
66make sure that the bootdef_dev is also properly set (easier to do at the 66these variables from Linux, but it may be easier to do so from the SRM
67console than from Linux). 67console itself.
68</p> 68</p>
69 69
70<pre caption = "Improve booting Gentoo"> 70<pre caption = "Automatically booting Gentoo">
71# <i>echo '0:2/boot/vmlinux.gz root=/dev/sda2' &gt; /etc/aboot.conf</i> 71# <i>echo '0:2/boot/vmlinux.gz root=/dev/sda2' &gt; /etc/aboot.conf</i>
72# <i>echo -n 0 &gt; /proc/srm_environment/named_variables/boot_osflags</i>
73# <i>echo -n '' &gt; /proc/srm_environment/named_variables/boot_file</i> 72# <i>cd /proc/srm_environment/named_variables</i>
73# <i>echo -n 0 &gt; boot_osflags</i>
74# <i>echo -n '' &gt; boot_file</i>
75# <i>echo -n 'BOOT' &gt; auto_action</i>
76# <i>echo -n 'dkc100' &gt; bootdef_dev</i>
77<comment>(Substitute dkc100 with whatever your boot device is)</comment>
74</pre> 78</pre>
75 79
76<p> 80<p>
81If you need to get into the SRM console again in the future (to recover
82your Gentoo install, play with some variables, or whatever), just hit
83CTRL+C to abort the automatic loading process.
84</p>
85
86<p>
77If you're installing using a serial console, don't forget to include 87If you're installing using a serial console, don't forget to include
78the serial console boot flag in <path>aboot.conf</path>. See 88the serial console boot flag in <path>aboot.conf</path>. See
79<path>/etc/aboot.conf.example</path> for some further information. 89<path>/etc/aboot.conf.example</path> for some further information.
80</p> 90</p>
81 91
82<p> 92<p>
83Aboot is now configured and ready to use. Continue with <uri 93Aboot is now configured and ready to use. Continue with <uri
84link="?part=1&amp;chap=10">Installing Necessary System Tools</uri>. 94link="#reboot">Rebooting the System</uri>.
85</p> 95</p>
86 96
87</body> 97</body>
88</section> 98</section>
89<section id="milo"> 99<section id="milo">
135Not reading the <uri link="http://tldp.org/HOWTO/MILO-HOWTO/">MILO-HOWTO</uri> 145Not reading the <uri link="http://tldp.org/HOWTO/MILO-HOWTO/">MILO-HOWTO</uri>
136is a <e>bad</e> idea. 146is a <e>bad</e> idea.
137</p> 147</p>
138 148
139<p> 149<p>
140Now continue with <uri link="?part=1&amp;chap=10">Installing Necessary System 150Now continue with <uri link="#reboot">Rebooting the System</uri>.
141Tools</uri>.
142</p> 151</p>
143 152
144</body> 153</body>
145</section> 154</section>
155<section id="reboot">
156<title>Rebooting the System</title>
157<subsection>
158<body>
159
160<p>
161Exit the chrooted environment and unmount all mounted partitions. Then type in
162that one magical command you have been waiting for: <c>reboot</c>.
163</p>
164
165<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
166# <i>exit</i>
167cdimage ~# <i>cd</i>
168cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i>
169cdimage ~# <i>reboot</i>
170</pre>
171
172<p>
173Of course, don't forget to remove the bootable CD, otherwise the CD will be
174booted again instead of your new Gentoo system.
175</p>
176
177<p>
178Once rebooted in your Gentoo installation, finish up with <uri
179link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.
180</p>
181
182</body>
183</subsection>
184</section>
185
146</sections> 186</sections>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20