Bootable CD: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 11:
 
First, lets go to the directory where your floppy image (floppy.img) is located:
<sourcesyntaxhighlight lang="bash">
cd ~/myosname
</syntaxhighlight>
</source>
First we create an directory to store the contents of the CD:
<sourcesyntaxhighlight lang="bash">
mkdir cdcontents
</syntaxhighlight>
</source>
Next we copy everything we want on the cd into here
<sourcesyntaxhighlight lang="bash">
cp files/* cdcontents
</syntaxhighlight>
</source>
You can create extra subdirectories if necessary. After that, we need to copy our floppy image in there as well
<sourcesyntaxhighlight lang="bash">
cp floppy.img cdcontents
</syntaxhighlight>
</source>
Now our directory stores all we need. We can continue creating the CD image:
<sourcesyntaxhighlight lang="bash">
mkisofs -o mybootcd.iso -V MyOSName -b floppy.img cdcontents
</syntaxhighlight>
</source>
This will create the cd image:
{| {{Wikitable}}