How do I create an ISO image from a directory structure on CentOS?
Posted
by
tom smith
on Server Fault
See other posts from Server Fault
or by tom smith
Published on 2012-03-11T18:27:08Z
Indexed on
2012/03/28
23:34 UTC
Read the original article
Hit count: 297
iso
I'm trying to figure out the exact mkisofs
cmd to create the ISO with the following directory and file structure. I've tried different commands, but when I mount the ISO that is created the directory tree has not been reproduced.
The initial directory tree is:
master.iso::
mount -o loop /apps/vmware/master.iso /mnt/vmtest
ls /mnt/vmtest
isolinux ks.cfg upgra32 upgra64 upgrade.sh
ls /mnt/vmtest/isolinux
boot.cat initrd.img isolinux.bin isolinux.cfg vmlinuz
I've used different variations of the following mkisofs
command without success:
mkisofs -o '/foo/test.iso' -b 'isolinux.bin' -c 'boot.cat' -no-emul-boot -boot-load-size 4 -boot-info-table 'isolinux'
How do I make an ISO that captures a directory's exact structure?
© Server Fault or respective owner