Bootable CD: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
-V, not -A, in mkisofs is volume label.
m Bot: Replace deprecated source tag with syntaxhighlight
 
(One intermediate revision by one other user not shown)
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}}
Line 52:
* [[Bootable El-Torito CD with GRUB Legacy]] - how to create a "no emulation" bootable CD
 
[[Category:Tutorials|Bootable CDBooting]]
[[Category:Disk Image Utilities]]