If you've ever wanted to create a linux CD or DVD with a kickstart file and you're on a Mac you've probably ran into this issue. You can use this method to add/edit/delete files from an ISO image (works as of OSX 10.6.4, despite using PPC binaries).
First, you need to grab a file:
http://homepage.mac.com/machiavel/Executables/cdrtools-OSXbin.tgz (or mirror
Thanks to Greg Nyquist
You'll want to extract the tgz file and then you'll want to copy ./sw/bin/* to /usr/bin/:
- Open Terminal
- cd "/cdrtools/cdrtools-2.00.3 (PPC binaries)/sw/bin"
- sudo cp * /usr/bin
- Open Terminal if not already
- cd /newcdimage/
- rm isolinux/boot.cat
- mkisofs -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -c isolinux/boot.cat -iso-level 2 -J -joliet-long -v -o /outputdir/NewISO.iso .
- If you get "Missing pathspec" then you missed the . at the end of the command line
default ks prompt 1 timeout 15 label linux kernel vmlinuz append initrd=initrd.img label text kernel vmlinuz append initrd=initrd.img text label ks kernel vmlinuz append ks initrd=initrd.img text
Note that you may have to do a "chmod +w isolinux.cfg" before editing Reference Link