
Hi,
In the past I have succesfully used grml-small as the basis for a customised rescue CD. I had to add some packages, which was relatively easy to do as I could copy the contents of the squashfs filing system, chroot into it, add packages to my hearts desire and recreate the squashfs file.
Now I am trying to do the same with grml64-small, which proves to be quite a challenge. I am no longer able to mount the file with the root filing system... squashfs doesn't recognise it even though the name suggests its a squashfs filing system in a file (live/grml64-small.squashfs).
I do not necessarily need the latest version of grml... I am quite happy with the older version. However I do need a 64bit kernel so I am able to get grub installed from within a 64bit userland (one of the reasons for making the rescue CD).
My problem would likely be solved if I would know how to access the root filing system in live/grml64-small.squashfs, make changes (adding packages, setting passwords etc) and recreate the file.
Does anyone know?
kind regards, Jan
- Ubuntu Hardy amd64 squashfs-tools 1:3.3-1ubuntu2.

Hi,
Now I am trying to do the same with grml64-small, which proves to be quite a challenge. I am no longer able to mount the file with the root filing system... squashfs doesn't recognise it even though the name suggests its a squashfs filing system in a file (live/grml64-small.squashfs).
I had the same problem but figured out, that grml 2008.11 uses a new patched version of squashfs with lzma support. I had to build this stuff by hand for CentOS: http://www.squashfs-lzma.org/
Maybe someone should put an hint on this on a prominent position to the website!
Then I was able to do "unsquashfs" the image to a directory.
Only the repackaging still troubles me a bit as the resulting image is significant bigger than the original :(
regards, Markus

* Markus Wigge mwigge@marcant.net [20081202 12:31]:
Now I am trying to do the same with grml64-small, which proves to be quite a challenge. I am no longer able to mount the file with the root filing system... squashfs doesn't recognise it even though the name suggests its a squashfs filing system in a file (live/grml64-small.squashfs).
I had the same problem but figured out, that grml 2008.11 uses a new patched version of squashfs with lzma support. I had to build this stuff by hand for CentOS: http://www.squashfs-lzma.org/
Maybe someone should put an hint on this on a prominent position to the website!
http://wiki.grml.org/doku.php?id=remastering http://grml.org/grml-live/#current_state
I hope that's prominent enough, if not please suggest where it could be mentioned as well.
Then I was able to do "unsquashfs" the image to a directory.
Only the repackaging still troubles me a bit as the resulting image is significant bigger than the original :(
grml-live does the magic. Check out: http://git.grml.org/?p=grml-live.git;a=tree;f=etc/grml/fai/config/scripts/GR... and especially: http://git.grml.org/?p=grml-live.git;a=tree;f=etc/grml/fai/grml;hb=HEAD
HTH && regards, -mika-

On Tue, Dec 02, 2008 at 12:31:05PM +0100, Markus Wigge wrote:
I had the same problem but figured out, that grml 2008.11 uses a new patched version of squashfs with lzma support.
Maybe a grml_2008.11 and a grml64_2008.11 tar file, compressed with lcma, suitable for unpacking into a file system, would be a good idea.
recent versions of tar support lcma compression.

* Jason White jason@jasonjgw.net [20081204 04:24]:
On Tue, Dec 02, 2008 at 12:31:05PM +0100, Markus Wigge wrote:
I had the same problem but figured out, that grml 2008.11 uses a new patched version of squashfs with lzma support.
Maybe a grml_2008.11 and a grml64_2008.11 tar file, compressed with lcma, suitable for unpacking into a file system, would be a good idea.
I've uploaded gzip compressed tar archives of the current release chroots:
http://debian.netcologne.de/www.grml.org/release-chroots/
Hope that helps.
recent versions of tar support lcma compression.
But AFAICS not the according LZMA version we use inside the kernel ('lzma: Decoder error').
regards, -mika-

On Wed, Dec 10, 2008 at 10:42:23AM +0100, Michael Prokop wrote:
I've uploaded gzip compressed tar archives of the current release chroots:
Thank you - this is much appreciated. I think it would be a good release practice, unless of course I'm the only one who wants them.
participants (4)
-
Jan Bakuwel
-
Jason White
-
Markus Wigge
-
Michael Prokop