<!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="section6.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD> <TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM"> <A HREF="section8.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%"> <H1 CLASS="western"><A NAME="Scratch_Built_Auto_Install_Diskette"></A> Scratch Built Auto Install Diskette</H1> <P CLASS="western">This section is for those of you who are in a hurry and don't want to read all the preceding pages. This project started out small and turned into a bit more than just a couple pages, hehehe.</P> <P CLASS="western">Unfortunately, to use the Auto Install Features of DrakX, you DO need to know a few things. There are short cuts, and you can mostly depend on DrakX auto detecting a lot of things for you, but you are going to get to a point or a situation where the rest of the document does come in handy.</P> <P CLASS="western" STYLE="margin-bottom: 0.15in">There are now three (3) approaches to scratch building your install disks and each is described seperately:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=121> <COL WIDTH=726> <TR VALIGN=TOP> <TD WIDTH=121 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT STYLE="margin-left: 0in">1.</P> </TD> <TD WIDTH=726> <P CLASS="western" STYLE="margin-left: 0.2in">Single Floppy, for CD-ROM and Hard Disk installs,</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=121 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT STYLE="margin-left: 0in">2.</P> </TD> <TD WIDTH=726> <P CLASS="western" STYLE="margin-left: 0.2in">Dual Floppy, for Network based installs,</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=121 HEIGHT=30> <P CLASS="western" ALIGN=RIGHT STYLE="margin-left: 0in">3.</P> </TD> <TD WIDTH=726> <P CLASS="western" STYLE="margin-left: 0.2in">Boot CD-ROM, for Network based installs (can be used for the others too).</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">The kinda Short Cuts. </P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=91> <COL WIDTH=756> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=48> <P CLASS="western">1.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">If you already have Mandrakelinux<FONT FACE="Times, serif">™</FONT> 10.0 installed on a machine, then you can use the <FONT FACE="Courier, monospace">drakautoinst</FONT> program to create a basic auto install disk.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=101> <P CLASS="western">2.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">Alternately, you can follow the first three steps from the section <A HREF="section2.html#Getting_Started"><B><I>Getting Started</I></B></A>, then copy the file found in <BR><FONT FACE="Courier, monospace">/root/drakx</FONT> called <FONT FACE="Courier, monospace">auto_inst.cfg.pl</FONT> to the newly created driver floppy diskette as <FONT FACE="Courier, monospace">auto_inst.cfg</FONT>. Then you need to modify the file <FONT FACE="Courier, monospace">syslinux.cfg</FONT> to add the <FONT FACE="Courier, monospace">kickstart=floppy automatic=method:...</FONT> options to the first <FONT FACE="Courier, monospace">append</FONT> line (see the section <A HREF="section3.html#Anatomy_of_the_Boot_Loader_Configuration_Files"><B><I>Anatomy of the Boot Loader Configuration Files</I></B></A>).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91> <P CLASS="western">3.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">If you do not have Mandrakelinux<FONT FACE="Times, serif">™</FONT> 10.0 installed yet, you can go to the section <A HREF="section2.html#Installation_Methods"><B><I>Installation Methods </I></B></A>and do the steps identified in the sub-section <A HREF="section2.html#Getting_Started"><B><I>Getting Started</I></B></A>, but stop <B>after</B> you complete step 5. While you are doing the Manual Install, and you get the point where it is asking you what packages to install (you have a choice here) deselect all package groups, make sure that the Individual Package Selections is selected, then when prompted select (or not) With X and With documentation, then select any additional packages you want (or not) and finish the install. You will, as part of step 5, now have a diskette containing, for the most part, a basic auto install diskette. From this point on, you can let your repressed creative talents have at it.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.08in">Using any of the above approaches will produce a syntactically correct <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file on the floppy diskette. However, you MUST review the contents of the file to ensure that what it is going to cause, is in fact what you want it to do (see the section <A HREF="section4.html#Anatomy_of_the_auto_instcfg_File"><B><I>Anatomy of the 'auto_inst.cfg' File</I></B></A>). Pay particular attention to the options: <A HREF="section4-3.html#autoExitInstall"><B><I>'autoExitInstall'</I></B></A>, <A HREF="section4-19.html#mkbootdisk"><B><I>'mkbootdisk'</I></B></A>, <A HREF="#partitioning"><B><I>'partitioning' </I></B></A>and <A HREF="section4-24.html#partitions"><B><I>'partitions'</I></B></A> (if the diskette was created by the <FONT FACE="Courier, monospace">drakautoinst</FONT> program, you can ignore the <A HREF="section4-23.html#partitioning"><B><I>'partitioning'</I></B></A>and <A HREF="section4-24.html#partitions"><B><I>'partitions'</I></B></A> options since the <A HREF="section5.html#Replay_Install"><B><I>Replay Install</I></B></A> will force you to re-do these steps). Finally, if you are going to be auto installing from a CD-ROM, then you might want to consider adding the <A HREF="section4-11.html#interactive"><B><I>'interactive'</I></B></A> option.</P> <H2 CLASS="western"><A NAME="Things_to_know_before_starting"></A>Things to know before starting</H2> <P CLASS="western">The general objective for creating an Auto Install diskette is to minimize the work that you will have to do when installing basically the same suite of programs on multiple computers. You have a choice at this point, create a <A HREF="#Basic_Auto_Install_Diskette"><B><I>'Basic AutoInstall Diskette'</I></B></A> which contains all information common to all computers and then use the Software Manager on each computer to customize for the user. Or, create a custom diskette for each computer but this is a lot of work and there are probably more optimal approaches that you could use.</P> <P CLASS="western" STYLE="margin-bottom: 0.15in">Unless you are really a lucky individual and all the computers you are doing the installs for are identical, hardware wise, there is some customization that you will have to do for each. The following is a minimal list of things you need to know so that you can begin the 'customization'.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=91> <COL WIDTH=756> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=30> <P CLASS="western">1.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The amount of installed memory. (just in case the Auto Detection and your BIOS disagree).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=48> <P CLASS="western">2.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The number of hard disk drives, their type (IDE and/or SCSI), their device ordering (hda, hdb, ... or sda, sdb, ...) and the size of each in terms of Cylinder/Heads/Sectors.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=30> <P CLASS="western">3.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The number and type of CD or CD-RW or DVD drives and their device ordering (hda, hdb ... or sda, sdb ...).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=30> <P CLASS="western">4.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The number of Floppy disk drives.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=48> <P CLASS="western">5.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The number of types of other removable media devices (zip drives, Jazz drives, tape drives, ...) and their device ordering (hda, hdb ... or sda, sdb ...). </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=30> <P CLASS="western">6.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The type of pointer device, if any (typically a mouse) and how it is connected (serial, bus mouse, ps/2 ...).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=48> <P CLASS="western">7.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The network card type, for non Plug and Pray types, you will also need to know its I/O address and the IRQ it uses.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91 HEIGHT=30> <P CLASS="western">8.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The type of video card used (mostly the chip set that is used on it).</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=91> <P CLASS="western">9.</P> </TD> <TD WIDTH=756> <P CLASS="western" STYLE="margin-left: 0in">The type and capabilities of the monitor.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.08in">Next, you need to know how you plan to organize your devices (storage media) into a uniform file system hierarchy (<FONT FACE="Courier, monospace">/</FONT>, <FONT FACE="Courier, monospace">/boot</FONT>, ...). Which devices and partitions (also what file types ie. xfs, ext3) on each go where.</P> <P CLASS="western">Finally, you need to determine what packages are going to be installed on the target computer.</P> <P CLASS="western">So much for Quick, eh?</P> <P CLASS="western">I almost forgot, you need to decide what Installation Method you plan on using (see the section <A HREF="section2.html#Installation_Methods"><B><I>Installation Methods</I></B></A>). The following section is going to use the NFS Server method and it also assumes that you have set up the NFS server with the required file set (see the section <A HREF="section9.html#Setting_up_a_Simple_NFS_Server"><B><I>Setting Up a Simple NFS Server</I></B></A> as an example).</P> <P CLASS="western">There is a vast volume of information regarding the general subject of setting up and organizing your computer available in book stores and on the web. Everyone has an opinion, good and bad, but you will find that experience is the best, so just use your own best judgment. A good place to start is at <A HREF="http://tldp.org/"><B><I>http://tldp.org</I></B></A>, look at the HOW-TOs, Mini HOW-TOs and Guides. Just in case, the Mandrake Distribution contains most of these documents (albeit somewhat dated) and they may already be installed in a computer that you can access.</P> <P CLASS="western">Remember, if what you do the first time is not right, do it again. The beauty of the Auto Install process is that you can make changes to the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file and repeat the installation until you get it the way you want. Although, lots of coffee or other suitable stimulant(s) may be required.</P> <H2 CLASS="western"><A NAME="Creating_Your_Boot_Media"></A>Creating Your Boot Media</H2> <H3 CLASS="western"><A NAME="Basic_Auto_Install_Diskette"></A>Basic Auto Install Diskette</H3> <P CLASS="western">The best way to start is to create a known 'good' boot diskette using the images that Mandrake has supplied on their CD-ROM, then remove what you do not want, modify what is left as desired, then add anything that is missing. Sounds simple, eh? Only installations from the CD-ROM and PCMCIA devices use this approach.</P> <P CLASS="headings-special-western">Build Base diskette:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Load and mount the Install CD-ROM, or change to the directory containing the Mandrakelinux<FONT FACE="Times, serif">™</FONT> file set, place a blank diskette in the floppy drive, then:</P> <P CLASS="western" STYLE="margin-left: 1in"><FONT FACE="Courier, monospace">dd if=images/cdrom.img of=/dev/fd0</FONT></P> <P CLASS="headings-special-western">Remove un-necessary files (optional):</P> <P CLASS="western" STYLE="margin-left: 0.8in">Mount the floppy diskette, then:</P> <P CLASS="western" STYLE="margin-left: 1in"><FONT FACE="Courier, monospace">rm -f /mnt/floppy/help.msg</FONT></P> <P CLASS="headings-special-western">Customize the Loader's Configuration File:</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">Edit <FONT FACE="Courier, monospace">/mnt/floppy/syslinux.cfg</FONT> and remove / change what you do not need (see the section <A HREF="section3.html#Anatomy_of_the_Boot_Loader_Configuration_Files"><B><I>Anatomy of the Boot Loader Configuration Files</I></B></A>); the following is my file's contents:</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">default linux</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">display boot.msg</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">label linux</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">kernel vmlinuz</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">append kickstart=floppy automatic=met:cdrom,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">hos:tommy,dom:eastcott.net ramdisk_size=128000</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">initrd=cdrom.rdz root=/dev/ram3 acpi=ht vga=788</P> </TD> </TR> </TABLE> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=787> <TR VALIGN=TOP> <TD WIDTH=60 HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic61" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=787> <P CLASS="western" STYLE="margin-left: 0.25in">All the text starting with <FONT FACE="Courier, monospace">append</FONT> through <FONT FACE="Courier, monospace">788</FONT> are on <B>ONE</B> line.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Customize the Boot Message:</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">This one is up to you, but here is what is in mine (create or replace the file <FONT FACE="Courier, monospace">/mnt/floppy/boot.msg</FONT>):</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"><blank line></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">Installing Mandrake Linux 10.0 </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><blank line></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">This will install a basic system.</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><blank line></P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> <FONT FACE="Courier, monospace"><blank line></FONT> is just in indicator meaning that an empty line is actually in the file. Be as creative or simplistic as you want. If you want to change the default graphics (<FONT FACE="Courier, monospace">boot.msg</FONT>) then you need to read the file <FONT FACE="Courier, monospace">'/usr/share/doc/syslinux*/README.graphics'</FONT>.</P> <P CLASS="headings-special-western">Adding your Customized Auto Install File:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Copy your customized <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> (or what ever name you used to distinguish it from other such files) file to the floppy diskette as <FONT FACE="Courier, monospace">auto_inst.cfg</FONT>.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=788> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_m7a70bfe0.png" NAME="Graphic64" ALIGN=LEFT WIDTH=27 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=788> <P CLASS="western" STYLE="margin-left: 0.3in">Un-mount the diskette and remove it. It is probably a good idea to put a label on the diskette with suitable markings so you can find it again and know what it contains. I have a bad habit of not putting labels on them and ending up with a table full of blank disks and not being able to find the one I want.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Test Drive:</P> <P CLASS="western" STYLE="margin-left: 0.8in">This may be a good place to go get a good book, extra coffee etc.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Install your shiny new Auto Install disk in the target computer, turn it on an watch what happens, installing any additionally requested CD-ROMS when prompted. If everything went properly, the last message on the screen should be: <FONT FACE="Courier, monospace">Please remove disk and re-boot...</FONT></P> <P CLASS="western" STYLE="margin-left: 0.8in">If not, then use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> to switch to the diagnostic screen and see what the error message was. Then fix what its complaining about, and re-boot and do it again. It might be a good idea to use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> shortly after the kernel boots so you can see all the steps that DrakX is going through.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Repeat as required until you get what you want.</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">A common problem with customized <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> files is you didn't get the syntax correct. Your first hint will be that the install stops with a cryptic error message indicating it could not load the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file (maybe it even gives you the line number). If you are not in a rush, you could follow Mandrake's advice in the generated <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=96> <COL WIDTH=751> <TR VALIGN=TOP> <TD WIDTH=96> <P CLASS="closecode-western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_m7a70bfe0.png" NAME="Graphic65" ALIGN=LEFT WIDTH=27 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=751> <P CLASS="closecode-western" STYLE="margin-left: 0.2in"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent"># You should always check the syntax with 'perl -cw auto_inst.cfg.pl' before testing</SPAN></FONT></P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> Another problem is that you did not get the settings and options correct in the <FONT FACE="Courier, monospace">syslinux.cfg</FONT> file. In this case, you will probably be presented with the Manual Install GUI screens. Solving this type of problem is simply a matter of reviewing the file and ensuring that your options are correct.</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">A more difficult problem to resolve is if you forgot to add a field / line for one of the options you modified or added. There are two possible indications:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=152> <COL WIDTH=695> <TR VALIGN=TOP> <TD WIDTH=152 HEIGHT=30> <P CLASS="western" ALIGN=LEFT STYLE="margin-left: 1in">1.</P> </TD> <TD WIDTH=695> <P CLASS="western" STYLE="margin-left: 0in">the install stops before completing, or </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=152> <P CLASS="western" ALIGN=LEFT STYLE="margin-left: 1in">2.</P> </TD> <TD WIDTH=695> <P CLASS="western" STYLE="margin-left: 0in">the hard one - you get the success - <FONT FACE="Courier, monospace">Please remove disk and re-boot...</FONT> message, but it doesn't boot or if it does boot, it does not seem to be working right.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> Unfortunately, there is no easy answer here. Begin by reviewing the contents of the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file and comparing the entries to the descriptions in the section <A HREF="section4.html#Anatomy_of_the_auto_instcfg_File"><B><I>Anatomy of the 'auto_inst.cfg' File</I></B></A>. Pay particular attention to those parts which relate to your hardware, maybe what you thought, is not what the computer knows.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Another approach may be to modify the contents of the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file down to an absolute minimum, get that working and then begin adding back the stuff you deleted.</P> <H3 CLASS="western"><A NAME="Grub_Auto_Install_Diskette"></A>Grub Auto Install Diskette</H3> <P CLASS="headings-special-western">Build Base diskette:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Load and mount the Install CD-ROM, or change to the directory containing the Mandrakelinux<FONT FACE="Times, serif">™</FONT> file set, place a blank diskette in the floppy drive, then:</P> <P CLASS="western" STYLE="margin-left: 1in"><FONT FACE="Courier, monospace">dd if=images/hd_grub.img of=/dev/fd0</FONT></P> <P CLASS="headings-special-western">Customize the Loader's Configuration File:</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">Edit <FONT FACE="Courier, monospace">/mnt/floppy/menu.lst</FONT> and remove / change what you do not need (see the section <A HREF="section3.html#Anatomy_of_the_Boot_Loader_Configuration_Files"><B><I>Anatomy of the Boot Loader Configuration Files</I></B></A>); the following is my file's contents:</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">timeout 5</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">default 0</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">fallback 0</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">title Mandrake Install</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">root (hd0,6)</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">kernel /cooker/isolinux/alt0/vmlinuz ramdisk_size=128000 </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">root=/dev/ram3 acpi=ht vga=788 kickstart=floppy </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">automatic=method:disk,dis:hde,par:hde7,dir:/cooker,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">initrd /cooker/isolinux/alt0/all.rdz</P> </TD> </TR> </TABLE> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=19*> <COL WIDTH=237*> <TR VALIGN=TOP> <TD WIDTH=7% HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic58" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=93%> <P CLASS="western" STYLE="margin-left: 0.23in">All the text starting with <FONT FACE="Courier, monospace">kernel</FONT> through <FONT FACE="Courier, monospace">cooker,</FONT> are on <B>ONE</B> line.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Adding your Customized Auto Install File:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Copy your customized <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> (or what ever name you used to distinguish it from other such files) file to the floppy diskette as <FONT FACE="Courier, monospace">auto_inst.cfg</FONT>.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=788> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_m7a70bfe0.png" NAME="Graphic81" ALIGN=LEFT WIDTH=27 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=788> <P CLASS="western" STYLE="margin-left: 0.3in">Un-mount the diskette and remove it. It is probably a good idea to put a label on the diskette with suitable markings so you can find it again and know what it contains. I have a bad habit of not putting labels on them and ending up with a table full of blank disks and not being able to find the one I want.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Test Drive:</P> <P CLASS="western" STYLE="margin-left: 0.8in">This may be a good place to go get a good book, extra coffee etc.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Install your shiny new Auto Install disk in the target computer, turn it on an watch what happens, installing any additionally requested CD-ROMS when prompted. If everything went properly, the last message on the screen should be: <FONT FACE="Courier, monospace">Please remove disk and re-boot...</FONT></P> <P CLASS="western" STYLE="margin-left: 0.8in">If not, then use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> to switch to the diagnostic screen and see what the error message was. Then fix what its complaining about, and re-boot and do it again. It might be a good idea to use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> shortly after the kernel boots so you can see all the steps that DrakX is going through.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Repeat as required until you get what you want.</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">A common problem with customized <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> files is you didn't get the syntax correct. Your first hint will be that the install stops with a cryptic error message indicating it could not load the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file (maybe it even gives you the line number). If you are not in a rush, you could follow Mandrake's advice in the generated <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=96> <COL WIDTH=751> <TR VALIGN=TOP> <TD WIDTH=96> <P CLASS="closecode-western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_m7a70bfe0.png" NAME="Graphic82" ALIGN=LEFT WIDTH=27 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=751> <P CLASS="closecode-western" STYLE="margin-left: 0.2in"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent"># You should always check the syntax with 'perl -cw auto_inst.cfg.pl' before testing</SPAN></FONT></P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> Another problem is that you did not get the settings and options correct in the <FONT FACE="Courier, monospace">menu.lst</FONT> file. In this case, you will probably be presented with the Manual Install GUI screens. Solving this type of problem is simply a matter of reviewing the file and ensuring that your options are correct.</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">A more difficult problem to resolve is if you forgot to add a field / line for one of the options you modified or added. There are two possible indications:</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=152> <COL WIDTH=695> <TR VALIGN=TOP> <TD WIDTH=152 HEIGHT=30> <P CLASS="western" ALIGN=LEFT STYLE="margin-left: 1in">1.</P> </TD> <TD WIDTH=695> <P CLASS="western" STYLE="margin-left: 0in">the install stops before completing, or </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=152> <P CLASS="western" ALIGN=LEFT STYLE="margin-left: 1in">2.</P> </TD> <TD WIDTH=695> <P CLASS="western" STYLE="margin-left: 0in">the hard one - you get the success - <FONT FACE="Courier, monospace">Please remove disk and re-boot...</FONT> message, but it doesn't boot or if it does boot, it does not seem to be working right.</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> Unfortunately, there is no easy answer here. Begin by reviewing the contents of the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file and comparing the entries to the descriptions in the section <A HREF="section4.html#Anatomy_of_the_auto_instcfg_File"><B><I>Anatomy of the 'auto_inst.cfg' File</I></B></A>. Pay particular attention to those parts which relate to your hardware, maybe what you thought, is not what the computer knows.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Another approach may be to modify the contents of the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file down to an absolute minimum, get that working and then begin adding back the stuff you deleted.</P> <H3 CLASS="western"><A NAME="Network_Auto_Install_Diskette_Set"></A>Network Auto Install Diskette Set</H3> <P CLASS="western">The Network Services install now requires 2 diskettes, one that you boot from and a second containing the network drivers. The best way to start is to create a known 'good' boot diskette using the images that Mandrake has supplied on their CD-ROM, then remove what you do not want, modify what is left as desired, then add anything that is missing. Sounds simple, eh?</P> <P CLASS="headings-special-western">Build Boot diskette:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Load and mount the Install CD-ROM, or change to the directory containing the Mandrakelinux<FONT FACE="Times, serif">™</FONT> file set, place a blank diskette in the floppy drive, then</P> <P CLASS="western" STYLE="margin-left: 1in"><FONT FACE="Courier, monospace">dd if=images/network.img of=/dev/fd0</FONT></P> <P CLASS="headings-special-western">Customize the Loader's Configuration File:</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">Edit <FONT FACE="Courier, monospace">/mnt/floppy/syslinux.cfg</FONT> and remove / change what you do not need (see the section <A HREF="section3.html#Anatomy_of_the_Boot_Loader_Configuration_Files"><B><I>Anatomy of the Boot Loader Configuration Files</I></B></A>); the following is my file's contents:</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">default linux</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">display boot.msg</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western">label linux</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">kernel vmlinuz</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.2in">append kickstart=floppy automatic=met:nfs,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">ser:fileserver,dir:/Mandrake/10.0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">netw:static,ip:192.168.5.202,netm:255.255.255.0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">gat:192.168.5.253,dns:192.168.5.253 ramdisk_size=128000</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff"> <P CLASS="coderef-western" STYLE="margin-left: 1.4in">initrd=network.rdz root=/dev/ram3 acpi=ht vga=788</P> </TD> </TR> </TABLE> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=19*> <COL WIDTH=237*> <TR VALIGN=TOP> <TD WIDTH=7% HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic62" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=93%> <P CLASS="western" STYLE="margin-left: 0.23in">All the text starting with <FONT FACE="Courier, monospace">append</FONT> through <FONT FACE="Courier, monospace">788</FONT> are on <B>ONE</B> line.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Customize the Boot Message:</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">This one is up to you, but here is what is in mine (create or replace the file <FONT FACE="Courier, monospace">/mnt/floppy/boot.msg</FONT>):</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in"><BR><BR> </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"><blank line></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">Installing Mandrake Linux 10.0 </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><blank line></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">This will install a basic system.</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><blank line></P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> <FONT FACE="Courier, monospace"><blank line></FONT> is just in indicator meaning that an empty line is actually in the file. Be as creative or simplistic as you want. If you want to change the default graphics (<FONT FACE="Courier, monospace">boot.msg</FONT>) then you need to read the file <FONT FACE="Courier, monospace">'/usr/share/doc/syslinux*/README.graphics'</FONT>.</P> <P CLASS="headings-special-western">Build Driver diskette:</P> <P CLASS="western" STYLE="margin-left: 1in"><FONT FACE="Courier, monospace">dd if=images/network_drivers.img of=/dev/fd0</FONT></P> <P CLASS="headings-special-western">Adding your Customized Auto Install File:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Copy your customized <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> (or what ever name you used to distinguish it from other such files) file to the Driver floppy diskette as <FONT FACE="Courier, monospace">auto_inst.cfg</FONT>. When you mount the diskette, you will have to become the root user to copy the file.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=98> <COL WIDTH=750> <TR VALIGN=TOP> <TD WIDTH=98> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_m7a70bfe0.png" NAME="Graphic66" ALIGN=LEFT WIDTH=27 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=750> <P CLASS="western" STYLE="margin-left: 0in">Un-mount the diskette and remove it. It is probably a good idea to put a label on the diskette with suitable markings so you can find it again and know what it contains. I have a bad habit of NOT putting labels on them and ending up with a table full of blank disks and not being able to find the one I want.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Test Drive:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Install your shiny new Boot Auto Install disk in the target computer, turn it on an watch what happens. If everything went properly, it prompts you to insert the Additional Drivers diskette so put your new Driver diskette in and select OK. You should be able to sit back, have coffee, relax and wait until the last message on the screen: <FONT FACE="Courier, monospace">Please remove disk and re-boot...</FONT> appears indicating that the install is done.</P> <P CLASS="western" STYLE="margin-left: 0.8in">If not, then use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> to switch to the diagnostic screen and see what the error message was. Then fix what its complaining about, and re-boot and do it again. It might be a good idea to use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> shortly after the kernel boots so you can see all the steps that DrakX is going through.</P> <H3 CLASS="western"><A NAME="Boot_CD-ROM_and_Auto_Install_Diskette"></A> Boot CD-ROM and Auto Install Diskette</H3> <P CLASS="western">This capability is probably the best to use if you have access and permissions to change things on the NFS Server. In addition, if you are running a network where IPs are assigned by a DHCP server then you can achieve the maximum benefit possible.</P> <P CLASS="western">As with all things, there are a number of steps that you will have to go through to set it up. I recommend that you use either CD-RW, DVD-RW, DVD-RAM disks, unless you have an abundant number of cheap CD-R disks avilable.</P> <P CLASS="headings-special-western">Setup and Build Test Boot Disk</P> <P CLASS="western" STYLE="margin-left: 0.8in">First, you need to extract the files from the <FONT FACE="Courier, monospace">'boot.iso'</FONT> and adjust them so that you can add your customizations and rebuild the ISO file:</P> <P CLASS="western" STYLE="margin-left: 0.8in">As root, create a mount point and mount the <FONT FACE="Courier, monospace">'boot.iso'</FONT> file using:</P> <P CLASS="closecode-western"><FONT SIZE=2>mkdir -p /mnt/iso</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>mount -t iso9660 -o loop boot.iso /mnt/iso</FONT></P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.15in"> Then copy the files to your work area, adjusting the permissions so that you can make changes:</P> <P CLASS="closecode-western"><FONT SIZE=2>cp -a /mnt/iso .</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>umount /mnt/iso</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>chmod 755 iso</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>chmod 755 iso/isolinux</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>chmod 644 iso/isolinux/isolinux.bin</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>chmod 644 iso/isolinux/isolinux.cfg</FONT></P> <P CLASS="closecode-western"><FONT SIZE=2>chown -R <your user name>.<your group name> iso </FONT> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">As a regular user, rebuild the '<FONT FACE="Courier, monospace">boot.iso'</FONT> file using the following script:</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">#!/bin/bash</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">ISO="auto.iso"</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">IMAGE_DIR="iso"</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">rm -f $ISO</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">cd $IMAGE_DIR</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">mkisofs -r -f -J -cache-inodes -V 'Auto Boot ISO' -b isolinux/isolinux.bin \</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"> -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"> -o ../$ISO ../$IMAGE_DIR</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">cd ..</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> You should now have an ISO image called <FONT FACE="Courier, monospace">auto.iso</FONT> that you can create a CD with, boot and verify that it is functional.</P> <P CLASS="headings-special-western">Customize the Loader's Configuration File:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Edit the file <FONT FACE="Courier, monospace">iso/isolinux/isolinux.cfg</FONT> so that it appears something like the fragment:</P> <P CLASS="western"><BR><BR> </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"><FONT SIZE=1 STYLE="font-size: 8pt">default linux</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">prompt 1</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">timeout 150</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">display boot.msg</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">F1 help.msg</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">F2 advanced.msg</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">F3 boot.msg</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label FLOPPY</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append kickstart=floppy automatic=met:nfs,ser:fileserver,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">dir:/mnt/mass/Mandrake/mandrake/10.0,int:eth1,netw:static,ip:192.168.5.225,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">netm:255.255.255.0,gat:192.168.5.252,dns:192.168.5.254, </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label DHCP-FLOPPY</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append kickstart=floppy automatic=met:nfs,ser:fileserver,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">dir:/mnt/mass/Mandrake/mandrake/10.0,int:eth1,netw:dhcp,hos:tommy, </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label NFS</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append kickstart=my_cfgs/auto_inst.cfg automatic=met:nfs,ser:fileserver,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">dir:/mnt/mass/Mandrake/mandrake/10.0,int:eth1,netw:static,ip:192.168.5.225,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">netm:255.255.255.0,gat:192.168.5.252,dns:192.168.5.254, </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label NFS-IP</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append kickstart=my_cfgs/auto_inst-IP automatic=met:nfs,ser:fileserver,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">dir:/mnt/mass/Mandrake/mandrake/10.0,int:eth1,netw:static,ip:192.168.5.225,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">netm:255.255.255.0,gat:192.168.5.252,dns:192.168.5.254, </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label DHCP-NFS</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append kickstart=my_cfgs/auto_inst.cfg automatic=met:nfs,ser:fileserver,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">dir:/mnt/mass/Mandrake/mandrake/10.0,int:eth1,netw:dhcp,hos:tommy, </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label DHCP-IP</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append kickstart=my_cfgs/auto_inst-IP automatic=met:nfs,ser:fileserver,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">dir:/mnt/mass/Mandrake/mandrake/10.0,int:eth1,netw:dhcp,hos:tommy, </FONT> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></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"><FONT SIZE=1 STYLE="font-size: 8pt">label linux</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">kernel alt0/vmlinuz</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">append initrd=alt0/all.rdz ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788</FONT></P> </TD> </TR> </TABLE> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=19*> <COL WIDTH=237*> <TR VALIGN=TOP> <TD WIDTH=7% HEIGHT=48> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic63" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=93%> <P CLASS="western" STYLE="margin-left: 0.23in">All the text starting with <FONT FACE="Courier, monospace">append</FONT> through <FONT FACE="Courier, monospace">788</FONT> are on <B>ONE</B> line.</P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Customize the Boot Message:</P> <P CLASS="western" STYLE="margin-left: 0.8in; margin-bottom: 0.15in">This one is up to you, but here is what is in mine (create or replace the file <FONT FACE="Courier, monospace">iso/isolinux/boot.msg</FONT>):</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"><blank line></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">Installing Mandrake Linux 10.0 </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><blank line></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">This will install a basic system.</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><blank line></P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> <FONT FACE="Courier, monospace"><blank line></FONT> is just in indicator meaning that an empty line is actually in the file. Be as creative or simplistic as you want. If you want to change the default graphics (<FONT FACE="Courier, monospace">boot.msg</FONT>) then you need to read the file <FONT FACE="Courier, monospace">'/usr/share/doc/syslinux*/README.graphics'</FONT>.</P> <P CLASS="headings-special-western">Build your Customized Auto Install Floppy:</P> <P CLASS="western" STYLE="margin-left: 0.8in">Copy your customized <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> (or what ever name you used to distinguish it from other such files) file to a <FONT FACE="Courier, monospace">'vfat'</FONT> (or <FONT FACE="Courier, monospace">'ext2'</FONT>) formatted floppy diskette as <FONT FACE="Courier, monospace">auto_inst.cfg</FONT>.</P> <P CLASS="western" STYLE="margin-left: 0.8in">Un-mount the diskette and remove it. It is probably a good idea to put a label on the diskette with suitable markings so you can find it again and know what it contains. I have a bad habit of NOT putting labels on them and ending up with a table full of blank disks and not being able to find the one I want.</P> <P CLASS="western" STYLE="margin-left: 0.8in">This step is only necessary if you plan on using the Boot CD and Floppy approach.</P> <P CLASS="headings-special-western">Build Final Boot Disk</P> <P CLASS="western" STYLE="margin-left: 0.8in">Finally, rebuild the <FONT FACE="Courier, monospace">auto.iso</FONT> file using the following script:</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">#!/bin/bash</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">ISO="auto.iso"</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">IMAGE_DIR="iso"</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">rm -f $ISO</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">cd $IMAGE_DIR</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">mkisofs -r -f -J -cache-inodes -V 'Auto Boot ISO' -b isolinux/isolinux.bin \</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"> -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"> -o ../$ISO ../$IMAGE_DIR</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">cd ..</P> </TD> </TR> </TABLE> <P CLASS="western" STYLE="margin-left: 0.8in; margin-top: 0.15in; margin-bottom: 0.08in"> You should now have an ISO image called <FONT FACE="Courier, monospace">auto.iso</FONT> containing all your customizations that you can use create a suitable CD-R, CD-RW, DVD-R, DVD-RW or DVD-RAM.</P> <P CLASS="headings-special-western">Test Drive:</P> <P CLASS="western">Install your shiny new Boot Auto Install CD-ROM and the Auto Install Floppy in the target computer, turn it on an watch what happens. If everything went properly, the last message on the screen: <FONT FACE="Courier, monospace">Please remove disk and re-boot... </FONT>appears indicating that the install is done.</P> <P CLASS="western">If not, then use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> to switch to the diagnostic screen and see what the error message was. Then fix what its complaining about, and re-boot and do it again. It might be a good idea to use <FONT FACE="Courier, monospace">Ctrl-Alt-F3</FONT> shortly after the kernel boots so you can see all the steps that DrakX is going through.</P> <H2 CLASS="western"><A NAME="Example_auto_instcfg_File"></A>Example 'auto_inst.cfg' File</H2> <P CLASS="western">The following is an example <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file for a recent computer used as a workstation. Your situation will obviously vary, but it will give you an idea of what you could do.</P> <P CLASS="western">By the way, the file were generated using the <B>kinda Short Cut #3</B> described at the beginning of this section, with a few personal adjustments.</P> <P CLASS="headings-special-western">Example 1: Recent Computer</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">#!/usr/bin/perl -cw</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">#</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"># You should check the syntax of this file before using it in an auto-install.</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"># You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"># (note the '#!/usr/bin/perl -cw' on the first line).</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">$o = {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'autoExitInstall' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'mkbootdisk' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'isUpgrade' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'excludedocs' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'miscellaneous' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'numlock' => 1,</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" STYLE="margin-left: 1.2in">'partitioning' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'eraseBadPartitions' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'auto_allocate' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'clearall' => 1,</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" STYLE="margin-left: 1.2in">'partitions' => [</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">'size' => 96327,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'type' => 1155,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'mntpoint' => '/boot',</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.4in">{</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'size' => 2104452,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'type' => 130,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'mntpoint' => 'swap',</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.4in">{</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'size' => 75971322,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'type' => 1155,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'ratio' => 100,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'mntpoint' => '/',</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" STYLE="margin-left: 1.2in">'manualFstab' => [],</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'useSupermount' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'bootloader' => {</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.4in">'crushMbr' => 1,</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" STYLE="margin-left: 1.2in">'authentication' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'md5' => 1,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'shadow' => 1,</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" STYLE="margin-left: 1.2in">'superuser' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'realname' => 'root',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'shell' => '/bin/bash',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'pw' => '$1$ec4X9KJ9$RwL6dZqwwzbTMCyP5Wd.01',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'gid' => '0',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'uid' => '0',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'home' => '/root'</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" STYLE="margin-left: 1.2in">'users' => [],</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'security' => 2,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'security_user' => 'david@myisp.ca',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'libsafe' => 0,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'timezone' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'UTC' => '1',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'timezone' => 'Canada/Mountain',</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" STYLE="margin-left: 1.2in">'printer' => undef,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in">'netc' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'NETWORKING' => 'yes',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'HOSTNAME' => 'mdk92-devel.eastcott.net',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'DOMAINNAME' => 'eastcott.net',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'GATEWAY' => '192.168.5.252',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'GATEWAYDEV' => 'eth1',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'dnsServer' => '192.168.5.254',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'FORWARD_IPV4' => 'false',</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" STYLE="margin-left: 1.2in">'intf' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'eth1' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'DEVICE' => 'eth1',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'BOOTPROTO' => 'static',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'IPADDR' => '192.168.5.225',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'NETMASK' => '255.255.255.0',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'NETWORK' => '192.168.5.0',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'BROADCAST' => '192.168.5.255',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'MII_NOT_SUPPORTED' => 'yes',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'ONBOOT' => 'yes',</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" STYLE="margin-left: 1.2in">'locale' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'country' => 'CA',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'utf8' => '',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'langs' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.6in">'en_US' => 1</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.4in">'lang' => 'en_US'</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" STYLE="margin-left: 1.2in">'keyboard' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'KEYBOARD' => 'us',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'KBCHARSET' => 'C',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'GRP_TOGGLE' => ''</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" STYLE="margin-left: 1.2in">'mouse' => {</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'type' => 'USB',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'device' => 'usbmouse',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'name' => 'Wheel',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'nbuttons' => 5,</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'MOUSETYPE' => 'ps/2',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'XMOUSETYPE' => 'IMPS/2'</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" STYLE="margin-left: 1.2in">'services' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'alsa',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'atd',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'crond',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'devfsd',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'harddrake',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'keytable',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'kheader',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'netfs',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'network',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'nfslock',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'numlock',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'partmon',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'portmap',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'random',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'rawdevices',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'sound',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'syslog',</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" STYLE="margin-left: 1.2in">'default_packages' => [</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'at',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'coreutils-doc',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'devfsd',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'eject',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'gnupg',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'harddrake',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'hdparm',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'hexedit',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'hotplug',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'joe',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'ldetect',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'locales',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'locales-en',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'man',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'man-pages',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'msec',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'nfs-utils-clients',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'numlock',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'procmail',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'strace',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'sudo',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'tmpwatch',</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in">'urpmi',</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" STYLE="margin-left: 1.2in">#</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"># Clean up and adjust missing things</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" STYLE="margin-left: 1.2in">'postInstall' => '</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"># fix joe up</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">perl -pi -e "s/^ -nobackups/-nobackups/" /etc/joe/joerc</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">perl -pi -e "s/^-wordwrap/--wordwrap/" /etc/joe/joerc</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">'</P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western">};</P> </TD> </TR> </TABLE> <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="section6.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="section8.html">Next</A></TD></TR> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">Advanced Features</TD> <TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"> </TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">Creating an Updated Installation CD Set</TD></TR></TABLE> </BODY> </HTML>