Differences between revisions 1 and 2
Revision 1 as of 2006-07-31 11:08:24
Size: 890
Editor: RonnyAasen
Comment: creation
Revision 2 as of 2006-07-31 15:37:37
Size: 916
Editor: RonnyAasen
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 = dirty remater = = dirty remaster =
Line 8: Line 8:
 == open == == open ==
Line 24: Line 24:
 == close ==
recreates the iso
== close ==
recreates a iso from the /tmp/cd directory
Line 28: Line 28:

dirty remaster

You may wish to do a dirty remaster when testing out the booting of the cd adjust paths as nessecary


unpacks the cd to /tmp/cd

rm -rf /tmp/cd
rm -rf /tmp/cd-orig
mkdir /tmp/cd-orig
mkdir /tmp/cd
sudo mount -o loop /storage/isos/skolelinux/debian-edu-etch-test.iso /tmp/cd-orig
rsync -v -a -H --exclude=TRANS.TBL /tmp/cd-orig/ /tmp/cd/
chmod -R u+rw /tmp/cd
sudo umount /tmp/cd-orig


recreates a iso from the /tmp/cd directory

cd /tmp/cd
rm md5sum.txt
md5sum `find -follow -type f` > md5sum.txt

#new image
cd /tmp
rm -rf  /storage/isos/skolelinux/remastered.iso
mkisofs -o /storage/isos/skolelinux/remastered.iso -r \
        -b isolinux/isolinux.bin -c isolinux/boot.cat \
        -no-emul-boot -boot-load-size 4 \
        -boot-info-table /tmp/cd