<!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="section10.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD> <TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM"> <A HREF="section12.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%"> <H1 CLASS="western"><A NAME="Problems_and_Issues"></A>Problems and Issues</H1> <P CLASS="western" STYLE="margin-bottom: 0.15in">As with all things, the Automated Installation facility has its problems. This section will attempt to identify them and illustrate, if possible, work a rounds for them.</P> <H2 CLASS="western"><A NAME="General_Issues"></A>General Issues</H2> <P CLASS="western" STYLE="margin-bottom: 0.15in">These problems and issues are common to all releases of the current distributions' Version.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=90> <COL WIDTH=757> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><B>1.</B></P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><B>Missing RAID and LVM definitions.</B></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=65> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in">Unfortunately when the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT> file is generated, the RAID and LVM declarations are <B>NOT</B>. You will have to manually add them your self.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><B>2.</B></P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><B>Enabling <FONT FACE="Courier, monospace">passno</FONT>, <FONT FACE="Courier, monospace">freq</FONT> and <FONT FACE="Courier, monospace">toFormatCheck</FONT> with <FONT FACE="Courier, monospace">partitions</FONT></B>.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in">To enable these features requires that you make a modification to the Stage2 perl scripts as follows:</P> <P CLASS="western" STYLE="margin-left: 0.2in">a) Uncompress the file using: <FONT SIZE=1 STYLE="font-size: 8pt"><FONT FACE="Courier, monospace">gunzip Mandrake/mdkinst/usr/bin/perl-install/fsedit.pm.gz</FONT></FONT></P> <P CLASS="western" STYLE="margin-left: 0.2in">b) Adjust the lines (about 481) <B>from</B>:</P> <P CLASS="closecode-western" STYLE="margin-left: 0.4in"><FONT SIZE=1 STYLE="font-size: 8pt">sub suggest_part {</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.4in"> </P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">...</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><BR> </P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">foreach ('options', 'lv_name', 'encrypt_key') {</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.8in"><FONT SIZE=1 STYLE="font-size: 8pt">$part->{$_} = $best->{$_} if $best->{$_};</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">1;</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.4in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> <P CLASS="text-body-indent-western"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in"><B>to</B>:</P> <P CLASS="closecode-western" STYLE="margin-left: 0.4in"><FONT SIZE=1 STYLE="font-size: 8pt">sub suggest_part {</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.4in"> </P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">...</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><BR> </P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">foreach ('options', 'lv_name', 'encrypt_key',<B> 'passno', 'freq', 'toFormatCheck'</B>) {</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.8in"><FONT SIZE=1 STYLE="font-size: 8pt">$part->{$_} = $best->{$_} if <B>exists</B> $best->{$_};</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.6in"><FONT SIZE=1 STYLE="font-size: 8pt">1;</FONT></P> <P CLASS="closecode-western" STYLE="margin-left: 0.4in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> <P CLASS="closecode-western"><BR> </P> <P CLASS="western" STYLE="margin-left: 0.2in">c) Compress the file using: <FONT SIZE=1 STYLE="font-size: 8pt"><FONT FACE="Courier, monospace">gzip Mandrake/mdkinst/usr/bin/perl-install/fsedit.pm.gz</FONT></FONT></P> <P CLASS="western" STYLE="margin-left: 0.2in"><BR> </P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <H2 CLASS="western" STYLE="page-break-before: always"><A NAME="Community_Release_Issues"></A> Community Release Issues</H2> <P CLASS="western">These ones are specific to the Community Release.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=90> <COL WIDTH=757> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><B>1.</B></P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><B>Usability Problems with <FONT FACE="Courier, monospace">replay*.img</FONT> files.</B></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in"><B>CD-ROM Installs</B>: the <FONT FACE="Courier, monospace">replay_install.img</FONT>'s file <FONT FACE="Courier, monospace">syslinux.cfg</FONT> has the <FONT FACE="Courier, monospace">automatic=method:disk</FONT> on the <FONT FACE="Courier, monospace">append</FONT> line twice, usable but not correct. Also, you can only install from the first CD.</P> <P CLASS="western" STYLE="margin-left: 0.2in"><B>GRUB</B>: the <FONT FACE="Courier, monospace">replay_install.img</FONT> file is usable, although it has an empty <FONT FACE="Courier, monospace">syslinux.cfg</FONT> file that is not used.</P> <P CLASS="western" STYLE="margin-left: 0.2in"><B>Network</B>: the <FONT FACE="Courier, monospace">replay_install.img</FONT> file is usable, but the <FONT FACE="Courier, monospace">syslinux.cfg</FONT> file it contains does not have any of the network information that it should. The <FONT FACE="Courier, monospace">replay_install_drivers.img</FONT> file is usable, but it has an empty <FONT FACE="Courier, monospace">syslinux.cfg</FONT> file.</P> <P CLASS="western" STYLE="margin-left: 0.2in">You can use these images, but you might want to correct them, before using, to ensure nothing odd occurs. Or you can use the procedures in <A HREF="section7.html#Scratch_Built_Auto_Install_Diskette"><B><I>Scratch Built Auto Install Diskette</I></B></A> to to create your own.</P> <P CLASS="western" STYLE="margin-left: 0.2in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic83" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in">You may also find that the floppy disk(s) that you generated during the manual install exhibit similar problems.</P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in"><BR> </P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <H2 CLASS="western"><A NAME="Final_Release_Issues"></A>Final Release Issues</H2> <P CLASS="western">These ones are specific to the Final Release.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=90> <COL WIDTH=757> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><BR> </P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in"><BR> </P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <H2 CLASS="western"><A NAME="Cooker_Issues"></A>Cooker Issues</H2> <P CLASS="western">These ones are here because cooker is where it all starts. Unfortunately, these issues are only valid at the time this document is released, and they may already be resolved by the time you read this.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=90> <COL WIDTH=757> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><B>1.</B></P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><B>Services missing from the auto_inst.cfg file. (Community Release)</B></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=119> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in">To get the <FONT FACE="Courier, monospace">'services' => ...</FONT> included in the generated configuration file (on floppy, in the images, or <FONT FACE="Courier, monospace">/root/drakx/auto_inst.cfg.pl</FONT>), you have to click on the Configure button associated with Configure Services on the Summary screen during the initial GUI installation. Alternately, you can look in the directory <FONT FACE="Courier, monospace">/etc/rc.d/rc5.d</FONT> and create the entry by examining the files listed with <FONT FACE="Courier, monospace">“S??<name of service>”</FONT> where <FONT FACE="Courier, monospace"><name of service></FONT> also appears in the <FONT FACE="Courier, monospace">/etc/rc.d/init.d</FONT> directory.</P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0 STYLE="page-break-before: always"> <COL WIDTH=90> <COL WIDTH=757> <TR VALIGN=TOP> <TD WIDTH=90 HEIGHT=30> <P CLASS="western"><B>2.</B></P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0in"><B>Generated Replay / Automated Floppy have error. (Cooker after the Community Release)</B></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=90> <P CLASS="western"><BR> </P> </TD> <TD WIDTH=757> <P CLASS="western" STYLE="margin-left: 0.2in">If you are using the Grub Hard Disk method to auto install, you will find that the generated floppy and the <BR><FONT FACE="Courier, monospace">/root/drakx/replay_install.img</FONT> have a error in the <FONT FACE="Courier, monospace">menu.lst</FONT> file.</P> <P CLASS="western" STYLE="margin-left: 0.2in">It contains:</P> <P CLASS="coderef-western" STYLE="margin-left: 0.4in; margin-bottom: 0in"> <FONT SIZE=1 STYLE="font-size: 8pt">kernel /cooker/isolinux/alt0/vmlinuz ramdisk_size=128000 </FONT> </P> <P CLASS="coderef-western" STYLE="margin-left: 0.6in; margin-bottom: 0in"> <FONT SIZE=1 STYLE="font-size: 8pt">root=/dev/ram3 acpi=ht vga=788 automatic=method:disk </FONT> </P> <P CLASS="coderef-western" STYLE="margin-left: 0.6in; margin-bottom: 0in"> <FONT SIZE=1 STYLE="font-size: 8pt">kickstart=floppy automatic=met:disk,dis:hde,par:hde7,dir:/cooker,</FONT></P> <P CLASS="western" STYLE="margin-left: 0.2in; margin-bottom: 0in"><BR> </P> <P CLASS="western" STYLE="margin-left: 0.2in">and should be:</P> <P CLASS="coderef-western" STYLE="margin-left: 0.4in; margin-bottom: 0in"> <FONT SIZE=1 STYLE="font-size: 8pt">kernel /cooker/isolinux/alt0/vmlinuz ramdisk_size=128000 </FONT> </P> <P CLASS="coderef-western" STYLE="margin-left: 0.6in; margin-bottom: 0in"> <FONT SIZE=1 STYLE="font-size: 8pt">root=/dev/ram3 acpi=ht vga=788 kickstart=floppy </FONT> </P> <P CLASS="coderef-western" STYLE="margin-left: 0.6in; margin-bottom: 0in"> <FONT SIZE=1 STYLE="font-size: 8pt">automatic=met:disk,dis:hde,par:hde7,dir:/cooker,</FONT></P> <P CLASS="western" STYLE="margin-left: 0.2in"><BR> </P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western" STYLE="page-break-before: always"><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="section10.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="section12.html">Next</A></TD></TR> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">Network and Connection Examples</TD> <TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"> </TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">GNU Free Documentation License</TD></TR></TABLE> </BODY> </HTML>