Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 2820

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>RedHat Linux KickStart HOWTO: Setting up a boot floppy</TITLE>
 <LINK HREF="KickStart-HOWTO-6.html" REL=next>
 <LINK HREF="KickStart-HOWTO-4.html" REL=previous>
 <LINK HREF="KickStart-HOWTO.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="KickStart-HOWTO-6.html">Next</A>
<A HREF="KickStart-HOWTO-4.html">Previous</A>
<A HREF="KickStart-HOWTO.html#toc5">Contents</A>
<HR>
<H2><A NAME="s5">5. Setting up a boot floppy</A></H2>

<P>
<P>Essentially, all you have to do is copy your KickStart config file
to <EM>/ks.cfg</EM> on the RedHat boot floppy, e.g.
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
  mcopy ks.cfg a:
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>However - the RedHat boot floppy is pretty full, and you may find that
you have to delete some of the other files to make room for the
KickStart config file.  I was able to make enough room for mine by
deleting the various message files normally displayed by the
<CODE>SYSLINUX</CODE> boot loader, e.g.
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
  mdel a:\*.msg
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>Another approach would be to throw away the drivers for some of the
hardware you don't have - see the section on modifying the boot
floppy below.
<P>
<P>You may also want to edit <EM>syslinux.cfg</EM>, the <CODE>SYSLINUX</CODE>
config file.  This also lives in the top level directory of the RedHat
boot floppy.  For instance, the following <EM>syslinux.cfg</EM> will
cause KickStart mode to be entered into automatically as the machine
boots up, without the normal delay:
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
  default ks
  prompt 0
  label ks
    kernel vmlinuz
    append ks=floppy initrd=initrd.img
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>Note that you almost probably want to base your boot and supplementary
floppies on the most recent disk images available in the
<EM>updates/i386</EM> on your local RedHat mirror site.  Older images
may be buggy or have driver support for less hardware.
<P>
<P>
<P>
<HR>
<A HREF="KickStart-HOWTO-6.html">Next</A>
<A HREF="KickStart-HOWTO-4.html">Previous</A>
<A HREF="KickStart-HOWTO.html#toc5">Contents</A>
</BODY>
</HTML>