summaryrefslogtreecommitdiffstats
path: root/book/bootable_iso.html
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2014-11-27 16:29:31 -0600
committerWilliam Harrington <kb0iic@berzerkula.org>2014-11-27 16:29:31 -0600
commit7df987a652b93d55dd8eca363706d3bacc469b55 (patch)
tree17f84ce0fee76a3a0476b714eae09486ab2470e6 /book/bootable_iso.html
Initial commit message for lfs live howto.HEADmaster
Diffstat (limited to 'book/bootable_iso.html')
-rw-r--r--book/bootable_iso.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/book/bootable_iso.html b/book/bootable_iso.html
new file mode 100644
index 0000000..cca52fc
--- /dev/null
+++ b/book/bootable_iso.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>9.1. Making the ISO live system bootable</title><link rel="stylesheet" href="stylesheets/lfs.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /><link rel="stylesheet" href="stylesheets/lfs-print.css" type="text/css" media="print" /></head><body class="lfs" id="lfs-0.3"><div class="navheader"><h4>LFS live howto - Version 0.3</h4><h3>Chapter 9. Making the ISO live system bootable</h3><ul><li class="prev"><a accesskey="p" href="ch09.html" title="Making the ISO live system bootable">Prev</a><p>Making the ISO live system bootable</p></li><li class="next"><a accesskey="n" href="pt07.html" title="References">Next</a><p>References</p></li><li class="up"><a accesskey="u" href="ch09.html" title="Chapter 9. Making the ISO live system bootable">Up</a></li><li class="home"><a accesskey="h" href="index.html" title="LFS live howto - Version 0.3">Home</a></li></ul></div><div class="sect1" lang="en" xml:lang="en"><h1 class="sect1">9.1. Making the ISO live system bootable</h1><p>This chapter assume you use grub2 for your LFS. Issue the following to modify the file grub.cfg:</p><pre class="userinput"><kbd class="command">cd $LFSMOUNT
+echo 'menuentry "LFS" {' &gt; boot/grub/grub.cfg
+echo " search -n -l $LFSLIVE -s" &gt;&gt; boot/grub/grub.cfg
+echo " linux /boot/lfskernel root=LABEL=$LFSLIVE quiet" &gt;&gt; boot/grub/grub.cfg
+echo " initrd /boot/initrd.gz" &gt;&gt; boot/grub/grub.cfg
+echo "}" &gt;&gt; boot/grub/grub.cfg
+</kbd></pre><p>Rename kernel, according to menu.lst:</p><pre class="userinput"><kbd class="command">mv -v boot/lfskernel-&lt;version&gt; boot/lfskernel</kbd></pre><p>Where &lt;version&gt; is your kernel version</p><p>Create our ISO::</p><pre class="userinput"><kbd class="command">export ISODIR=&lt;path to the dir where you want to store your ISO&gt;
+cd $LFSMOUNT
+grub-mkrescue -o $ISODIR/livecd.iso -V $LFSLIVE $LFSMOUNT &amp;&amp;
+unset ISODIR</kbd></pre><p> Now, you can burn your image on a cd or dvd, and enjoy the livecd !</p></div><div class="navfooter"><ul><li class="prev"><a accesskey="p" href="ch09.html" title="Making the ISO live system bootable">Prev</a><p>Making the ISO live system bootable</p></li><li class="next"><a accesskey="n" href="pt07.html" title="References">Next</a><p>References</p></li><li class="up"><a accesskey="u" href="ch09.html" title="Chapter 9. Making the ISO live system bootable">Up</a></li><li class="home"><a accesskey="h" href="index.html" title="LFS live howto - Version 0.3">Home</a></li></ul></div></body></html>