mklivecd has a long and storied history. Many folks have worked on it, including Tom Kelly, Jaco Greeff and various distro teams ranging from Mandrake (Mandriva), PCLinuxOS, to Unity-Linux. It currently lives on in a different form called mylivecd which was forked for PCLinuxOS. I have decided to revive the old version that had been maintained by Unity-Linux until it went defunct. mklivecd comes from Mandrake and was dependant on drakxtools. Some descendants of Mandrake (like OpenMandriva) no longer depend on these tools or even use them. However, a fork of Mandriva called Mageia still uses drakxtools, and thus can still utilize this tool with minimal updates. Eventually the dependacy on drakxtools will be dropped and this tool should be able to be used on Fedora, Mageia, and OpenMandriva as features in dracut should allow it. Until then, its current focus will be for functionality on Mageia.
Below you will fild the old ReadMe which will eventually be updated.
The package naming tries to follow the Linux kernel approach to versioning, i.e. versions are in the format "major.minor.patch" where an uneven minor version number indicates an unstable and/or testing release.
If you want to contibute, or just fancy running the latest- greatest version, you can also get the latest development version from Github (here):
git clone https://github.com/unity-linux/mklivecd.git
To download a zipped copy of the source code,
https://github.com/unity-linux/mklivecd/archive/master.zip
and extract it to your $HOME directory.
Patches, suggestions, flames and general comments are always welcome, just submit an issue. Good luck!
mklivecd, version 0.9.5, http://unity-linux.org/
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
Usage:
/usr/sbin/mklivecd [options] <livecd-image>
General Options:
--help Display this message
--version Display version information
--verbose Be verbose in output
--noclean Don't remove temporary files on exit.
--workdir Specify a working directory which will not
be cleaned.
--debug Display some extra debugging information
while building the CD. (Useful for bug
reports to the developers.)
Image generation:
--root <rootdir> Root directory of the live filesystem to use
as the for the image of the LiveCD.
(default: /)
--tmp <tmpdir> Name of the directory to be used for
temporary file storage.
(default: /tmp)
--img <image> Name of the saved compressed image. When an
image by this name is found, it will not be
re-created or overwritten, rather the
existing image will be re-used, i.e. the
compressed image is not re-built.
--nofile <ex1>[,][...] Excludes files from the final image. (Also
see the --nodir option for a full
description)
--nodir <ex1>[,][...] Excludes directories from the final image.
Patterns passed to this option (as with the
--nofile option) should be valid in a grep(1)
search, e.g. --nodir=^/home/jaco,^/root/.mcop
will exclude both the /home/jaco and
/root/.mcop directories from the final
LiveCD.
--sort <file> Sort the files on the compressed iso image
according to the genisoimage-style sort specifier
as detailed in file.
--kernel <kernel> Kernel to use as default for the LiveCD image.
(default: 4.9.35-desktop-1.mga6)
--gzip Use gzip compression for the image
--xz Use xz compression for the image
--nosplash Disable the use of boot splash (plymouth)
Boot options:
--bootopt <option> Specify an additional boot option to pass to
the kernel command-line.
--bootmsg <msg> Use 'msg' as the isolinux boot message.
--bootkey <key=msg> Display 'msg' on key 'key' from isolinux.
--bootimg <img> Use 'img' (LSS format) as the isolinux.
background display image.
--bootloader <iso|grub|usb> The bootloader to use on the livecd i.e. isolinux,
GRUB or syslinux for usb stick
--bootmenu <file> What boot menu definition file should be used
in case that bootloader option is set to iso or grub.
For iso this file must be named 'isolinux.cfg',
for grub the name must be 'menu.lst'.
Boot menu will be generated if not specified.
--bootlang <lang code> Which language shound be used as default
in the boot menu.
Defaults to 'en'.
--mbkopt <kernel> Create the ISO with multi boot kernel option.
--ufs <unionfs|overlayfs> Specify the union file system. DISABLED (only overlayfs works)
--timeout <sec> Specify the default ISO Linux prompt timeout
in seconds.
(default: 150)
--noprompt Disable ISO Linux prompt (i.e. prompt 0).
--keyboard <mapping> Specify a different keyboard layout as
default for the LiveCD.
(default: us)
--resolution <res> Specify the resolution for the framebuffer
output device. (Either resolution or normal)
(default: 800x600)
--splash <silent|verbose|no> Create the LiveCD with bootsplash support if
available on the root filesystem.
(default: silent)
--fstab <options> Override the default options for the fstab on
the LiveCD. Options are one or more of 'auto'
and 'rw', for example '--fstab=rw,auto' will
automatically mount all detected partitions
rw.
--nofinishinstall Disables the automatic system setup screens on
first boot.
--nosyslog Disable common logs to speed boot.
ISO Image options:
--isoextrafiles <path> Add the files in 'path' to the root of the
LiveCD ISO image.
--application <id> Use the specified iso application ID, as '-A'
option to genisoimage.
--volumeid <id> Use the specified iso volume ID, as a '-V'
option to genisoimage.
--preparer <prep> Use the specified preparer ID, as a '-p'
option to genisoimage.
--publisher <pub> Use the specified publisher ID, as a '-P'
option to genisoimage.
--md5sum Compute and implant the md5sum to verify media.
--memtest Use memtest86+ to check the system memory.
Behaviour:
--usbhome Use USB memory stick devices as a persistent
home when available/connected on bootup.
Examples:
/usr/sbin/mklivecd --nodir ^/usr/src/RPM,^/root/tmp livecd.iso
/usr/sbin/mklivecd --splash=silent livecd.iso