Post by lewiPost by Jancsi FarkasYup, very useful little beast. I develop using bootable cd (as both
bochs and vmware can boot from CD) which is made with mkisofs, and I use
grub to load the whole thing. I found is more easy to work with than
with HD images, as CD image can be mounted directly by linux through
loop device.
Can you please explain the steps for making grub bootable in a ISO img ...
Any more help...
First, you'll need a bootable floppy image.
Then, you have to pass the
-b images/bootimage.flp -c boot.catalog
parameters to mkisofs. I think this will do it.
from man page:
-c boot_catalog
Specifies the path and filename of the boot catalog to be used
when making an "El Torito" bootable CD. The pathname must be
relative to the source path specified to mkisofs. This option
is required to make a bootable CD. This file will be inserted
into the output tree and not created in the source filesystem,
so be sure the specified filename does not conflict with an
existing file, as it will be excluded. Usually a name like
"boot.catalog" is chosen.
-b eltorito_boot_image
Specifies the path and filename of the boot image to be used
when making an "El Torito" bootable CD. The pathname must be
relative to the source path specified to mkisofs. This option
is required to make an "El Torito" bootable CD. The boot image
must be exactly the size of either a 1200, 1440, or a 2880 kB
floppy, and mkisofs will use this size when creating the output
iso9660 filesystem. It is assumed that the first 512 byte sector
should be read from the boot image (it is essentially emulating
a normal floppy drive). This will work, for example, if the
boot image is a LILO based boot floppy.
[ ... ]
Best regards,
Jancsi