On Thu, Sep 20, 2012 at 11:36 AM, Marcelo Guazzardo
I would like to make a livecd from my current install. I tried with
revisor and other tools, but, all those tools create an iso from an
kickstart file, and then, I should copy my customs configurations. I have
try to create a squashfs file, and then replace it in the FC 17 LiveCD. I
could boot succesfully, but, when anaconda starts, I allways gets an error.
I have several questions about creation of Livecd.
How create a DM Snapshot , like osmin.img . I have search about this file,
apparently and lvm cow snapshot, but I didn't find how generate this file.
Device-mapper snapshots are created in the DeviceMapperSnapshot class,
(The args Python list variable provides the elements of a Bash command
line, dmsetup create.)
The basic steps to create osmin.img are described in the
function in fs.py,
The Python functions usually resolve to a Bash command.
I was studying the livecd-creator code, but I didn't understand the python
code. ¿Anyone here knows what are the steps in bash to create the
and the lvm snapshot? (osmin.img and squashfs.img files ).
Any hint will be appreciated.
The README, has a section 2.1 How the Live CD Creator Works,
that describes the basic steps.
Thanks in advance.
The Fedora livecd-tools package contains a Python script, edit-livecd, to
rebuild a livecd from a customized LiveOS image,
I have been working on a more feature full version, editliveos,
It includes several new options for adjusting the image filesystem size as
well as home.img and overlay file sizes. See this wiki section for the
It includes editliveos.py plus liveimage-mount, and temporary versions of
fs.py, live.py, creator.py, util.py (pending incremental patches for
livecd-tools acceptance). The livecd-iso-to-disk installation script is a
new version that uses chroot to run from the embedded source filesystem.
There is also a new Bash script, LiveOS-merge, for merging a LiveOS
snapshot and refreshing an installation with the new image. (A new
osmin.img is not created, but it is only used during installation of a
traditional image from a LiveOS image.)