https://wiki.tudos.org/ikiw/index.php?title=CD_image&feed=atom&action=historyCD image - Revision history2024-03-29T14:57:31ZRevision history for this page on the wikiMediaWiki 1.41.0https://wiki.tudos.org/ikiw/index.php?title=CD_image&diff=101&oldid=prevRon: spelling fixes2007-11-20T16:07:23Z<p>spelling fixes</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:07, 20 November 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l18">Line 18:</td>
<td colspan="2" class="diff-lineno">Line 18:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Do not forget the dot at the end of the command line, as it tells mkisofs which directory to create the image from (here: current directory). The mkisofs command will create a CD image named ''cd-image.iso'' that can then be used to burn it to a CD disk or as image for virtual machines ([[QEmu]], VMWare).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Do not forget the dot at the end of the command line, as it tells mkisofs which directory to create the image from (here: current directory). The mkisofs command will create a CD image named ''cd-image.iso'' that can then be used to burn it to a CD disk or as image for virtual machines ([[QEmu]], VMWare).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>To ease the step of creating a CD image we provide a script in ''$(L4DIR)/tool/bin'': isocreator. It takes two arguments: the directory to create the image from and the <del style="font-weight: bold; text-decoration: none;">nae </del>of the CD image file. With the above setup we would use isocreator like this:</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>To ease the step of creating a CD image we provide a script in ''$(L4DIR)/tool/bin'': isocreator. It takes two arguments: the directory to create the image from and the <ins style="font-weight: bold; text-decoration: none;">name </ins>of the CD image file. With the above setup<ins style="font-weight: bold; text-decoration: none;">, </ins>we would use isocreator like this:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> $(L4DIR)/tool/bin/isocreator . cd-image.iso</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> $(L4DIR)/tool/bin/isocreator . cd-image.iso</div></td></tr>
</table>Ronhttps://wiki.tudos.org/ikiw/index.php?title=CD_image&diff=72&oldid=prevRon: add first draft on how to create a CD image2007-09-16T11:54:58Z<p>add first draft on how to create a CD image</p>
<p><b>New page</b></p><div>Creating a CD image with L4 binaries is fairly easy. First you have to create a directory where you put all the files that should go on the CD. This directory will be the root of your CD image. Change into that directory and create a directory called ''boot'' in that directory you put another directory ''grub''. Into the directory ''boot/grub'' you copy a Grub stage2 file that can boot CD images:<br />
<br />
cp /usr/lib/grub/i386-pc/stage2_eltorito boot/grub/<br />
<br />
Then you copy all the files to your CD image, that is, somewhere below the root directory of your CD image.<br />
<br />
Grub will look for an [[menu.lst]] file in the ''boot/grub'' directory. Thus, either place your main menu.lst there or create a menu.lst that will load your other menu.lst. Either way, be aware that booting from a CD will load from ''(cd)/'' instead of ''(nd)/tftpboot''.<br />
<br />
<br />
When all the files are placed "on the disk" we make a CD image from that directory using mkisofs:<br />
<br />
mkisofs -R -b boot/grub/stage2_eltorito <br />
-no-emul-boot -boot-load-size 4 -boot-info-table<br />
-hide-rr-moved<br />
-J -joliet-long<br />
-o "cd-image.iso" .<br />
<br />
Do not forget the dot at the end of the command line, as it tells mkisofs which directory to create the image from (here: current directory). The mkisofs command will create a CD image named ''cd-image.iso'' that can then be used to burn it to a CD disk or as image for virtual machines ([[QEmu]], VMWare).<br />
<br />
To ease the step of creating a CD image we provide a script in ''$(L4DIR)/tool/bin'': isocreator. It takes two arguments: the directory to create the image from and the nae of the CD image file. With the above setup we would use isocreator like this:<br />
<br />
$(L4DIR)/tool/bin/isocreator . cd-image.iso</div>Ron