2021-12-04 - Sorry the Gramps wiki is currently being upgraded to a newer software version. Please check back after the 2021-12-08. We apologize for the inconvenience.


Jump to: navigation, search

Customizing Ubuntu Desktop CD

1,088 bytes added, 22:02, 27 June 2008
Packing it all back
If we want our added stuff to be able to make it to the installation (not just the Live session), we need to add our packages to the <code>filesystem.manifest-desktop</code> file. The trick is, that file already has some contents, so we should add ours and then sort the whole list. Assume our packages are all listed in <code>new/debs/list.txt</code> file: <pre>cat iso/casper/filesystem.manifest-desktop new/debs/list.txt | sort > junk
mv junk iso/casper/filesystem.manifest-desktop</pre>
Finally, close the chroot so it is again nothing more than the directory full of contents: <pre>umount squash/sys squash/proc</pre>
First, we need to pack all that stuff back into the single file. This will take a while: <pre>mksquashfs squash iso/casper/filesystem.squashfs</pre>
Then we need to generate md5 sums for every file on the CD so that the disk can be checked for damages: <pre>cd iso
find . -type f -print0 | xargs -0 md5sum > junk.txt
cat junk.txt | grep -v md5 | grep -v junk | grep -v isolinux > md5sum.txt
rm junk.txt
cd ..</pre>
Now we are ready to create the CD image: <pre>mkisofs -r -V "Linux Genealogy CD 4.0" \
-cache-inodes -quiet \
-J -l -b isolinux/isolinux.bin \
-c isolinux/boot.cat -no-emul-boot \
-boot-load-size 4 -boot-info-table \
-o lgenealogy4.0-dekstop.iso iso</pre>
Finally, we may want to create an md5 file for the whole CD image. That way it will be easy to check wether the iso was downloaded completely or not: <pre>md5sum lgenealogy4.0-dekstop.iso > lgenealogy4.0-dekstop.iso.md5sum</pre> THat's it, folks!

Navigation menu