[Grml] grml-live-remaster script (problem with mkisofs)

Michael Prokop mika at grml.org
Tue Nov 13 10:39:58 CET 2007


* Michael Schierl <schierlm at gmx.de> [20071111 20:47]:

> I built a script that should enable you to remaster a grml from the live
> cd like this:

[...]

> Unfortunately, the build CD does not boot and drops me into busybox. But
> I guess this is only a bug in the mkisofs line, since the filesystem
> layout looks fine for me. And it is quite time consuming to test it
> within grml-small and installing mksquashfs and mkisofs after every reboot.

> mika: can you look if you find the bug? and if you found it, can you
> include it into next grml? It is very useful to be able to remaster grml
> on virtually any PC without having to repartition anything first.

Just tested it: the problem is that when using your script the
filenames on the ISO are limited to 8 characters, resulting in a
"/live/grml.squ"-file instead of "/live/grml.squashfs". :) So the
fix is as easy as adding "-l -r -J" to the mkisofs cmdline.

Now we should just add some more error handling to the script (make
the script re-executable when building fails, check for
tools/RAM/...), then we could already ship it with the upcoming
release. I really love the script! YMMD :)

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20071113/dad898d0/attachment-0004.pgp>


More information about the Grml mailing list