User talk:Brian McNeil/Make-ISO

sudo umount ~/build/chroot/dev sudo apt-get install --yes syslinux squashfs-tools genisoimage sbm mkdir -p image/{casper,isolinux,install} cp /usr/lib/syslinux/isolinux.bin image/isolinux/ cp /boot/memtest86+.bin image/install/memtest cp /boot/sbm.img image/install/ cp chroot/boot/vmlinuz-2.6.**-**-rt image/casper/vmlinuz-rt cp chroot/boot/initrd.img-2.6.**-**-rt image/casper/initrd-rt cp isolinux.txt image/isolinux/ cp isolinux.cfg image/isolinux/ cp isolinux.cfg image/isolinux/syslinux.cfg sudo chroot chroot dpkg-query -W --showformat='${Package} ${Version}\n' | sudo tee image/casper/filesystem.manifest cp -v image/casper/filesystem.manifest image/casper/filesystem.manifest-desktop REMOVE='ubiquity casper live-initramfs user-setup discover1 xresprobe os-prober libdebian-installer4' for i in $REMOVE do sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop done sudo mksquashfs chroot image/casper/filesystem.squashfs printf $(sudo du -sx --block-size=1 chroot | cut -f1) > filesystem.size cp filesystem.size image/casper/ cp README.diskdefines image/ touch image/ubuntu mkdir image/.disk cd image/.disk touch base_installable echo "full_cd/single" > cd_type echo 'Ubuntu Custom Studio DVD' > info echo "http//www.wikinewsie.org/studio.php" > release_notes_url cd ../.. sudo -s (cd image && find . -type f -print0 | xargs -0 md5sum | grep -v "\./md5sum.txt" > md5sum.txt) exit cd image sudo mkisofs -r -V "$IMAGE_NAME" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../ubuntu-custom-studio.iso. cd ..
 * 1) Filename:	95-close-to-iso.sh
 * 2) Version:	0.02
 * 3) Author:	Brian McNeil
 * 4) Description:	With a closed-off chroot environment in place,
 * 5) 		the next step is to turn it into an ISO
 * 6) Important! unmount
 * 1) Description:	With a closed-off chroot environment in place,
 * 2) 		the next step is to turn it into an ISO
 * 3) Important! unmount
 * 1) Important! unmount
 * 1) Important! unmount
 * 1) Important! unmount
 * 1) Verify needed tools are installed
 * 1) Verify needed tools are installed
 * 1) Start creating the image build area
 * 1) Start creating the image build area
 * 1) Copy needed files to be booted
 * 1) Copy needed files to be booted
 * 1) Copy in text and config files
 * 1) Copy in text and config files