/[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.13 Revision 1.14
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.13 2005/03/28 11:30:52 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v 1.14 2005/03/29 21:04:39 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.00</version> 11<version>2.1</version>
12<date>2005-03-28</date> 12<date>2005-03-29</date>
13 13
14<section> 14<section>
15<title>Making your Choice</title> 15<title>Making your Choice</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
18<body> 18<body>
19 19
20<p> 20<p>
21Now that your kernel is configured and compiled and the necessary system 21Now that your kernel is configured and compiled and the necessary system
22configuration files are filled in correctly, it is time to install a 22configuration files are filled in correctly, it is time to install a
23program that will fire up your kernel when you start the system. Such a 23program that will fire up your kernel when you start the system. Such a
24program is called a <e>bootloader</e>. 24program is called a <e>bootloader</e>.
25</p> 25</p>
26 26
27<p> 27<p>
49<p> 49<p>
50The next step is to make our bootdisk bootable. This will start 50The next step is to make our bootdisk bootable. This will start
51<c>aboot</c> when you boot your system. We make our bootdisk bootable by 51<c>aboot</c> when you boot your system. We make our bootdisk bootable by
52writing the <c>aboot</c> bootloader to the start of the disk. 52writing the <c>aboot</c> bootloader to the start of the disk.
53</p> 53</p>
54 54
55<pre caption = "Making your bootdisk bootable"> 55<pre caption = "Making your bootdisk bootable">
56# <i>swriteboot -f3 /dev/sda /boot/bootlx</i> 56# <i>swriteboot -f3 /dev/sda /boot/bootlx</i>
57# <i>abootconf /dev/sda 2</i> 57# <i>abootconf /dev/sda 2</i>
58</pre> 58</pre>
59 59
60<note> 60<note>
61If you use a different partitioning scheme than the one we use 61If you use a different partitioning scheme than the one we use
62throughout this chapter, you have to change the commands accordingly. 62throughout this chapter, you have to change the commands accordingly.
63Please read the appropriate manual pages (<c>man 8 swriteboot</c> and 63Please read the appropriate manual pages (<c>man 8 swriteboot</c> and
64<c>man 8 abootconf</c>). 64<c>man 8 abootconf</c>). Also, if your root filesystem is ran using the JFS
65filesystem, make sure it gets mounted read-only at first by adding <c>ro</c> as
66a kernel option.
65</note> 67</note>
66 68
67<p> 69<p>
68Additionally, you can make Gentoo boot automatically by setting up the 70Additionally, you can make Gentoo boot automatically by setting up the
69aboot configuration file and some SRM variables. You can try setting 71aboot configuration file and some SRM variables. You can try setting
70these variables from Linux, but it may be easier to do so from the SRM 72these variables from Linux, but it may be easier to do so from the SRM
71console itself. 73console itself.
72</p> 74</p>
73 75
74<pre caption = "Automatically booting Gentoo"> 76<pre caption = "Automatically booting Gentoo">
75# <i>echo '0:2/boot/vmlinux.gz root=/dev/sda2' &gt; /etc/aboot.conf</i> 77# <i>echo '0:2/boot/vmlinux.gz root=/dev/sda2' &gt; /etc/aboot.conf</i>
76# <i>cd /proc/srm_environment/named_variables</i> 78# <i>cd /proc/srm_environment/named_variables</i>
77# <i>echo -n 0 &gt; boot_osflags</i> 79# <i>echo -n 0 &gt; boot_osflags</i>
78# <i>echo -n '' &gt; boot_file</i> 80# <i>echo -n '' &gt; boot_file</i>
79# <i>echo -n 'BOOT' &gt; auto_action</i> 81# <i>echo -n 'BOOT' &gt; auto_action</i>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20