home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- FedoraNEWS.ORG header --><!-- FedoraNEW.ORG has received Red Hat's permission to use modifed version of Fedora Project CSS (Cascading Style Sheets) and 'Computer Icon' which is part of BlueCurve(TM) Theme. FedoraNEWS.ORG is using SSI (Server Side Includes) for efficient web developement. Thomas Chung <tchung@fedoranews.org> 2003-11-18 --><HTML><HEAD><TITLE>FedoraNEWS.ORG</TITLE> <META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK media=print href="http://fedoranews.org/css/print.css" type=text/css rel=stylesheet> <STYLE type=text/css media=screen>@import url( /css/layout.css ); @import url( /css/content.css ); @import url( /css/docbook.css ); </STYLE> <META content=TRUE name=MSSmartTagsPreventParsing><LINK href="/images/favicon.ico" rel="shortcut icon"><LINK href="/images/favicon.ico" rel=icon> <META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD> <BODY><!-- header BEGIN --> <DIV id=fedora-header> <DIV id=fedora-header-logo><A href="http://fedoranews.org/"><IMG alt=FedoraNEWS.ORG src="http://fedoranews.org/images/fn-banner.jpg"></A> </DIV> <DIV id=fedora-header-items><SPAN class=fedora-header-icon><A href="http://fedoranews.org/search"><IMG alt="Google Site Search" src="http://fedoranews.org/images/icon-search.png">FN Site Search</A> <A href="irc://freenode/fedoranews.org" ?><IMG alt=IRC src="http://fedoranews.org/images/gnome-irc.png">FN Staff IRC</A> <A href="http://fedoranews.org/webmail"><IMG alt="Webmail Login" src="http://fedoranews.org/images/webmail.png"> FN Staff Webmail</A> <A href="http://fedoranews.org/blog/wp-login.php"><IMG alt="FN Blog Login" src="http://fedoranews.org/images/word.png"> FN Blog Login</A> </SPAN></DIV></DIV> <DIV id=fedora-nav></DIV><!-- header END --><!-- leftside BEGIN --> <DIV id=fedora-side-left> <DIV id=fedora-side-nav-label>Site Navigation:</DIV> <UL id=fedora-side-nav> <LI><STRONG><A href="http://fedoranews.org/">Home</A></STRONG> <LI><A href="http://fedoranews.org/blog">Fedora News Blog</A> <LI><A href="http://fedoranews.org/articles">Fedora News Articles</A> <LI><A href="http://fedoranews.org/contributors">Contributing Articles</A> <LI><A href="http://fedoranews.org/colin/fnu/">Fedora News Updates</A> <LI><A href="http://fedoranews.org/krishnan/tips/">Fedora Tips</A> <LI><A href="http://fedoranews.org/translation">Project Translation</A> <LI><A href="http://fedoranews.org/donation">Project Donation</A> <LI><A href="http://fedoranews.org/bug">Bug Tracker</A> <LI><A href="http://fedoranews.org/learning">Learning Resources</A> <LI><A href="http://fedoranews.org/about">About</A> </LI></UL></DIV><!-- leftside END --><!-- content-top BEGIN --> <DIV id=fedora-middle-two> <DIV class=fedora-corner-tr></DIV> <DIV class=fedora-corner-tl></DIV> <DIV id=fedora-content> <DIV id=page-main><IMG style="FLOAT: left; MARGIN: 0px 15px" height=60 alt=" " src="http://fedoranews.org/images/intro-computer.png" width=101> <!-- content-top END --> <META content="WordPress 1.5" name=generator><!-- leave this for stats --><LINK media=screen href="http://fedoranews.org/blog/wp-content/themes/fedora/style.css" type=text/css rel=stylesheet><LINK title="RSS 2.0" href="http://fedoranews.org/blog/wp-rss2.php" type=application/rss+xml rel=alternate><LINK title="RSS .92" href="http://fedoranews.org/blog/wp-rss.php" type=text/xml rel=alternate><LINK title="Atom 0.3" href="http://fedoranews.org/blog/wp-atom.php" type=application/atom+xml rel=alternate><LINK href="http://fedoranews.org/blog/xmlrpc.php" rel=pingback> <STYLE type=text/css media=screen></STYLE> <LINK title="May 2005" href="http://fedoranews.org/blog/?m=200505" rel=archives><LINK title="April 2005" href="http://fedoranews.org/blog/?m=200504" rel=archives><LINK title="March 2005" href="http://fedoranews.org/blog/?m=200503" rel=archives><LINK title="February 2005" href="http://fedoranews.org/blog/?m=200502" rel=archives><LINK title="January 2005" href="http://fedoranews.org/blog/?m=200501" rel=archives><LINK title="December 2004" href="http://fedoranews.org/blog/?m=200412" rel=archives><LINK title="November 2004" href="http://fedoranews.org/blog/?m=200411" rel=archives><LINK title="January 2004" href="http://fedoranews.org/blog/?m=200401" rel=archives> <H1><A href="http://fedoranews.org/blog">Fedora News Blog</A> (<A href="http://fedoranews.org/blog/wp-rss2.php">RSS</A>)</H1><A href="http://fedoranews.org/blog/index.php?cat=1">Announcement</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=1">*</A>) | <A href="http://fedoranews.org/blog/index.php?cat=10">Fedora News Articles</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=10">*</A>) | <A href="http://fedoranews.org/blog/index.php?cat=9">Fedora News Updates</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=9">*</A>) | <A href="http://fedoranews.org/blog/index.php?cat=5">Reviews</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=5">*</A>) | <BR><A href="http://fedoranews.org/blog/index.php?cat=3">Fedora Core 3 Updates</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=3">*</A>) | <A href="http://fedoranews.org/blog/index.php?cat=6">Fedora Legacy Updates</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=6">*</A>) | <A href="http://fedoranews.org/blog/index.php?cat=8">Security</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=8">*</A>) | <A href="http://fedoranews.org/blog/index.php?cat=4">Missing</A> (<A href="http://fedoranews.org/blog/wp-rss2.php?cat=4">*</A>) | <P> <TABLE> <TBODY> <TR> <TD> <H2>Fedora News Blog Search : </H2></TD> <TD> <FORM id=searchform action=/blog/index.php method=get> <DIV><INPUT id=s name=s> <INPUT id=searchsubmit type=submit value=Search><INPUT type=reset value=Reset> </DIV></FORM></TD></TR></TBODY></TABLE> <DIV id=page> <DIV id=header></DIV> <HR> <DIV class=widecolumn id=content> <DIV class=post> <H2 id=post-650><A title="Permanent Link: HOWTO: How to create mini kickstart CD for FC3" href="http://fedoranews.org/blog/?p=650" rel=bookmark>HOWTO: How to create mini kickstart CD for FC3</A></H2>2005-05-06 Posted by <A href="http://fedoranews.org/tchung">Thomas Chung</A> <DIV class=entrytext> <P><IMG src="http://fedoranews.org/tchung/minikick/snake.png" align=right><BR>Kickstart is an automated installation method integrated with <A href="http://fedoraproject.org/wiki/Anaconda">Anaconda</A> which is The Red Hat Installation Program for Red Hat Linux distributions. These distributions include both Fedora Core and Red Hat Enterprise Linux. Using kickstart, a system administrator can create a single file containing the answers to all the questions that would normally be asked during a typical installation.</P> <P>In this article, I will discuss how we can create a bootable Kickstart CD with mininum packages for FC3. Since this is a “base” only installation, it will not install any X Desktop Environment nor any Graphical Configuration Tools. This will be a perfect environment for learning Linux or a quick setup for a working Linux box in less than 5 minutes. Well, OK 10 minutes if you don’t have High Speed Internet Connection. <IMG class=wp-smiley alt=:) src="http://fedoranews.org/blog/wp-images/smilies/icon_smile.gif"> </P> <DIV class=warning style="MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0.5in"> <TABLE border=0> <TBODY> <TR> <TD vAlign=top align=middle width=25 rowSpan=2><IMG src="http://fedoranews.org/images/warning.png"></TD> <TH align=left>Warning</TH></TR> <TR> <TD vAlign=top align=left colSpan=2> <P>This CD will erase existing partitions and format your hard drive without any noitice.<BR>Please use it on your test system before using it on your production system. </P></TD></TR></TBODY></TABLE></DIV> <P>Let’s start. First create a working directory called “minikick”</P><PRE class=screen>$ mkdir minikick $ cd minikick </PRE> <P>Then download a small boot.iso from <A href="http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/images/">http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/images/</A></P><PRE class=screen>$ wget http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/images/boot.iso </PRE> <P>Mount it as a local loop file system.</P><PRE class=screen>$ mkdir boot $ sudo mount -o loop boot.iso boot </PRE> <P>Create image directory and copy boot/isolinux directory to image directory and set permission so you can update them later.</P><PRE class=screen>$ mkdir image $ cp -a boot/isolinux image $ chmod 644 image/isolinux/* $ sudo umount boot </PRE> <P>Download customized <A href="http://fedoranews.org/tchung/minikick/isolinux.cfg">isolinux.cfg</A> and <A href="http://fedoranews.org/tchung/minikick/snake.msg">snake.msg</A> to replace them in image/isolinux directory.</P><PRE class=screen>$ wget http://fedoranews.org/tchung/minikick/isolinux.cfg $ wget http://fedoranews.org/tchung/minikick/snake.msg $ mv isolinux.cfg snake.msg image/isolinux </PRE> <P>Download following <A href="http://fedoranews.org/tchung/minikick/ks.cfg">custom kickstart script</A> and place it in image directory.</P><PRE class=screen>$ wget http://fedoranews.org/tchung/minikick/ks.cfg $ mv ks.cfg image </PRE> <P>Now, we are ready to create an ISO image and burn it on CD-R.</P><PRE class=screen>$ mkisofs -J -R -v -T -V MiniKick -o minikick.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table image $ cdrecord -v -sao -eject speed=24 dev=/dev/hdd driveropts=burnfree minikick.iso </PRE> <P>Please subsitute with your CD-R speed and device. (See /etc/fstab)</P> <DIV class=note style="MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0.5in"> <TABLE border=0> <TBODY> <TR> <TD vAlign=top align=middle width=25 rowSpan=2><IMG src="http://fedoranews.org/images/note.png"></TD> <TH align=left>Note</TH></TR> <TR> <TD vAlign=top align=left colSpan=2> <P>Default root password in this custom kickstart installation is “minikick” </P></TD></TR></TBODY></TABLE></DIV> <P><STRONG>References:</STRONG><BR>Anaconda Project -<A href="http://fedora.redhat.com/projects/anaconda-installer/"> http://fedora.redhat.com/projects/anaconda-installer/</A><BR>Anaconda Mailing List <A href="http://listman.redhat.com/mailman/listinfo/anaconda-devel-list">http://listman.redhat.com/mailman/listinfo/anaconda-devel-list</A><BR>Kickstart Mailing List - <A href="http://listman.redhat.com/mailman/listinfo/kickstart-list">http://listman.redhat.com/mailman/listinfo/kickstart-list</A><BR>Kickstart Options - <A href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kickstart2-options.html">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kickstart2-options.html</A> </P></DIV></DIV></DIV> <DIV id=footer></DIV></DIV><!-- FedoraNEWS.ORG footer --><!-- content-bot BEGIN --></DIV></DIV> <DIV class=fedora-corner-br></DIV> <DIV class=fedora-corner-bl></DIV></DIV><!-- content-bot END --><!-- footer BEGIN --> <DIV id=fedora-footer>Copyright © 2003-2005 FedoraNEWS.ORG. All rights reserved.<BR>FedoraNEWS.ORG is not sponsored by Red Hat, Inc. <BR><A href="http://fedoranews.org/about/legal">Legal</A> | <A href="http://fedoranews.org/about/license">License</A> | <A href="http://fedoranews.org/about/right">Right</A><BR> <P><B>WE PROUDLY SUPPORT</B><BR><A href="http://fedora.redhat.com/"><IMG src="http://fedoranews.org/images/fedora_logo.png" border=0></A> <A href="http://fedoralegacy.org/"><IMG src="http://fedoranews.org/images/fedora_legacy.png" border=0></A> <A href="http://openwebmail.org/"><IMG src="http://fedoranews.org/images/openwebmail_logo.png" border=0></A> </P></DIV><!-- footer END --></BODY></HTML>