/[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.6 Revision 1.7
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-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.6 2004/09/17 02:43:01 vapier Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v 1.7 2004/09/19 19:49:17 vapier 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>
13<title>Introduction</title> 13<title>Introduction</title>
14<body> 14<body>
15 15
16<p> 16<p>
17Now that your kernel is configured and compiled and the necessary system 17Now that your kernel is configured and compiled and the necessary system
18configuration files are filled in correctly, it is time to install a 18configuration files are filled in correctly, it is time to install a
19program that will fire up your kernel when you start the system. Such a 19program that will fire up your kernel when you start the system. Such a
20program is called a <e>bootloader</e>. 20program is called a <e>bootloader</e>.
21</p> 21</p>
22 22
50 50
51<pre caption = "Making your bootdisk bootable"> 51<pre caption = "Making your bootdisk bootable">
52# <i>swriteboot -f3 /dev/sda /boot/bootlx</i> 52# <i>swriteboot -f3 /dev/sda /boot/bootlx</i>
53# <i>abootconf /dev/sda 2</i> 53# <i>abootconf /dev/sda 2</i>
54</pre> 54</pre>
55 55
56<note> 56<note>
57If you use a different partitioning scheme than the one we use 57If you use a different partitioning scheme than the one we use
58throughout this chapter, you have to change the commands accordingly. 58throughout this chapter, you have to change the commands accordingly.
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 automatically 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 = "Automatically 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>cd /proc/srm_environment/named_variables</i> 72# <i>cd /proc/srm_environment/named_variables</i>
73# <i>echo -n 0 &gt; boot_osflags</i> 73# <i>echo -n 0 &gt; boot_osflags</i>
74# <i>echo -n '' &gt; boot_file</i> 74# <i>echo -n '' &gt; boot_file</i>
75# <i>echo -n 'BOOT' &gt; auto_boot</i> 75# <i>echo -n 'BOOT' &gt; auto_action</i>
76# <i>echo -n 'dkc100' &gt; bootdef_dev</i> 76# <i>echo -n 'dkc100' &gt; bootdef_dev</i>
77<comment>(Substitute dkc100 with whatever your boot device is)</comment> 77<comment>(Substitute dkc100 with whatever your boot device is)</comment>
78</pre> 78</pre>
79 79
80<p> 80<p>
81If you need to get into the SRM console again in the future (to recover 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 82your Gentoo install, play with some variables, or whatever), just hit
83CTRL+C to abort the automatic loading process. 83CTRL+C to abort the automatic loading process.
84</p> 84</p>
85 85
86<p> 86<p>
87If 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
88the serial console boot flag in <path>aboot.conf</path>. See 88the serial console boot flag in <path>aboot.conf</path>. See
89<path>/etc/aboot.conf.example</path> for some further information. 89<path>/etc/aboot.conf.example</path> for some further information.
90</p> 90</p>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20