72 lines
5.0 KiB
HTML
72 lines
5.0 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="task" />
|
||
|
<meta name="DC.Title" content="Boot from the A and B IPL source" />
|
||
|
<meta name="abstract" content="A logical partition running Linux can start from either the A or B IPL source." />
|
||
|
<meta name="description" content="A logical partition running Linux can start from either the A or B IPL source." />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzalmbootsource" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Boot from the A and B IPL source</title>
|
||
|
</head>
|
||
|
<body id="rzalmbootsource"><a name="rzalmbootsource"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Boot from the A and B IPL source</h1>
|
||
|
<div><p>A logical partition running Linux can start from either the A or
|
||
|
B IPL source.</p>
|
||
|
<div class="p">Linux must be installed on the server and previously loaded from a
|
||
|
different source before this option can be used. Administration authority
|
||
|
must be obtained before performing this task. For more information on how
|
||
|
to configure user profiles, refer to <a href="../rzait/rzaitauthority.htm">Logical partition authority</a> for more information. To
|
||
|
copy a kernel into the A or B IPL source, the /proc file system is used. The
|
||
|
command used to copy the kernel into the A IPL source is dd if=/path/to/vmlinux
|
||
|
of=/proc/iSeries/mf/A/vmlinux bs=4096. The command used to copy the kernel
|
||
|
into the B IPL source is dd if=/path/to/vmlinux of=/proc/iSeries/mf/B/vmlinux
|
||
|
bs=4096. The advantage of using this start source is that Linux starts faster.
|
||
|
A disadvantage is that the start source cannot be saved or restored. It is
|
||
|
also difficult to tell which IPL source has stored the kernel. If you need
|
||
|
to pass arguments to the kernel during start, you can modify the kernel command
|
||
|
line parameters either through the Work with partitions service tool on your i5/OS<sup>®</sup> primary
|
||
|
partition or through the /proc file system under Linux. </div>
|
||
|
<div class="section">Follow these steps to set the kernel command line:</div>
|
||
|
<ol><li class="stepexpand"><span>At the i5/OS command line, type <kbd class="userinput">STRSST</kbd> and
|
||
|
press <span class="uicontrol">Enter</span>.</span></li>
|
||
|
<li class="stepexpand"><span>From the Start Service Tools (STRSST) Sign On display, provide
|
||
|
the Service Tools user ID and password and press <span class="uicontrol">Enter</span>. </span> For more information on how to configure user profiles, refer to <a href="../rzait/rzaitauthority.htm">Logical partition
|
||
|
authority</a> for more information.</li>
|
||
|
<li class="stepexpand"><span>From the System Service Tools (SST) display, select option <span class="uicontrol">5</span> (Work
|
||
|
with servers) and press <span class="uicontrol">Enter</span>.</span></li>
|
||
|
<li class="stepexpand"><span>From the Work with System Partitions display, select option <span class="uicontrol">3</span> (Work
|
||
|
with partition configuration) and press <span class="uicontrol">Enter</span>.</span></li>
|
||
|
<li class="stepexpand"><span>From the Work with Partition configuration display, select option <span class="uicontrol">14</span> (Change
|
||
|
logical commands) next to the logical partition you want to modify and press <span class="uicontrol">Enter</span>.</span></li>
|
||
|
<li class="stepexpand"><span>From the Change Guest Environment Command Line Parameters display,
|
||
|
enter the new kernel command and press <span class="uicontrol">Enter</span>.</span></li>
|
||
|
</ol>
|
||
|
<div class="section"><p>To set the kernel command line through the /proc file system for
|
||
|
the A IPL source, use a variation of the following command: <kbd class="userinput">echo
|
||
|
-n "root=/dev/iSeries/vda1" >> /proc/iSeries/mf/A/cmdline</kbd></p>
|
||
|
<p>To
|
||
|
set the kernel command line through the /proc file system for the B IPL source,
|
||
|
use a variation of the following command: <kbd class="userinput">echo -n "root=/dev/iSeries/vda1"
|
||
|
>> /proc/iSeries/mf/B/cmdline</kbd></p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|