<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Auto Install for Mandrake Linux</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 641 (Linux)"> <META NAME="AUTHOR" CONTENT="David Eastcott"> <META NAME="CREATED" CONTENT="20011018;23242700"> <META NAME="CHANGEDBY" CONTENT="David Eastcott"> <META NAME="CHANGED" CONTENT="20020908;16264000"> <META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference"> <META NAME="DESCRIPTION" CONTENT="Specific contents for Mandrake Linux 9.0"> <META NAME="KEYWORDS" CONTENT="DrakX Autoinstall"> <STYLE> <!-- @page { margin: 1in } P { margin-left: 1in; margin-bottom: 0.08in } P.western { font-family: "Times", serif; font-size: 10pt; font-weight: medium } P.text-body-indent-western { margin-left: 0.2in; font-family: "Times", serif; 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-top: 0.17in; margin-bottom: 0.2in; page-break-before: auto } H1.western { font-family: "Times", serif } H2 { margin-top: 0.4in; margin-bottom: 0.2in; page-break-before: auto } H2.western { font-family: "Times", serif; font-style: normal } H3 { margin-top: 0.35in; margin-bottom: 0.08in; page-break-before: auto } H3.western { font-family: "Times", serif } H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } H4.western { font-family: "Times", serif; font-style: normal } TD P { margin-left: 1in; margin-bottom: 0.08in } TD P.western { font-family: "Times", serif; font-size: 10pt; font-weight: medium } TH P { margin-left: 1in; margin-bottom: 0.08in } TH P.western { font-family: "Times", serif; font-size: 10pt; font-style: italic } --> </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 Mandrake Linux</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 STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <FONT FACE="Times, serif"><FONT SIZE=2>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.</FONT></FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <FONT FACE="Times, serif"><FONT SIZE=2>A couple things worth noting:</FONT></FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=27*> <COL WIDTH=229*> <TR VALIGN=TOP> <TD WIDTH=11%> <P STYLE="margin-left: 0.5in; margin-top: 0.15in"><FONT FACE="Times, serif"><FONT SIZE=2>*</FONT></FONT></P> </TD> <TD WIDTH=89%> <P STYLE="margin-left: 0in; margin-top: 0.15in"><FONT FACE="Times, serif"><FONT SIZE=2>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'</FONT> <FONT FACE="Courier, monospace">label.</FONT></FONT></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=11%> <P STYLE="margin-left: 0.5in; margin-top: 0.15in"><FONT FACE="Times, serif"><FONT SIZE=2>* </FONT></FONT> </P> </TD> <TD WIDTH=89%> <P STYLE="margin-left: 0in; margin-top: 0.15in"><FONT FACE="Times, serif"><FONT SIZE=2>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.</FONT></FONT></P> </TD> </TR> </TABLE> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <FONT FACE="Times, serif"><FONT SIZE=2>The following is specifically for the x86 architecture.</FONT></FONT></P> <H3 CLASS="western"><A NAME="LILO_GRUB"></A>LILO / GRUB</H3> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.2in"> <FONT FACE="Times, serif"><FONT SIZE=2>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 lilo.conf</FONT>' for the correct explanation for some of the following.</FONT></FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="#e6e6ff"> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; margin-top: 0.2in; page-break-before: auto"> <FONT FACE="Courier, monospace">'bootloader' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'methods' => { </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">'lilo' => 'lilo-text' </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'boot' => '/dev/hda',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'default' => 'my_linux',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'install' => '/boot/boot.b',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'lba32' => 1,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'map' => '/boot/map',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'message' => "My text boot up\n",</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'timeout' => '5',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'entries' => [</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">{</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'type' => 'image',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'kernel_or_dev' => '/boot/vmlinuz',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'label' => 'my_linux',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'root' => '/dev/hda6',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'initrd' => '/boot/initrd.img',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'append' => 'mem=128M',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'read-write' => 0,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">or</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'type' => 'other',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'kernel_or_dev' => '/dev/zip',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'label' => 'zip',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'unsafe' => 1,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">]</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> </TABLE> <P STYLE="margin-left: 0.5in; margin-top: 0.4in; margin-bottom: 0.2in; page-break-before: auto; page-break-after: avoid"> <B>Descriptions:</B></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.2in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Times, serif"><FONT FACE="Courier, monospace">'methods'</FONT> - this entry defines the boot loader options; for x86 and IA64 computers this must be <FONT FACE="Courier, monospace">'lilo'</FONT> and optionally <FONT FACE="Courier, monospace">'grub'</FONT>.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.2in; page-break-inside: avoid; page-break-before: auto; page-break-after: avoid"> <FONT FACE="Courier, monospace">'lilo'</FONT> - <FONT FACE="Times, serif">can be one of:</FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; text-indent: -0.25in; margin-top: 0.1in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'lilo-text'</FONT> - <FONT FACE="Times, serif">if you want just a simple text based prompt.</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; text-indent: -0.25in; margin-top: 0.1in; page-break-after: avoid"> <FONT SIZE=2><FONT FACE="Courier, monospace">'lilo-menu'</FONT><FONT FACE="Times, serif"> - if you want a text based menu or to use the Grub boot loader. </FONT></FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; text-indent: -0.25in; margin-top: 0.1in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'lilo-graphic'</FONT> - <FONT FACE="Times, serif">if you want a graphical menu.</FONT></P> </TD> </TR> </TABLE> <P STYLE="margin-top: 0.2in; margin-bottom: 0.06in"><FONT FACE="Times, serif"><FONT SIZE=2>DrakX creates all the necessary files that <FONT FACE="Courier, monospace">lilo</FONT> is expecting. </FONT></FONT> </P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'grub' => 1</FONT> <FONT FACE="Times, serif">- if present, the Grub boot loader is installed rather than Lilo. In addition, DrakX creates all the necessary files and directories that </FONT><FONT FACE="Courier, monospace">grub</FONT><FONT FACE="Times, serif"> is expecting. <B>NOTE:</B> </FONT><FONT FACE="Courier, monospace">'lilo' => 'lilo-menu'</FONT><FONT FACE="Times, serif"> must be used.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.15in; margin-bottom: 0.06in"> <BR><BR> </P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'append'</FONT> <FONT FACE="Times, serif">- if present, it is placed in the </FONT><FONT FACE="Courier, monospace">lilo.conf</FONT><FONT FACE="Times, serif"> and used as lilo's default for any per image entry that does not contain an </FONT><FONT FACE="Courier, monospace">'append'</FONT><FONT FACE="Times, serif">. It is used to specify parameters to be passed to the kernel. eg. </FONT><FONT FACE="Courier, monospace">'mem=128M console=ttyS0,9600n8'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT SIZE=2><FONT FACE="Courier, monospace">'boot' </FONT><FONT FACE="Times, serif">- 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><FONT FACE="Courier, monospace"> '/dev/hda'</FONT><FONT FACE="Times, serif"> or </FONT><FONT FACE="Courier, monospace">'/dev/hde</FONT></FONT><FONT FACE="Courier, monospace">'.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'compact' => 1</FONT> <FONT FACE="Times, serif">- if present, says to try and merge read requests for adjacent sectors. This is seldom used.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'crushMbr' => 1</FONT> <FONT FACE="Times, serif">- if this is present, it means replace (crush) the existing Master Boot Record and install the lilo equivalent.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'default'</FONT> <FONT FACE="Times, serif">- this is used to specify the default kernel image to boot. The value here is the </FONT><FONT FACE="Courier, monospace">'label'</FONT><FONT FACE="Times, serif"> value for one of the defined </FONT><FONT FACE="Courier, monospace">'entries'</FONT><FONT FACE="Times, serif">. eg. </FONT><FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'install'</FONT> <FONT FACE="Times, serif">- this is used to specify the file containing the new master boot record. eg. </FONT><FONT FACE="Courier, monospace">'/boot/boot.b'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'lba32' => 1</FONT> <FONT FACE="Times, serif">- if present, says to generate 32 bit Logical Block Addresses instead of sector/head/cylinder. </FONT> </P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'linear' => 1</FONT> <FONT FACE="Times, serif">- if present, says to generate linear sector addresses instead of sector/head/cylinder. This is seldom used. In fact, if </FONT><FONT FACE="Courier, monospace">'lba32'</FONT><FONT FACE="Times, serif"> is present then it is ignored.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'map'</FONT> <FONT FACE="Times, serif">- this is the name and location of the map file created by lilo. eg. </FONT><FONT FACE="Courier, monospace">'/boot/map'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'message'</FONT> <FONT FACE="Times, serif"> - this allows you to create a customized boot message. It is optional and if included, causes the file</FONT><FONT FACE="Courier, monospace"> /boot/message</FONT><FONT FACE="Times, serif"> to be created containing your string (don't forget to include '\n' where appropriate. Also use double quotes (</FONT><FONT FACE="Courier, monospace">")</FONT><FONT FACE="Times, serif"> ). If it is not included, then DrakX creates a default message for you. </FONT> </P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto; page-break-after: avoid"> <FONT FACE="Courier, monospace">'password'</FONT> <FONT FACE="Times, serif">- if present, it specifies a pass word string (clear text) used to protect booting of all images. eg. </FONT><FONT FACE="Courier, monospace">'dickie'</FONT><FONT FACE="Times, serif">.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'perImageAppend' => ''</FONT> <FONT FACE="Times, serif">- if this is present, then DrakX uses the values here as the </FONT><FONT FACE="Courier, monospace">append</FONT><FONT FACE="Times, serif"> for each </FONT><FONT FACE="Courier, monospace">entry</FONT><FONT FACE="Times, serif"> it automatically creates. Note, DrakX creates this if it detects that there are any IDE CDRW or CD Burrners installed, if the </FONT><FONT FACE="Courier, monospace">'miscellaneous' => { 'HDPARM '}</FONT><FONT FACE="Times, serif"> is set, if it detects that you used </FONT><FONT FACE="Courier, monospace">mem=</FONT><FONT FACE="Times, serif"> at the boot prompt or, if the </FONT><FONT FACE="Courier, monospace">syslinux.cfg</FONT><FONT FACE="Times, serif"> file contains either </FONT><FONT FACE="Courier, monospace">mem=</FONT><FONT FACE="Times, serif"> or console</FONT><FONT FACE="Courier, monospace">=</FONT><FONT FACE="Times, serif"> in the append directive.</FONT></P> <P STYLE="margin-top: 0.15in; margin-bottom: 0.06in"><FONT FACE="Times, serif"><B>NOTE:</B> If </FONT><FONT FACE="Courier, monospace">console=ttyS0,9600n8</FONT><FONT FACE="Times, serif"> is present somewhere in the value, then DrakX will automatically add </FONT><FONT FACE="Courier, monospace">serial=0,9600n8</FONT><FONT FACE="Times, serif"> to the </FONT><FONT FACE="Courier, monospace">lilo.conf</FONT><FONT FACE="Times, serif"> file. You can set the parameters for the </FONT><FONT FACE="Courier, monospace">console=</FONT><FONT FACE="Times, serif"> to what ever you require, the previous was just an example. However, if you do use the </FONT><FONT FACE="Courier, monospace">console=</FONT><FONT FACE="Times, serif"> , you might want to consider adding it to the </FONT><FONT FACE="Courier, monospace">'append'</FONT><FONT FACE="Times, serif"> as well.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto; page-break-after: avoid"> <FONT SIZE=2><FONT FACE="Courier, monospace">'restricted' => 1 </FONT><FONT FACE="Times, serif">- 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></FONT> <FONT FACE="Courier, monospace">'password'</FONT> <B>must</B> be present if <FONT FACE="Courier, monospace">'restricted</FONT>' is present. </P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'timeout'</FONT> <FONT FACE="Times, serif">- the time, in seconds, to wait for the user to enter a desired image. eg. </FONT><FONT FACE="Courier, monospace">'my_linux'</FONT><FONT FACE="Times, serif">. Also, this forces a prompt for the image name to boot. Note: DrakX changes the value from seconds to tenths of a second for placement in </FONT><FONT FACE="Courier, monospace">lilo.conf</FONT><FONT FACE="Times, serif">. If you do not want a prompt, then set the value to 0.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.2in; page-break-inside: avoid; page-break-before: auto; page-break-after: avoid"> <FONT SIZE=2><FONT FACE="Courier, monospace">'vga' </FONT><FONT FACE="Times, serif">- if present, this is used to set the default video mode and can be:</FONT></FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=82*> <COL WIDTH=174*> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'ask'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> Ask at boot (kinda nice if you're just playing around)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'normal'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 80 x 25 (default)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'0x0f01'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 80 x 50</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'0x0f02'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 80 x 43</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'0x0f03'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 80 x 28</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT SIZE=2><FONT FACE="Courier, monospace">'0x0f05'</FONT><FONT FACE="Times, serif"> </FONT></FONT></P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"><FONT FACE="Times, serif"><FONT SIZE=2> 80 x 30</FONT></FONT></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'0x0f06'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 80 x 34</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'0x0f07'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 80 x 60</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'0x0122'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 100 x 30</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'785'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 640 x 480 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'788'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 800 x 600 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'791'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 1024 x 768 in 16 bits (Frame Buffer only)</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=32%> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'794'</FONT> </P> </TD> <TD WIDTH=68%> <P STYLE="margin-left: 0.1in; page-break-before: auto"> 1280 x 1024 in 16 bits (Frame Buffer only)</P> </TD> </TR> </TABLE> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.2in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'entries'</FONT> <FONT FACE="Times, serif">- 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 (</FONT><FONT FACE="Courier, monospace">linux, linux-2.2, linux-hack, failsafe, failsafe-2.2, failsafe-hack, floppy, default, linux-up, linux-2.2up, linux-hackup,</FONT><FONT FACE="Times, serif"> </FONT><FONT FACE="Courier, monospace">linux-nonfb, linux-2.2nonfb, linux-hacknonfb, NT, dos, windows</FONT><FONT FACE="Times, serif">) DrakX will rename your new one to </FONT><FONT FACE="Courier, monospace">old_...</FONT><FONT FACE="Times, serif"> when it adds yours. So be careful.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Times, serif"><FONT SIZE=2>Each entry has one of two forms:</FONT></FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'type' => 'image'</FONT> <FONT FACE="Times, serif">- specifies that this image describes a Linux kernel image to boot.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-before: auto; page-break-after: auto"> <FONT FACE="Courier, monospace">'kernel_or_dev'</FONT> <FONT FACE="Times, serif">- specifies the location and name of the kernel image to boot. eg. </FONT><FONT FACE="Courier, monospace">'/boot/vmlinuz'</FONT><FONT FACE="Times, serif">.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-before: auto; page-break-after: auto"> <FONT FACE="Courier, monospace">'label'</FONT> <FONT FACE="Times, serif">- specifies the name associated with this image. eg. </FONT><FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-before: auto; page-break-after: auto"> <FONT FACE="Courier, monospace">'root'</FONT> <FONT FACE="Times, serif">- specifies the partition to be mounted as 'root'. eg. </FONT><FONT FACE="Courier, monospace">'/dev/hda6'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'initrd'</FONT> <FONT FACE="Times, serif">- if present, specifies the location and name of the initial ram disk to be loaded. eg. </FONT><FONT FACE="Courier, monospace">'/boot/initrd.img'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'append'</FONT> <FONT FACE="Times, serif">- if present, specifies the kernel parameters for this image. eg. </FONT><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> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'vga'</FONT> <FONT FACE="Times, serif">- if present, specifies the video mode to be used with this image. ( See </FONT><FONT FACE="Courier, monospace">'vga'</FONT><FONT FACE="Times, serif"> above.).</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-before: auto; page-break-after: auto"> <FONT FACE="Courier, monospace">'read-write' => 1</FONT> <FONT FACE="Times, serif">- 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.</FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in; page-break-before: auto; page-break-after: avoid"> <FONT FACE="Times, serif"><FONT SIZE=2>or,</FONT></FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'type' => 'other',</FONT> <FONT FACE="Times, serif">- specifies that this image describes an arbitrary operating system to boot.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'kernel_or_dev'</FONT> <FONT FACE="Times, serif">- specifies the device to boot. eg. </FONT><FONT FACE="Courier, monospace">'/dev/zip'</FONT><FONT FACE="Times, serif"> or </FONT><FONT FACE="Courier, monospace">'/dev/hdb'</FONT><FONT FACE="Times, serif">.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'label'</FONT> <FONT FACE="Times, serif">- specifies the name associated with this image. eg. </FONT><FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'unsafe' => 1</FONT> <FONT FACE="Times, serif">- see man lilo.conf.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'table'</FONT> <FONT FACE="Times, serif">- see man lilo.conf.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: auto"> <FONT FACE="Courier, monospace">'map-drive'</FONT> <FONT FACE="Times, serif">- see man lilo.conf.</FONT></P> <P STYLE="margin-left: 0.75in; margin-top: 0.15in; margin-bottom: 0.06in; font-weight: medium"> <BR><BR> </P> <H3 CLASS="western" STYLE="page-break-before: always"><A NAME="YABOOT"></A> YABOOT</H3> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.2in"> <FONT FACE="Times, serif"><FONT SIZE=2>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.</FONT></FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="#e6e6ff"> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><FONT FACE="Courier, monospace"><FONT SIZE=2>'bootloader' => {</FONT></FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'methods' => { </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.26in; page-break-before: auto"><FONT FACE="Courier, monospace">'yaboot' => 1 </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'useboot' => 'hda',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'delay' => 30,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'default' => 'my_linux',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'defaultos => 'linux',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'enablecdboot' => 1,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'enableofboot' => 1,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'initmsg' => "My init text\n",</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace"><FONT SIZE=2>'message' => "My text boot up\n",</FONT></FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'timeout' => 50,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'entries' => [</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.26in; page-break-before: auto"><FONT FACE="Courier, monospace">{</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'type' => 'image',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'kernel_or_dev' => '/boot/vmlinuz',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'label' => 'my_linux',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'root' => '/dev/hda6',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'initrd' => '/boot/initrd.img',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'append' => undef,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'read-write' => 0,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.26in; page-break-before: auto"><FONT FACE="Courier, monospace">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">]</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> </TABLE> <P STYLE="margin-left: 0.5in; margin-top: 0.4in; margin-bottom: 0.2in; page-break-before: auto"> <B>Descriptions:</B></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.2in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'methods'</FONT><FONT FACE="Times, serif"> - this entry defines the boot loader options the PowerPC and must be </FONT><FONT FACE="Courier, monospace">'yaboot'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'append'</FONT> <FONT FACE="Times, serif">- if present, it is placed in the </FONT><FONT FACE="Courier, monospace">yaboot.conf</FONT><FONT FACE="Times, serif"> and used as yaboot's default for any per image entry that does not contain an </FONT><FONT FACE="Courier, monospace">'append'</FONT><FONT FACE="Times, serif">. It is used to specify parameters to be passed to the kernel. eg. </FONT><FONT FACE="Courier, monospace">'mem=128M serial=0,9600n8'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'useboot' </FONT>- 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"> 'hda'</FONT> or <FONT FACE="Courier, monospace">'hde'.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'delay'</FONT> <FONT FACE="Times, serif">- the time, in ??? seconds, for the Open Firmware Delay.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'default'</FONT> <FONT FACE="Times, serif">- this is used to specify the default kernel image to boot. The value here is the </FONT><FONT FACE="Courier, monospace">'label'</FONT><FONT FACE="Times, serif"> value of one of the defined 'entries'. eg. </FONT><FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'defaultos'</FONT> <FONT FACE="Times, serif">- is one of </FONT><FONT FACE="Courier, monospace">'linux'</FONT><FONT FACE="Times, serif">, </FONT><FONT FACE="Courier, monospace">'macos'</FONT><FONT FACE="Times, serif">, </FONT><FONT FACE="Courier, monospace">'macosx'</FONT><FONT FACE="Times, serif"> or </FONT><FONT FACE="Courier, monospace">'darwin'</FONT><FONT FACE="Times, serif">.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'enablecdboot' => 1 </FONT>- enables booting from CD.</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'enableofboot' => 1</FONT> <FONT FACE="Times, serif">- enables booting using Open Firmware.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'initmsg'</FONT> <FONT FACE="Times, serif"> - 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><FONT FACE="Courier, monospace">")</FONT><FONT FACE="Times, serif">. </FONT> </P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'message'</FONT> <FONT FACE="Times, serif"> - this allows you to create a customized boot message. It is optional and if included, causes the file</FONT><FONT FACE="Courier, monospace"> /boot/message</FONT><FONT FACE="Times, serif"> to be created containing your string (don't forget to include '\n' where appropriate. Also use double quotes (</FONT><FONT FACE="Courier, monospace">")</FONT><FONT FACE="Times, serif"> ). If it is not included, then DrakX creates a default message for you. </FONT> </P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'perImageAppend' => ''</FONT> <FONT FACE="Times, serif">- if this is present, then DrakX uses the values here as the </FONT><FONT FACE="Courier, monospace">append</FONT><FONT FACE="Times, serif"> for each </FONT><FONT FACE="Courier, monospace">entry</FONT><FONT FACE="Times, serif"> it automatically creates. Note, DrakX creates this if it detects that there are any IDE CDRW or CD Burrners installed, if the </FONT><FONT FACE="Courier, monospace">'miscellaneous' => { 'HDPARM '}</FONT><FONT FACE="Times, serif"> is set, if it detects that you used </FONT><FONT FACE="Courier, monospace">mem=</FONT><FONT FACE="Times, serif"> at the boot prompt or, if the </FONT><FONT FACE="Courier, monospace">syslinux.cfg</FONT><FONT FACE="Times, serif"> file contains either </FONT><FONT FACE="Courier, monospace">mem=</FONT><FONT FACE="Times, serif"> or console</FONT><FONT FACE="Courier, monospace">=</FONT><FONT FACE="Times, serif"> in the append directive.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto; page-break-after: avoid"> <FONT FACE="Courier, monospace">'timeout'</FONT> <FONT FACE="Times, serif">- the time, in ??? seconds, to wait for the user to enter a desired image. eg. </FONT><FONT FACE="Courier, monospace">'10'</FONT><FONT FACE="Times, serif">. Also, this forces a prompt for the </FONT><FONT FACE="Courier, monospace">'label'</FONT><FONT FACE="Times, serif"> name to boot.</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'entries'</FONT> <FONT FACE="Times, serif">- 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><FONT FACE="Courier, monospace">linux, linux-2.2, linux-hack, failsafe, failsafe-2.2, failsafe-hack, default, linux-up, linux-2.2up, linux-hackup,</FONT><FONT FACE="Times, serif"> </FONT><FONT FACE="Courier, monospace">linux-nonfb, linux-2.2nonfb, linux-hacknonfb, NT, dos, windows</FONT><FONT FACE="Times, serif">) DrakX will rename your new one to </FONT><FONT FACE="Courier, monospace">old_...</FONT><FONT FACE="Times, serif"> when it adds yours. So be careful.</FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> Each entry has one of two forms:</P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'type' => 'image'</FONT> <FONT FACE="Times, serif">- specifies that this image describes a Linux kernel image to boot.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'kernel_or_dev'</FONT> <FONT FACE="Times, serif">- specifies the location and name of the kernel image to boot. eg. </FONT><FONT FACE="Courier, monospace">'/boot/vmlinuz'</FONT><FONT FACE="Times, serif">.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'label'</FONT> <FONT FACE="Times, serif">- specifies the name associated with this image. eg. </FONT><FONT FACE="Courier, monospace">'my_linux'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'root'</FONT> <FONT FACE="Times, serif">- specifies the partition to be mounted as 'root'. eg. </FONT><FONT FACE="Courier, monospace">'/dev/hda6'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'initrd'</FONT> <FONT FACE="Times, serif">- if present, specifies the location and name of the initial ram disk to be loaded. eg. </FONT><FONT FACE="Courier, monospace">'/boot/initrd.img'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'append'</FONT> <FONT FACE="Times, serif">- if present, specifies the kernel parameters for this image. eg. </FONT>'<FONT FACE="Courier, monospace">ramdisk=8192K'</FONT>.</P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'read-write' => 1</FONT> <FONT FACE="Times, serif">- 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.</FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <FONT FACE="Times, serif">or</FONT></P> <P STYLE="margin-left: 0.75in; text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: avoid; page-break-before: auto"> <FONT FACE="Courier, monospace">'type' => 'other'</FONT> <FONT FACE="Times, serif">- specifies that this image describes a Linux kernel image to boot.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'kernel_or_dev'</FONT> <FONT FACE="Times, serif">- specifies the ???.</FONT></P> <P STYLE="text-indent: -0.25in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-after: avoid"> <FONT FACE="Courier, monospace">'label'</FONT> <FONT FACE="Times, serif">- specifies ???.</FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.1in; margin-bottom: 0.06in; page-break-inside: auto; page-break-after: auto"> <BR><BR> </P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in; page-break-inside: auto; page-break-after: auto"> <FONT FACE="Times, serif"><FONT SIZE=2><B>Examples (for x86):</B></FONT></FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.2in"> <FONT FACE="Times, serif"><FONT SIZE=2>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.</FONT></FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="#e6e6e6"> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; margin-top: 0.2in; page-break-before: auto"> <FONT FACE="Courier, monospace">'bootloader' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'methods' => { </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">'lilo' => 'lilo-text' </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'crushMbr' => 1</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> </TABLE> <P STYLE="margin-left: 0.5in; margin-top: 0.2in; margin-bottom: 0.06in"> <FONT FACE="Times, serif"><FONT SIZE=2><B>NOTE:</B> 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.</FONT></FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.2in; page-break-before: auto; page-break-after: avoid"> <FONT FACE="Times, serif"><FONT SIZE=2>This one adds an additional boot image that I use on my test machine to increase the size of the default ram disk.</FONT></FONT></P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="#e6e6e6" STYLE="page-break-before: auto"> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; margin-top: 0.2in; page-break-before: auto; page-break-after: auto"> <FONT FACE="Courier, monospace"><FONT SIZE=2>'bootloader' => {</FONT></FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'methods' => { </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">'lilo' => 'lilo-text' </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">'entries' => [</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">{</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'type' => 'image',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'kernel_or_dev' => '/boot/vmlinuz',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'label' => 'bigdisk',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'root' => '/dev/hda6',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'initrd' => '/boot/initrd.img',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.5in; page-break-before: auto"><FONT FACE="Courier, monospace">'append' => 'ramdisk=8192k'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 1.25in; page-break-before: auto"><FONT FACE="Courier, monospace">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="page-break-before: auto"><FONT FACE="Courier, monospace">]</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP> <P STYLE="margin-left: 0.75in; page-break-before: auto"><FONT FACE="Courier, monospace">},</FONT></P> </TD> </TR> </TABLE> <P STYLE="margin-left: 0.75in; margin-top: 0.2in; margin-bottom: 0.06in"> <FONT FACE="Times, serif"><FONT SIZE=2>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>.</FONT></FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.4in; margin-bottom: 0.2in; page-break-before: auto; page-break-after: avoid"> <B>Related Option Entries:</B></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <FONT FACE="Times, serif"><FONT SIZE=2><A HREF="section4-18.html#miscellaneous">miscellaneous</A></FONT></FONT></P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <BR><BR> </P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <BR><BR> </P> <P STYLE="margin-left: 0.5in; margin-top: 0.15in; margin-bottom: 0.06in"> <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>