You are not logged in.
Hi,
I'm experimenting with creating a "live cd". I've created a chroot in which I've installed all the base packages, copied the files to a USB stick, installed extlinux and that works. But now I'm looking for a way to create a bootable ISO image from the chroot so I can use it as a CD in VirtualBox . I've already found mkisofs and created the ISO, but how do I install extlinux on it so I can boot from the image? Looking at the mkisofs manual page I think it has to be an option to mkisofs but there seem to be a lot of options related to booting so I don't know which one to use (the full command would be most helpful, because on the internet I did find a lot of variations to create the full iso so I don't know which is "the right one")
Thanks in advance,
Robert Meijers
Last edited by RobertMe (2010-10-05 14:23:00)
Offline
so is it a livecd or an install cd?
if you have mkisofs/genisoimage and say your folder is named "ISOTMP"
genisoimage -r -V "ISO-LABEL" -cache-inodes -J -l \
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -o NAME-OF-ISO.iso ISOTMP/
mkisofs -r -V "ISO-LABEL" -cache-inodes -J -l \
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -o NAME-OF-ISO.iso ISOTMP/
if you have boot/isolinux folder do
mkisofs -r -V "ISO-LABEL" -cache-inodes -J -l \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table -o NAME-OF-ISO.iso ISOTMP/
Offline
Many thanks, works without a problem
I though I could also use extlinux for the iso (stupid me ).
Offline