Re: Remastering Knoppix
Hello JD and list,
Some minor additions:
On Thu, Jun 07, 2012 at 09:31:30AM -0700, JD wrote:
[...]
> cd /ramdisk
> sudo mkisofs -R -U bin sbin usr lib var | create_compressed_fs -B 131072 -m - - > /tmp/KNOPPIX1
^^^^^^^^^^^^^^^^^^^^^^There are actually more useful options, but -R is required for keeping the
Unix-type permissions, owner and group information intact, and I tries to keep commands short.
> Then create a new bootable DVD:
>
> mkisofs -pad -l -r -J \
> -V "KNOPPIX" -A "KNOPPIX" \
> -no-emul-boot -boot-load-size 4 -boot-info-table \
> -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
> -hide-rr-moved \
> -o DVD.iso DVD-directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Make sure that DVD-directory is fully writable
(i.e. chmod -R ug+wX DVD-directory. If you copied from DVD using cp -a, permissions
are usually set to read-only.
> Thanx a LOT Klaus.
> I am sure your elucidation will help many more users
> than just me.
> I am keeping your email for future reference.
The remastering howto at knoppix.net recommends cleaning up especially
the /var directory from temporary files and archive caches, which I left
out in my description. But in order to keep the addon-images small, you
should probably do these cleanups before mkisofs, directly in the live
system.
Regards
-Klaus
Reply to: