Remastering grml from Debian Sarge which doesn't understand the GRML/GRML SquashFS file system, without applying the kernel patch for SquashFS.
I now have a read-/writable copy of grml filesystem.
Note: I did not apply the kernel patch for SquashFS to my Debian Sarge because of approach above.
I boot back to my Debian Sarge to make the changes, because although I can't use the squashfs modules in Debian Sarge, I can create squashfs file system with the native squashfs-tools package.
All that I need to do is to chroot into it, and do whatever I like to do with grml, eg to run apt-get and so on.
Please refer to knoppix remastering howto, chroot howto and in depth coverage on chroot for details. Most important, don't forget to back up first. |
You now need to create a new squashfs image (the huge GRML/GRML file). The tool used is 'mksquashfs' from the squashfs-tools package. Ran it as root with the source directory and the destination file as arguments:
mksquashfs /mnt/os1/grml.remaster/GRML dest/GRML.new
documented on: 2006.07.02