<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Auto Install for Mandrakelinux</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0 (Linux)"> <META NAME="AUTHOR" CONTENT="David Eastcott"> <META NAME="CREATED" CONTENT="20040221;10385500"> <META NAME="CHANGEDBY" CONTENT="David Eastcott"> <META NAME="CHANGED" CONTENT="20040502;8530300"> <META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference"> <META NAME="KEYWORDS" CONTENT="DrakX Autoinstall"> <STYLE> <!-- @page { size: 8.5in 11in; margin: 1in } P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } P.western { font-size: 10pt; font-weight: medium } P.text-body-indent-western { margin-left: 0.2in; font-size: 10pt; font-weight: medium } P.text-body-indent-cjk { margin-left: 0.2in } P.text-body-indent-ctl { margin-left: 0.2in } H1 { margin-bottom: 0.08in; page-break-before: always } H1.western { font-family: "Times" } H1.cjk { font-family: "Mincho"; font-size: 16pt } H1.ctl { font-family: "Lucidasans"; font-size: 16pt } H2 { margin-bottom: 0.08in; page-break-before: auto } H2.western { font-family: "Times"; font-style: normal } H2.cjk { font-family: "Mincho"; font-size: 14pt; font-style: italic } H2.ctl { font-size: 14pt; font-style: italic } H3 { margin-bottom: 0.08in; page-break-before: auto } H3.western { font-family: "Times" } H3.cjk { font-family: "Mincho" } H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } H4.western { font-family: "Times"; font-style: normal } H4.cjk { font-family: "Mincho"; font-size: 11pt; font-style: italic } H4.ctl { font-size: 11pt; font-style: italic } TD P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TD P.western { font-size: 10pt; font-weight: medium } TH P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TH P.western { font-size: 10pt; font-style: italic } TH P.cjk { font-style: italic } TH P.ctl { font-style: italic } P.headings-special-western { margin-top: 0.3in; margin-bottom: 0.1in; font-size: 10pt; font-weight: bold; page-break-after: avoid } P.headings-special-cjk { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.headings-special-ctl { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.closecode-western { margin-left: 1in; margin-bottom: 0in; font-family: "Courier", monospace; font-size: 9pt; font-weight: medium } P.closecode-cjk { margin-left: 1in; margin-bottom: 0in } P.closecode-ctl { margin-left: 1in; margin-bottom: 0in } P.coderef-western { margin-left: 1in; margin-bottom: 0.08in; font-family: "Courier", monospace; font-size: 10pt; font-weight: medium } P.coderef-cjk { margin-left: 1in; margin-bottom: 0.08in } P.coderef-ctl { margin-left: 1in; margin-bottom: 0.08in } --> </STYLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TH COLSPAN="3" ALIGN="CENTER"> Auto Install for Mandrakelinux</TH></TR><TR> <TD WIDTH="10%" ALIGN="LEFT" VALIGN="BOTTOM"> <A HREF="section4-4.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD> <TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM"> <A HREF="section4-6.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%"> <H2 CLASS="western" STYLE="page-break-before: always"><A NAME="bootloader"></A> bootloader</H2> <P CLASS="western">This option allows you specify the boot loader to be installed and the associated parameters that it requires. The general structure and relevant parameters for each loader are presented and explained in their own section, rather than trying to show you the whole thing and adding comments indicating which parameter is valid for which boot loader. Also, check the notes at the end of each section for tidbits.</P> <P CLASS="western">A couple things worth noting:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=788> <TR VALIGN=TOP> <TD ROWSPAN=2 WIDTH=60 HEIGHT=95> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic13" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=788 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.2in">The new graphic startup display (<FONT FACE="Courier, monospace">bootsplash</FONT>) is activated when the <FONT FACE="Courier, monospace">'default'</FONT> kernel image loaded has the <FONT FACE="Courier, monospace">'linux' label</FONT>.</P> </TD> </TR> <TR> <TD WIDTH=788 HEIGHT=48 VALIGN=TOP> <P CLASS="western" STYLE="margin-left: 0.2in">The verbosity of both the kernel and the SysVinit scripts is controlled by the presence or absence of the keyword <FONT FACE="Courier, monospace">'quiet'</FONT> in the <FONT FACE="Courier, monospace">'append'</FONT> declaration.</P> </TD> </TR> </TABLE> <P CLASS="western">The following is specifically for the x86 architecture.</P> <H3 CLASS="western"><A NAME="LILO_GRUB"></A>LILO / GRUB</H3> <P CLASS="western" STYLE="margin-bottom: 0.2in; page-break-before: auto"> DrakX is capable of installing either the Lilo or Grub boot loaders for 'x86' type computers. The following causes DrakX to install the Lilo boot loader and create the file <FONT FACE="Courier, monospace">/etc/lilo.conf</FONT>. You really want to look at <FONT FACE="Courier, monospace">'man conflicting'</FONT> for the correct explanation for some of the following.</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">'bootloader' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'method' => 'lilo-text'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'boot' => '/dev/hda',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'default' => 'my_linux',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'install' => '/boot/boot.b',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'lba32' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'map' => '/boot/map',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'message' => "My text boot up\n",</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'timeout' => '5',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'entries' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">{</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'type' => 'image',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'kernel_or_dev' => '/boot/vmlinuz',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'label' => 'my_linux',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'root' => '/dev/hda6',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'initrd' => '/boot/initrd.img',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'append' => 'mem=128M',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'read-write' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">or</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'type' => 'other',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'kernel_or_dev' => '/dev/zip',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'label' => 'zip',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'unsafe' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">]</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">},</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western"><BR><BR> </P> <P CLASS="headings-special-western" STYLE="page-break-before: always"> Descriptions:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0 STYLE="page-break-before: auto"> <COL WIDTH=296> <COL WIDTH=551> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western" STYLE="page-break-inside: auto; page-break-after: auto"> <FONT FACE="Courier, monospace"><FONT SIZE=2>'method'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in; page-break-inside: auto; page-break-after: auto"> this entry defines the boot loader options; for x86 and IA64 computers this may be one of the following:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">'lilo-text'</FONT> - the LILO boot loader is installed with a simple text based prompt.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">'lilo-menu'</FONT> - the LILO boot loader is installed with a text based menu. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">'lilo-graphic'</FONT> - the LILO boot loader is installed with a graphical menu.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"><FONT FACE="Courier, monospace">'grub'</FONT> - the GRUB boot loader is installed.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'append'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, it is placed in the <FONT FACE="Courier, monospace">lilo.conf</FONT> and used as lilo's default for any per image entry that does not contain an <FONT FACE="Courier, monospace">'append'</FONT>. It is used to specify parameters to be passed to the kernel. eg. <FONT FACE="Courier, monospace">'mem=128M console=ttyS0,9600n8'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'boot'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this allows you to specify the disk drive that it to be used as the boot device. Do not include the partition number. eg. <FONT FACE="Courier, monospace">'/dev/hda'</FONT> or <FONT FACE="Courier, monospace">'/dev/hde'.</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'compact' => 1,</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, says to try and merge read requests for adjacent sectors. This is seldom used.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'crushMbr' => 1,</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if this is present, it means replace (crush) the existing Master Boot Record and install the lilo equivalent.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'default'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this is used to specify the default kernel image to boot. The value here is the <FONT FACE="Courier, monospace">'label'</FONT> value for one of the defined <FONT FACE="Courier, monospace">'entries'</FONT>. eg. '<FONT FACE="Courier, monospace">my_linux'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'install'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this is used to specify the file containing the new master boot record. <BR>eg. <FONT FACE="Courier, monospace">'/boot/boot.b'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.5in"><FONT FACE="Courier, monospace"><FONT SIZE=2>'linear' => 1,</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, says to generate linear sector addresses instead of sector/head/cylinder. This is seldom used. Use only if the device does not support <FONT FACE="Courier, monospace">'lba32'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'map'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this is the name and location of the map file created by lilo. eg. '/boot/map'.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=83> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'message'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this allows you to create a customized boot message. It is optional and if included, causes the file <FONT FACE="Courier, monospace">/boot/message</FONT> to be created containing your string (don't forget to include <FONT FACE="Courier, monospace">'\n'</FONT> where appropriate. Also use double quotes (<FONT FACE="Courier, monospace">"</FONT>) ). If it is not included, then DrakX creates a default message for you. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'password'</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, it specifies a pass word string (clear text) used to protect booting of all images. eg. <FONT FACE="Courier, monospace">'dickie'</FONT>. In addition, the permissions for <FONT FACE="Courier, monospace">lilo.conf</FONT> will be set to <FONT FACE="Courier, monospace">0600</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=119> <P CLASS="western"><FONT FACE="Courier, monospace"><FONT SIZE=2>'perImageAppend' => '',</FONT></FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if this is present, then DrakX uses the values here as the <FONT FACE="Courier, monospace">append</FONT> for each <FONT FACE="Times, serif">entry</FONT> it automatically creates. <B>Note</B>, DrakX creates this if it detects that there are any IDE CD-RW or CD Burners installed, if the <A HREF="section4-18.html#miscellaneous"><B><I><FONT FACE="Courier, monospace">'miscellaneous' => { 'HDPARM '}</FONT></I></B></A> is set, if it detects that you used <FONT FACE="Courier, monospace">mem=</FONT> at the boot prompt or, if the <FONT FACE="Courier, monospace">syslinux.cfg</FONT> file contains either <FONT FACE="Courier, monospace">mem=</FONT> or <FONT FACE="Courier, monospace">console=</FONT> in the append directive.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=101> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic14" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in"><B>NOTE</B>: If <FONT FACE="Courier, monospace">console=ttyS0,9600n8</FONT> is present somewhere in the value, then DrakX will automatically add <FONT FACE="Courier, monospace">serial=0,9600n8</FONT> to the <FONT FACE="Courier, monospace">lilo.conf</FONT> file. You can set the parameters for the <FONT FACE="Courier, monospace">console=</FONT> to what ever you require, the previous was just an example. However, if you do use the <FONT FACE="Courier, monospace">console=</FONT> , you might want to consider adding it to the 'append' as well.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'restricted' => 1,</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, reduces the boot up password enforcement so that the user must enter a pass word only if the user enters additional parameters. <FONT FACE="Courier, monospace">'password'</FONT> must be present if <FONT FACE="Courier, monospace">'restricted' </FONT>is present. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=83> <P CLASS="western"><FONT FACE="Courier, monospace">'timeout' </FONT> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">the time, in seconds, to wait for the user to enter a desired image. <BR>eg. <FONT FACE="Courier, monospace">'my_linux'</FONT>. Also, this forces a prompt for the image name to boot. <BR><B>Note</B>: DrakX changes the value from seconds to tenths of a second for placement in <FONT FACE="Courier, monospace">lilo.conf</FONT>. If you do not want a prompt, then set the value to <FONT FACE="Courier, monospace">0</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'vga' </FONT> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, this is used to set the default video mode and can be:</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'ask'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> Ask at boot (kinda nice if you're just playing around)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'normal'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 25 (default)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0f01'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 50</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0f02'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 43</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0f03'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 28</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0f05'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 30</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0f06'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 34</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0f07'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 80 x 60</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'0x0122'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 100 x 30</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'785'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 640 x 480 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'788'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 800 x 600 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'791'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 1024 x 768 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT><FONT FACE="Courier, monospace">'794'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0.2in"> 1280 x 1024 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=184> <P CLASS="western"><FONT FACE="Courier, monospace">'entries'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this is an array of 'per image' entries describing selectable boot images. Normally you should not need to add any since DrakX installs a number of default entries which represent your computer's equipment. However if you do add a new one and it has the same label as an internally defined one (l<FONT FACE="Courier, monospace">inux, linux-2.2, linux-hack, failsafe, failsafe-2.2, failsafe-hack, floppy, default, linux-up, linux-2.2up, linux-hackup, linux-nonfb, linux-2.2nonfb, linux-hacknonfb, NT, dos, windows</FONT>) DrakX will rename your new one to <FONT FACE="Courier, monospace">old_...</FONT> when it adds yours. So be careful.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-bottom: 0.15in; page-break-before: auto; page-break-after: avoid"> Each entry has one of two forms:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0 STYLE="page-break-inside: avoid"> <COL WIDTH=295> <COL WIDTH=552> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.5in"><FONT FACE="Courier, monospace">'type' => 'image',</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies that this image describes a Linux kernel image to boot.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'kernel_or_dev'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies the location and name of the kernel image to boot. <BR>eg. <FONT FACE="Courier, monospace">'/boot/vmlinuz'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'label'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies the name associated with this image. eg. <FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'root'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies the partition to be mounted as 'root'. eg. <FONT FACE="Courier, monospace">'/dev/hda6'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'initrd' </FONT> </P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, specifies the location and name of the initial ram disk to be loaded. <BR>eg. <FONT FACE="Courier, monospace">'/boot/initrd.img'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=65> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'append'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, specifies the kernel parameters for this image. <BR>eg. <FONT FACE="Courier, monospace">'ramdisk=8192K'</FONT>. <B>NOTE</B>: the <FONT FACE="Courier, monospace">'perImageAppend'</FONT> is NOT used for any entries you add. If you need special options, then use this to specify them.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'vga'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, specifies the video mode to be used with this image. ( See <FONT FACE="Courier, monospace">'vga'</FONT> above.).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'read-write' => 1,</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, indicates the root file system is to be mounted read-write. If it is NOT present, then the root file system is mounted read-only.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-bottom: 0.15in">or,</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=296> <COL WIDTH=551> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.5in"><FONT FACE="Courier, monospace">'type' => 'other',</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">specifies that this image describes an arbitrary operating system to boot.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'kernel_or_dev'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">specifies the device to boot. eg. <FONT FACE="Courier, monospace">'/dev/zip'</FONT> or <FONT FACE="Courier, monospace">'/dev/hdb'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'label'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">specifies the name associated with this image. eg. <FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'unsafe' => 1,</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">see <FONT FACE="Courier, monospace">man lilo.conf</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'table'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">see <FONT FACE="Courier, monospace">man lilo.conf</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'map-drive'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">see <FONT FACE="Courier, monospace">man lilo.conf</FONT>.</P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <H3 CLASS="western" STYLE="page-break-before: always"><A NAME="YABOOT"></A> YABOOT</H3> <P CLASS="western" STYLE="margin-bottom: 0.15in">This loader is used on PowerPC computers. The following causes DrakX to create the file <FONT FACE="Courier, monospace">/etc/yaboot.conf</FONT>. You really want to look at <FONT FACE="Courier, monospace">'man yaboot.conf'</FONT> for the correct explanation for some of the following.</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">'bootloader' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'method' => 'yaboot',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'boot' => '/dev/hda',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'delay' => 30,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'default' => 'my_linux',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'defaultos => 'linux',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'enablecdboot' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'enableofboot' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'init-message' => "My init text\n",</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'message' => "My text boot up\n",</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'timeout' => 50,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'xfsroot' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">'entries' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">{</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'type' => 'image',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'kernel_or_dev' => '/boot/vmlinuz',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'label' => 'my_linux',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'root' => '/dev/hda6',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'initrd' => '/boot/initrd.img',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'append' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.6in">'read-write' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">]</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">},</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Descriptions:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=296> <COL WIDTH=551> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'methods'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this entry defines the boot loader options the PowerPC and must be <FONT FACE="Courier, monospace">'yaboot'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'append' </FONT> </P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if present, it is placed in the <FONT FACE="Courier, monospace">yaboot.conf</FONT> and used as yaboot's default for any per image entry that does not contain an 'append'. It is used to specify parameters to be passed to the kernel. eg. <FONT FACE="Courier, monospace">'mem=128M serial=0,9600n8'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'boot'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this allows you to specify the disk drive that it to be used as the boot device. Do not include the partition number. eg. <FONT FACE="Courier, monospace">'/dev/hda'</FONT> or <FONT FACE="Courier, monospace">'/dev/hde'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'delay'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">the time, in seconds, for the Open Firmware Delay.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'default'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this is used to specify the default kernel image to boot. The value here is the<FONT FACE="Courier, monospace"> 'label'</FONT> value of one of the defined 'entries'. eg. <FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'defaultos'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">is one of <FONT FACE="Courier, monospace">'linux'</FONT>, <FONT FACE="Courier, monospace">'macos'</FONT>, <FONT FACE="Courier, monospace">'macosx'</FONT> or <FONT FACE="Courier, monospace">'darwin'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'enablecdboot' => 1,</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">enables booting from CD.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'enableofboot' => 1,</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">enables booting using Open Firmware.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'init-message'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this allows you to create a customized boot message. It is optional and if included, will causes the file boot loader to display your string. Also use double quotes (<FONT FACE="Courier, monospace">"</FONT>). </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=83> <P CLASS="western"><FONT FACE="Courier, monospace">'message'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this allows you to create a customized boot message. It is optional and if included, causes the file <FONT FACE="Courier, monospace">/boot/message</FONT> to be created containing your string (don't forget to include <FONT FACE="Courier, monospace">'\n'</FONT> where appropriate. Also use double quotes (<FONT FACE="Courier, monospace">"</FONT>) ). If it is not included, then DrakX creates a default message for you. </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=119> <P CLASS="western"><FONT FACE="Courier, monospace">'perImageAppend' => '',</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">if this is present, then DrakX uses the values here as the append for each entry it automatically creates. Note, DrakX creates this if it detects that there are any IDE CDRW or CD Burrners installed, if the <A HREF="section4-18.html#miscellaneous"><B><I><FONT FACE="Courier, monospace">'miscellaneous' => { 'HDPARM '}</FONT></I></B></A> is set, if it detects that you used <FONT FACE="Courier, monospace">mem=</FONT> at the boot prompt or, if the <FONT FACE="Courier, monospace">syslinux.cfg</FONT> file contains either <FONT FACE="Courier, monospace">mem=</FONT> or <FONT FACE="Courier, monospace">console=</FONT> in the append directive.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'timeout'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">the time, in tenths (0.1) of seconds, to wait for the user to enter a desired image. eg. <FONT FACE="Courier, monospace">'10'</FONT>. Also, this forces a prompt for the <FONT FACE="Courier, monospace">'label'</FONT> name to boot.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=48> <P CLASS="western"><FONT FACE="Courier, monospace">'xfsroot' => 1,</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">causes <FONT FACE="Courier, monospace">initrd-size=6144</FONT> to be added to every entry with a type of <FONT FACE="Courier, monospace">'image'.</FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=296 HEIGHT=173> <P CLASS="western"><FONT FACE="Courier, monospace">'entries'</FONT></P> </TD> <TD WIDTH=551> <P CLASS="western" STYLE="margin-left: 0in">this is an array of 'per image' entries describing selectable boot images. DrakX installs a number of default entries and normally you should not need to add any. However if you do add a new one and it has the same label as an internally defined one (<FONT FACE="Courier, monospace">linux, linux-2.2, linux-hack, failsafe, failsafe-2.2, failsafe-hack, default, linux-up, linux-2.2up, linux-hackup, linux-nonfb, linux-2.2nonfb, linux-hacknonfb, NT, dos, windows</FONT>) DrakX will rename your new one to <FONT FACE="Courier, monospace">old_...</FONT> when it adds yours. So be careful.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-bottom: 0.15in; page-break-before: auto"> Each entry has one of two forms:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=295> <COL WIDTH=552> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=30> <P CLASS="western"><FONT FACE="Courier, monospace">'type' => 'image',</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies that this image describes a Linux kernel image to boot.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'kernel_or_dev'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies the location and name of the kernel image to boot. <BR>eg. <FONT FACE="Courier, monospace">'/boot/vmlinuz'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'label'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies the name associated with this image. eg. <FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=30> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'root'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">specifies the partition to be mounted as 'root'. eg. <FONT FACE="Courier, monospace">'/dev/hda6'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'initrd'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, specifies the location and name of the initial ram disk to be loaded. <BR>eg.<FONT FACE="Courier, monospace"> '/boot/initrd.img'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'append'</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, specifies the kernel parameters for this image. <BR>eg. <FONT FACE="Courier, monospace">'ramdisk=8192K'</FONT>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=65> <P CLASS="western" STYLE="margin-left: 0.8in"><FONT FACE="Courier, monospace">'read-write' => 1,</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">if present, indicates the root file system is to be mounted read-write. If it is NOT present, then the root file system is mounted read-only.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-bottom: 0.15in">or</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=295> <COL WIDTH=552> <TR VALIGN=TOP> <TD WIDTH=295 HEIGHT=65> <P CLASS="western"><FONT FACE="Courier, monospace">'type' => 'other',</FONT></P> </TD> <TD WIDTH=552> <P CLASS="western" STYLE="margin-left: 0in">causes an entry to be added to <FONT FACE="Courier, monospace">yaboot.conf</FONT> with the <FONT FACE="Courier, monospace">'label='</FONT> set to the Open Firmware device.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Examples (for x86):</P> <P CLASS="western" STYLE="margin-bottom: 0.15in; page-break-before: auto"> This first one is the simplest and I use it on a server to obtain a simple text based boot prompt, rather than the default graphic one. This also lets DrakX fill in all the auto detected stuff for me.</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'bootloader' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'method' => 'lilo-text'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'crushMbr' => 1</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">},</P> </TD> </TR> </TABLE> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=62> <COL WIDTH=785> <TR VALIGN=TOP> <TD WIDTH=62 HEIGHT=65> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic15" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=785> <P CLASS="western" STYLE="margin-left: 0.4in">I use the <FONT FACE="Courier, monospace">'crushMbr' </FONT>here to make sure that whatever is on the disk is replaced with lilo's boot loader. This may not be suitable for everyone (such as dual boot or if you want to keep the existing MBR). Your installation needs may be different, so use with caution.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.15in">This one adds an additional boot image that I use on my test machine to increase the size of the default ram disk.</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'bootloader' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'method' => 'lilo-text'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'entries' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">{</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'type' => 'image',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'kernel_or_dev' => '/boot/vmlinuz',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'label' => 'bigdisk',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'root' => '/dev/hda6',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'initrd' => '/boot/initrd.img',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'append' => 'ramdisk=8192k'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">}</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">]</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">},</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.08in">If I had wanted to make this new image the one which is automatically booted, then I would have added <FONT FACE="Courier, monospace">'default' => 'bigdisk',</FONT> just before the <FONT FACE="Courier, monospace">'entries'</FONT>.</P> <P CLASS="headings-special-western">Related Option Entries:</P> <P CLASS="western"><A HREF="section4-18.html#miscellaneous"><B><I>miscellaneous</I></B></A></P> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <HR ALIGN="LEFT" WIDTH="100%"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP"><A HREF="section4-4.html">Prev</A></TD><TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"><A HREF="index.html">Home</A></TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP"><A HREF="section4-6.html">Next</A></TD></TR> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">autologin</TD> <TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"> </TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">compssListLevel</TD></TR></TABLE> </BODY> </HTML>