Please note that the current Fedora-17-Beta-TC2-Live images lack
some traditional Live CD/USB features.
See this bug report.
/dev/live was a link to the installation partition on the Live USB, such as
or /dev/sr0 on a Live CD/DVD.
How would a script determine this partition without human input?
/mnt/live was a convenient mounting of the installation partition
It allowed easy access to pre-existing content on the Live USB device or to
the /LiveOS and /syslinux directories.
The --home-size-mb NNN option of livecd-iso-to-disk produced a
filesystem for the liveuser's home directory.
This feature made possible the --encrypted-home option, which would secure
the privacy of a user directory on a Live USB system.
The home.img filesystem was also read/write/delete without consuming the
LiveOS overlay. This is important for non-short-term Live USB deployments,
such as Sugar on a Stick, where overlay exhaustion can be a significant
Is there a workaround for these (missing) features?
I'm trying to modify an f16 livecd to enable ssh on boot, so that I can get to it when it's not in front of me.
I'm using a physical laptop with an f16 install from livecd and then yum update'd
the stock f16 livecd-tools falls over with this error:
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 464, in __destroy_selinuxfs
arglist = ["/bin/umount", self._instroot + self.__selinux_mountpoint + "/load"]
AttributeError: 'LiveImageEditor' object has no attribute '_ImageCreator__selinux_mountpoint'
Which if I look in the source of /usr/bin/edit-livecd seems to be understandable.
If I update to the updates-testing repo version of livecd-tools: livecd-tools-16.11-1.fc16.i686
I get this error:
[tim@pluto make]$ sudo edit-livecd -n withssh Fedora-16-i686-Live-Desktop.iso
umount: /var/tmp/edit-liveos-W2ZKFk/install_root/sys/fs/selinux/load: not found
Traceback (most recent call last):
File "/usr/bin/edit-livecd", line 723, in <module>
File "/usr/bin/edit-livecd", line 697, in main
editor.mount(LiveOS, cachedir = None)
File "/usr/bin/edit-livecd", line 251, in mount
os.symlink("../proc/mounts", self._instroot + "/etc/mtab")
OSError: [Errno 17] File exists
I *think* that this is because self._instroot is set to None in class LiveImageEditor(LiveImageCreator):, and does not appear to be reassigned.
Should the f16 livecd-tools version of edit-livecd work and are there any particular options/configurations that I must set to get it to work? Or should I just install from somewhere else (I'd much rather not do that as it will screw up the other dependencies on the box, but if necessary, I could spin up a VM and do it on that.)
All help gratefully received.
I rebuild my remix every few weeks (as those updates stack up) and I just recently ran into the following error:
- - -
Error creating Live CD : Unable to install: Rpmdb checksum is invalid: dCDPT(pkg checksums): konq-plugins.i686 0:4.6.1-1.fc15 - u
- - -
Anyone else seeing this? What's broke and how can I fix it?
I deleted the package cache so it would download everything again to do the build... and the package it is complaining about does get downloaded.
Oddly, the host the build is being done on was installed from an earlier version of the remix and does NOT have konq-plugins installed. If I try to yum remove konq-plugins, it substitutes that with kde-baseapps which is a fairly important package with regards to KDE.
My question is... if the package doesn't get installed, why is it being downloaded? Maybe with the recent KDE 4.8.1 update, they changed the deps and something is weird with the konq-plugins package?!? If I try to manually install konq-plugins on a system I get the following error:
- - -
ERROR with transaction check vs depsolve:
konq-plugins < 4.6.80-1 is obsoleted by (installed) kde-baseapps-4.8.1-1.fc15.i686
Please report this error in http://yum.baseurl.org/report
- - -
704 Church Street
Belgrade, MT 59714
Download via git livecd-tools version 18.2, because the official version
for Fedora 16 "livecd-tools-10.16-1.fc16.i686" gave me error, despite
using the latest version continued to have the same problem when trying
to create a LiveCD, I show the error output:
Error creating Live CD: Could not create snapshot device using: / sbin /
dmsetup create imgcreate-9659-62706 - uuid LIVECD-imgcreate-9659-62706 -
table 0 6291456 snapshot / dev/loop1 / dev/loop2 p 8
I'm using the kernel:
Linux 3.2.9-1.fc16.i686.PAE #1 SMP PREEMPT Tue Mar 6 22:25:02 CST 2012
i686 i686 i386 GNU/Linux
Can someone please help me with this, for several days looking for the
solution but nothing, I always end the same mistake.
thanks in advance
2012/3/7 Matthew Garrett <mjg59(a)srcf.ucam.org>:
> On Wed, Mar 07, 2012 at 09:25:25AM +0100, Joshua C. wrote:
>> The following commit breaks the builds on f16 because the files don't exist:
> Sounds like you need newer Lorax.
> Matthew Garrett | mjg59(a)srcf.ucam.org
livecd didn't complain about a new lorax but I'll give it a try later
today and report back.
The following commit breaks the builds on f16 because the files don't exist:
Author: Matthew Garrett <m...(a)redhat.com>
Date: Wed Feb 29 14:57:57 2012 -0500
Add support for generating EFI-bootable hybrid images
This patch adds support for generating efiboot and macboot images, passing
them to the ISO generation and then performing the appropriate isohybrid
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 7eefbc3..685a306 100755
@@ -227,9 +227,19 @@ class LiveImageCreatorBase(LoopImageCreator):
self.__isodir = self._mkdtemp("iso-")
+ def _generate_efiboot(self, isodir):
+ """Generate EFI boot images."""
+ if not os.path.exists(self._instroot +
+ return False
+ subprocess.call(["mkefiboot", isodir + "/EFI/boot",
+ isodir + "/isolinux/efiboot.img"])
+ subprocess.call(["mkefiboot", "-a", isodir + "/EFI/boot",
+ isodir + "/isolinux/macboot.img"])
macboot.img and efiboot.img cannot be found in any syslinux* package.