{"id":544,"date":"2011-01-28T00:30:38","date_gmt":"2011-12-20T05:51:50","guid":{"rendered":"http:\/\/kraftek.com\/blog\/add-a-kickstart-install-image-to-an-existing-kickstart-server\/"},"modified":"2011-01-28T00:30:38","modified_gmt":"2011-12-20T05:51:50","slug":"add-a-kickstart-install-image-to-an-existing-kickstart-server","status":"publish","type":"post","link":"\/blog\/index.php\/add-a-kickstart-install-image-to-an-existing-kickstart-server\/","title":{"rendered":"Add a kickstart install image to an existing kickstart server"},"content":{"rendered":"<p>These are the steps to add oracle enterprise linux as a kickstart<br \/>\noption at an existing kickstart server, it does pxe boot and serves the package install by<br \/>\nhttp. Your server must be on the kickstart network to be pxe booted by<br \/>\nthis.<br \/>\nMake a directory to store your downladed ISOS, and store them there:<br \/>\n# mkdir -p \/u01\/ISOS\/ORACLE_EL4x64<br \/>\n# ls\/u01\/ISOS\/ORACLE_EL4x64<br \/>\n. Enterprise-R4-U5-x86_64-disc1.iso Enterprise-R4-U5-x86_64-disc3.iso<br \/>\n.. Enterprise-R4-U5-x86_64-disc2.iso Enterprise-R4-U5-x86_64-disc4.iso<br \/>\nMake a directory to store all the RPMs and all install files for your distro<br \/>\n# mkdir \/installroot\/oracle_el4x64<br \/>\nCopy all the files from the isos to \/installroot\/oracle_el4x64 by mounting them loopback and doing a cpio:<br \/>\n# mount -o loop \/u01\/ISOS\/ORACLE_EL4x64\/Enterprise<br \/>\nx y z<br \/>\n-R4-U5-x86_64-disc1.iso \/mnt<br \/>\n# cd \/mnt\/<br \/>\n# find . -depth -print | cpio -pdumv \/installroot\/oracle_el4x64\/<br \/>\n# cd \/<br \/>\n# umount \/mnt<br \/>\n# mount -o loop \/u01\/ISOS\/ORACLE_EL4x64\/Enterprise<br \/>\nx y z<br \/>\n-R4-U5-x86_64-disc2.iso \/mnt<br \/>\n# cd \/mnt<br \/>\n# find . -depth -print | cpio -pdumv \/installroot\/oracle_el4x64\/<br \/>\n# cd \/<br \/>\n# umount \/mnt<br \/>\n# mount -o loop \/u01\/ISOS\/ORACLE_EL4x64\/Enterprise<br \/>\nx y z<br \/>\n-R4-U5-x86_64-disc3.iso \/mnt<br \/>\n# cd \/mnt<br \/>\n# find . -depth -print | cpio -pdumv \/installroot\/oracle_el4x64\/<br \/>\n# cd \/<br \/>\n184\/433<br \/>\n# umount \/mnt<br \/>\n# mount -o loop \/u01\/ISOS\/ORACLE_EL4x64\/Enterprise<br \/>\nx y z<br \/>\n-R4-U5-x86_64-disc4.iso \/mnt<br \/>\n# cd \/mnt<br \/>\n# find . -depth -print | cpio -pdumv \/installroot\/oracle_el4x64\/<br \/>\n# cd \/<br \/>\n# umount \/mnt<br \/>\nMake a directory to put all the files that will be served by tftp when the server to be installed is pxe booted<br \/>\n# mkdir \/tftpboot\/oracle_el4x64<br \/>\nCopy the small os and small kernel that is served by pxe\/tftp when the server is pxe booted<br \/>\n# cp -rp \/installroot\/oracle_el4x64\/images\/pxeboot\/initrd.img<br \/>\n\/tftpboot\/oracle_el4x64\/<br \/>\n# cp -rp \/installroot\/oracle_el4x64\/images\/pxeboot\/vmlinuz<br \/>\n\/tftpboot\/oracle_el4x64\/<br \/>\nAdd a profile to the pxe boot options<br \/>\n1.<br \/>\nvi \/tftpboot\/pxelinux.cfg\/default<br \/>\nlabel oracle_el4x64<br \/>\nkernel oracle_el4x64\/vmlinuz<br \/>\nappend initrd=oracle_el4x64\/initrd.img load_ramdisk=1 ip=dhcp<br \/>\nAdd a http docbase to serve the install files and rpms using apache<br \/>\n# vi \/etc\/apache2\/conf.d\/inst_server. conf<br \/>\n185\/433<br \/>\n&lt;IfDefine<br \/>\nx y z<br \/>\ninst_server&gt;<br \/>\nAlias \/oracle_el4x64\/ \/installroot\/oracle_el4x64\/<br \/>\nAlias \/oracle_el4x64 \/installroot\/oracle_el4x64<br \/>\n&lt;Directory<br \/>\n\/installroot\/oracle_el4x64&gt;<br \/>\nOptions +Indexes +FollowSymLinks<br \/>\nx y z<br \/>\nIndexOptions<br \/>\nx y z<br \/>\n+NameWidth<br \/>\nx y z<br \/>\n=*<br \/>\nOrder allow,deny<br \/>\nAllow from all<br \/>\n&lt;\/Directory<br \/>\nx y z<br \/>\n&gt;<br \/>\n&lt;\/IfDefine<br \/>\nx y z<br \/>\n&gt;<br \/>\nAdd a custom message that appears on the screen when the server to be installed is pxe booted:<br \/>\n# vi \/tftpboot\/bootmsg.txt<br \/>\n(for version 4 choose oracle_el4x64)<br \/>\nRestart apache so the new apache docbase is active<br \/>\n# \/etc\/init.d\/apache2 stop<br \/>\n# \/etc\/init.d\/apache2 start<br \/>\nReboot the server to be installed and enjoy!<br \/>\n186\/433<br \/>\n187\/433<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the steps to add oracle enterprise linux as a kickstart option at an existing kickstart server, it does pxe boot and serves the package install by http. Your server must be on the kickstart network to be pxe booted by this. Make a directory to store your downladed ISOS, and store them there: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-544","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=544"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/544\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=544"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}