home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Offline / Linux / FedoraNEWS_ORG.mht / -p=650 < prev    next >
Encoding:
Text File  |  2005-05-09  |  11.8 KB  |  212 lines

  1. ∩╗┐<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!-- FedoraNEWS.ORG header --><!--
  3. FedoraNEW.ORG has received Red Hat's permission to use modifed version of Fedora Project 
  4. CSS (Cascading Style Sheets) and 'Computer Icon' which is part of BlueCurve(TM) Theme.
  5. FedoraNEWS.ORG is using SSI (Server Side Includes) for efficient web developement.
  6.  
  7. Thomas Chung <tchung@fedoranews.org>
  8. 2003-11-18
  9. --><HTML><HEAD><TITLE>FedoraNEWS.ORG</TITLE>
  10. <META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
  11. media=print href="http://fedoranews.org/css/print.css" type=text/css 
  12. rel=stylesheet>
  13. <STYLE type=text/css media=screen>@import url( /css/layout.css );
  14. @import url( /css/content.css );
  15. @import url( /css/docbook.css );
  16. </STYLE>
  17.  
  18. <META content=TRUE name=MSSmartTagsPreventParsing><LINK 
  19. href="/images/favicon.ico" rel="shortcut icon"><LINK href="/images/favicon.ico" 
  20. rel=icon>
  21. <META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
  22. <BODY><!-- header BEGIN -->
  23. <DIV id=fedora-header>
  24. <DIV id=fedora-header-logo><A href="http://fedoranews.org/"><IMG 
  25. alt=FedoraNEWS.ORG src="http://fedoranews.org/images/fn-banner.jpg"></A> </DIV>
  26. <DIV id=fedora-header-items><SPAN class=fedora-header-icon><A 
  27. href="http://fedoranews.org/search"><IMG alt="Google Site Search" 
  28. src="http://fedoranews.org/images/icon-search.png">FN Site Search</A> <A 
  29. href="irc://freenode/fedoranews.org" ?><IMG alt=IRC 
  30. src="http://fedoranews.org/images/gnome-irc.png">FN Staff IRC</A> <A 
  31. href="http://fedoranews.org/webmail"><IMG alt="Webmail Login" 
  32. src="http://fedoranews.org/images/webmail.png"> FN Staff Webmail</A> <A 
  33. href="http://fedoranews.org/blog/wp-login.php"><IMG alt="FN Blog Login" 
  34. src="http://fedoranews.org/images/word.png"> FN Blog Login</A> 
  35. </SPAN></DIV></DIV>
  36. <DIV id=fedora-nav></DIV><!-- header END --><!-- leftside BEGIN -->
  37. <DIV id=fedora-side-left>
  38. <DIV id=fedora-side-nav-label>Site Navigation:</DIV>
  39. <UL id=fedora-side-nav>
  40.   <LI><STRONG><A href="http://fedoranews.org/">Home</A></STRONG> 
  41.   <LI><A href="http://fedoranews.org/blog">Fedora News Blog</A> 
  42.   <LI><A href="http://fedoranews.org/articles">Fedora News Articles</A> 
  43.   <LI><A href="http://fedoranews.org/contributors">Contributing Articles</A> 
  44.   <LI><A href="http://fedoranews.org/colin/fnu/">Fedora News Updates</A> 
  45.   <LI><A href="http://fedoranews.org/krishnan/tips/">Fedora Tips</A> 
  46.   <LI><A href="http://fedoranews.org/translation">Project Translation</A> 
  47.   <LI><A href="http://fedoranews.org/donation">Project Donation</A> 
  48.   <LI><A href="http://fedoranews.org/bug">Bug Tracker</A> 
  49.   <LI><A href="http://fedoranews.org/learning">Learning Resources</A> 
  50.   <LI><A href="http://fedoranews.org/about">About</A> </LI></UL></DIV><!-- leftside END --><!-- content-top BEGIN -->
  51. <DIV id=fedora-middle-two>
  52. <DIV class=fedora-corner-tr></DIV>
  53. <DIV class=fedora-corner-tl></DIV>
  54. <DIV id=fedora-content>
  55. <DIV id=page-main><IMG style="FLOAT: left; MARGIN: 0px 15px" height=60 alt=" " 
  56. src="http://fedoranews.org/images/intro-computer.png" width=101> <!-- content-top END -->
  57. <META content="WordPress 1.5" name=generator><!-- leave this for stats --><LINK 
  58. media=screen 
  59. href="http://fedoranews.org/blog/wp-content/themes/fedora/style.css" 
  60. type=text/css rel=stylesheet><LINK title="RSS 2.0" 
  61. href="http://fedoranews.org/blog/wp-rss2.php" type=application/rss+xml 
  62. rel=alternate><LINK title="RSS .92" href="http://fedoranews.org/blog/wp-rss.php" 
  63. type=text/xml rel=alternate><LINK title="Atom 0.3" 
  64. href="http://fedoranews.org/blog/wp-atom.php" type=application/atom+xml 
  65. rel=alternate><LINK href="http://fedoranews.org/blog/xmlrpc.php" rel=pingback>
  66. <STYLE type=text/css media=screen></STYLE>
  67. <LINK title="May 2005" href="http://fedoranews.org/blog/?m=200505" 
  68. rel=archives><LINK title="April 2005" 
  69. href="http://fedoranews.org/blog/?m=200504" rel=archives><LINK 
  70. title="March 2005" href="http://fedoranews.org/blog/?m=200503" 
  71. rel=archives><LINK title="February 2005" 
  72. href="http://fedoranews.org/blog/?m=200502" rel=archives><LINK 
  73. title="January 2005" href="http://fedoranews.org/blog/?m=200501" 
  74. rel=archives><LINK title="December 2004" 
  75. href="http://fedoranews.org/blog/?m=200412" rel=archives><LINK 
  76. title="November 2004" href="http://fedoranews.org/blog/?m=200411" 
  77. rel=archives><LINK title="January 2004" 
  78. href="http://fedoranews.org/blog/?m=200401" rel=archives>
  79. <H1><A href="http://fedoranews.org/blog">Fedora News Blog</A> (<A 
  80. href="http://fedoranews.org/blog/wp-rss2.php">RSS</A>)</H1><A 
  81. href="http://fedoranews.org/blog/index.php?cat=1">Announcement</A> (<A 
  82. href="http://fedoranews.org/blog/wp-rss2.php?cat=1">*</A>) | <A 
  83. href="http://fedoranews.org/blog/index.php?cat=10">Fedora News Articles</A> (<A 
  84. href="http://fedoranews.org/blog/wp-rss2.php?cat=10">*</A>) | <A 
  85. href="http://fedoranews.org/blog/index.php?cat=9">Fedora News Updates</A> (<A 
  86. href="http://fedoranews.org/blog/wp-rss2.php?cat=9">*</A>) | <A 
  87. href="http://fedoranews.org/blog/index.php?cat=5">Reviews</A> (<A 
  88. href="http://fedoranews.org/blog/wp-rss2.php?cat=5">*</A>) | <BR><A 
  89. href="http://fedoranews.org/blog/index.php?cat=3">Fedora Core 3 Updates</A> (<A 
  90. href="http://fedoranews.org/blog/wp-rss2.php?cat=3">*</A>) | <A 
  91. href="http://fedoranews.org/blog/index.php?cat=6">Fedora Legacy Updates</A> (<A 
  92. href="http://fedoranews.org/blog/wp-rss2.php?cat=6">*</A>) | <A 
  93. href="http://fedoranews.org/blog/index.php?cat=8">Security</A> (<A 
  94. href="http://fedoranews.org/blog/wp-rss2.php?cat=8">*</A>) | <A 
  95. href="http://fedoranews.org/blog/index.php?cat=4">Missing</A> (<A 
  96. href="http://fedoranews.org/blog/wp-rss2.php?cat=4">*</A>) | 
  97. <P>
  98. <TABLE>
  99.   <TBODY>
  100.   <TR>
  101.     <TD>
  102.       <H2>Fedora News Blog Search : </H2></TD>
  103.     <TD>
  104.       <FORM id=searchform action=/blog/index.php method=get>
  105.       <DIV><INPUT id=s name=s> <INPUT id=searchsubmit type=submit value=Search><INPUT type=reset value=Reset> 
  106.       </DIV></FORM></TD></TR></TBODY></TABLE>
  107. <DIV id=page>
  108. <DIV id=header></DIV>
  109. <HR>
  110.  
  111. <DIV class=widecolumn id=content>
  112. <DIV class=post>
  113. <H2 id=post-650><A 
  114. title="Permanent Link: HOWTO: How to create mini kickstart CD for FC3" 
  115. href="http://fedoranews.org/blog/?p=650" rel=bookmark>HOWTO: How to create mini 
  116. kickstart CD for FC3</A></H2>2005-05-06 Posted by <A 
  117. href="http://fedoranews.org/tchung">Thomas Chung</A> 
  118. <DIV class=entrytext>
  119. <P><IMG src="http://fedoranews.org/tchung/minikick/snake.png" 
  120. align=right><BR>Kickstart is an automated installation method integrated with <A 
  121. href="http://fedoraproject.org/wiki/Anaconda">Anaconda</A> which is The Red Hat 
  122. Installation Program for Red Hat Linux distributions. These distributions 
  123. include both Fedora Core and Red Hat Enterprise Linux. Using kickstart, a system 
  124. administrator can create a single file containing the answers to all the 
  125. questions that would normally be asked during a typical installation.</P>
  126. <P>In this article, I will discuss how we can create a bootable Kickstart CD 
  127. with mininum packages for FC3. Since this is a ΓÇ£baseΓÇ¥ only installation, it will 
  128. not install any X Desktop Environment nor any Graphical Configuration Tools. 
  129. This will be a perfect environment for learning Linux or a quick setup for a 
  130. working Linux box in less than 5 minutes. Well, OK 10 minutes if you donΓÇÖt have 
  131. High Speed Internet Connection. <IMG class=wp-smiley alt=:) 
  132. src="http://fedoranews.org/blog/wp-images/smilies/icon_smile.gif"> </P>
  133. <DIV class=warning style="MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0.5in">
  134. <TABLE border=0>
  135.   <TBODY>
  136.   <TR>
  137.     <TD vAlign=top align=middle width=25 rowSpan=2><IMG 
  138.       src="http://fedoranews.org/images/warning.png"></TD>
  139.     <TH align=left>Warning</TH></TR>
  140.   <TR>
  141.     <TD vAlign=top align=left colSpan=2>
  142.       <P>This CD will erase existing partitions and format your hard drive 
  143.       without any noitice.<BR>Please use it on your test system before using it 
  144.       on your production system. </P></TD></TR></TBODY></TABLE></DIV>
  145. <P>LetΓÇÖs start. First create a working directory called ΓÇ£minikickΓÇ¥</P><PRE class=screen>$ mkdir minikick
  146. $ cd minikick
  147. </PRE>
  148. <P>Then download a small boot.iso from <A 
  149. 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
  150. </PRE>
  151. <P>Mount it as a local loop file system.</P><PRE class=screen>$ mkdir boot
  152. $ sudo mount -o loop boot.iso boot
  153. </PRE>
  154. <P>Create image directory and copy boot/isolinux directory to image directory 
  155. and set permission so you can update them later.</P><PRE class=screen>$ mkdir image
  156. $ cp -a boot/isolinux image
  157. $ chmod 644 image/isolinux/*
  158. $ sudo umount boot
  159. </PRE>
  160. <P>Download customized <A 
  161. href="http://fedoranews.org/tchung/minikick/isolinux.cfg">isolinux.cfg</A> and 
  162. <A href="http://fedoranews.org/tchung/minikick/snake.msg">snake.msg</A> to 
  163. replace them in image/isolinux directory.</P><PRE class=screen>$ wget http://fedoranews.org/tchung/minikick/isolinux.cfg
  164. $ wget http://fedoranews.org/tchung/minikick/snake.msg
  165. $ mv isolinux.cfg snake.msg image/isolinux
  166. </PRE>
  167. <P>Download following <A 
  168. href="http://fedoranews.org/tchung/minikick/ks.cfg">custom kickstart script</A> 
  169. and place it in image directory.</P><PRE class=screen>$ wget http://fedoranews.org/tchung/minikick/ks.cfg
  170. $ mv ks.cfg image
  171. </PRE>
  172. <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
  173. $ cdrecord -v -sao -eject speed=24 dev=/dev/hdd driveropts=burnfree minikick.iso
  174. </PRE>
  175. <P>Please subsitute with your CD-R speed and device. (See /etc/fstab)</P>
  176. <DIV class=note style="MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0.5in">
  177. <TABLE border=0>
  178.   <TBODY>
  179.   <TR>
  180.     <TD vAlign=top align=middle width=25 rowSpan=2><IMG 
  181.       src="http://fedoranews.org/images/note.png"></TD>
  182.     <TH align=left>Note</TH></TR>
  183.   <TR>
  184.     <TD vAlign=top align=left colSpan=2>
  185.       <P>Default root password in this custom kickstart installation is 
  186.       ΓÇ£minikickΓÇ¥ </P></TD></TR></TBODY></TABLE></DIV>
  187. <P><STRONG>References:</STRONG><BR>Anaconda Project -<A 
  188. href="http://fedora.redhat.com/projects/anaconda-installer/"> 
  189. http://fedora.redhat.com/projects/anaconda-installer/</A><BR>Anaconda Mailing 
  190. List <A 
  191. href="http://listman.redhat.com/mailman/listinfo/anaconda-devel-list">http://listman.redhat.com/mailman/listinfo/anaconda-devel-list</A><BR>Kickstart 
  192. Mailing List - <A 
  193. href="http://listman.redhat.com/mailman/listinfo/kickstart-list">http://listman.redhat.com/mailman/listinfo/kickstart-list</A><BR>Kickstart 
  194. Options - <A 
  195. 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> 
  196. </P></DIV></DIV></DIV>
  197. <DIV id=footer></DIV></DIV><!-- FedoraNEWS.ORG footer --><!-- content-bot BEGIN --></DIV></DIV>
  198. <DIV class=fedora-corner-br></DIV>
  199. <DIV class=fedora-corner-bl></DIV></DIV><!-- content-bot END --><!-- footer BEGIN -->
  200. <DIV id=fedora-footer>Copyright ┬⌐ 2003-2005 FedoraNEWS.ORG. All rights 
  201. reserved.<BR>FedoraNEWS.ORG is not sponsored by Red Hat, Inc. <BR><A 
  202. href="http://fedoranews.org/about/legal">Legal</A> | <A 
  203. href="http://fedoranews.org/about/license">License</A> | <A 
  204. href="http://fedoranews.org/about/right">Right</A><BR>
  205. <P><B>WE PROUDLY SUPPORT</B><BR><A href="http://fedora.redhat.com/"><IMG 
  206. src="http://fedoranews.org/images/fedora_logo.png" border=0></A> <A 
  207. href="http://fedoralegacy.org/"><IMG 
  208. src="http://fedoranews.org/images/fedora_legacy.png" border=0></A> <A 
  209. href="http://openwebmail.org/"><IMG 
  210. src="http://fedoranews.org/images/openwebmail_logo.png" border=0></A> </P></DIV><!-- footer END --></BODY></HTML>
  211.  
  212.