Commands to create live-CD:
===========================


CD_root tree:
-------------
Create a directory called 'CD_root'. 
Create a /boot folder inside, and a /boot/isolinux/
Copy Kernel image into /boot folder
Place any files, content outside the /boot folder into 'CD_root' if needed...

DON'T USE Capitals, especially for links/executables, as ISO 9660 doesn't support lower/uppercase.
DON'T USE more than 8 character long filenames and more than 3 character long extensions!
(Or use -J flag for mkisofs to have Joilet, or -R for rockridge, though compatibility is questionable...)



INITRD:
-------

generate initrd for filesystem:

1. Enter into the directory containing contents for initramfs/initrd:
cd xxx

2. Create 'newc' CPIO image:
find | cpio --create --format='newc' > ../initrd

3.cd back, rename initrd if necessary...
cd..
rn initrd xxx

4. Compress initrd image with gzip:
gzip xxx

5. Copy the generated xxx.gz file next to kernel-image into /boot/ directory




ISOLINUX:
---------
Copy necessary files and configurations, etc. into /boot/isolinux/ folder.




Create the ISO image:
---------------------
go to parent folder of 'CD_root'

mkisofs -o xxx.iso -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table CD_root
