Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > bb2b3181a15385f4d6701135404d7ec7 > files > 52

drakx-autoinstall-doc-10.0.3-6mdv2010.0.noarch.rpm

<!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="section3.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD>
<TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM">
<A HREF="section4-1.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%">
<H1 CLASS="western"><A NAME="Anatomy_of_the_auto_instcfg_File"></A>Anatomy
of the 'auto_inst.cfg' File</H1>
<P CLASS="western">The automated installation feature of DrakX is
controlled by the contents of a file named 'auto_inst.cfg'.  This
file is generally located on the boot floppy diskette that you create
manually, at the end of the initial installation process, or using
the Mandrake Control Center (drakconf) or drakautoinst from an
installed system.  However, it can also be located in a sub-directory
of the method installation source media (see  the section <A HREF="section6.html#The_auto_instcfg_File_Location"><B><I>The
'auto_inst.cfg' File Location</I></B></A>).</P>
<P CLASS="western">The contents of the auto_inst.cfg file are
comprised of a Perl Scalar Structure declaration (o).  The
declaration $o = {...}; is used by the DrakX program to preset
various options and selections.  Within the opening/closing braces
are a series of simple and/or compound declarations (representing
your selections).</P>
<P CLASS="western">During a manual install, the various declarations
are created and the appropriate fields filled in as you made choices
from the various screens.  Then when you created the Automated or
Replay diskette, selected portions of this structure were simply
dumped to a file that will control the actions of DrakX when an
Automated or Replay install is done.  
</P>
<P CLASS="western">An Automated Install requires that all the choices
be pre-selected using either the file generated by the install
program or, manually by you.  Me, I am a bit lazy so I generate an
initial diskette at the end of the install or using drakautoinst,
then modify it to suit my requirements.</P>
<P CLASS="western">The remainder of this section describes the
options available for the o$ declaration.  
</P>
<P CLASS="western">As always, if you want the gory details regarding
how and what, look on the CD-ROM (or installation source media) in
the directory Mandrake/mdkinst/usr/bin/perl-install for the actual
perl modules.  MandrakeSoft has made the DrakX installer code
available for public inspection via their CVS repository (see
<A HREF="http://www.linux-mandrake.com/cgi-bin/cvsweb.cgi/"><B><I>http://www.linux-mandrake.com/cgi-bin/cvsweb.cgi/</I></B></A>).
 In addition to the source code, there are a variety of documents and
text files that contain things you may be interested in.</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="section3.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-1.html">Next</A></TD></TR>
<TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">Anatomy of the Boot Loader Configuration Files</TD>
<TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP">&nbsp;</TD>
<TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">Options Summary</TD></TR></TABLE>
</BODY>
</HTML>