From thiago.braga.santana at gmail.com Wed Jul 1 13:47:57 2009 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Wed, 1 Jul 2009 10:47:57 -0300 Subject: [Fedora-livecd-list] How I do to use livecd-creator in CentOS 3 (kernel 2.4) ? In-Reply-To: References: Message-ID: Hello. I just need build a CentOS 3 (or similar with kernel version 2.4) livecd. I already have installed the "livecd-tools". But I get problems in moment of mount the ext3 image, because the "/sys" and others does not exist. This's possible? Somebody can help me? Exist any version of livecd-creator for kernel 2.4? Thanks you in advance. Regards Thiago Santana PS. Sorry for my bad ingl?s. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno at wolff.to Wed Jul 1 17:09:22 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Wed, 1 Jul 2009 12:09:22 -0500 Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix Message-ID: <20090701170922.GA1673@wolff.to> I want to make a custom games spin remix with a few of the games icons on the desktop to make them easier to start. Is there documentation that shows how to do this or can summary give me a brief summary of how to do this? Thanks. From jdogalt at yahoo.com Wed Jul 1 18:17:20 2009 From: jdogalt at yahoo.com (Jane Dogalt) Date: Wed, 1 Jul 2009 11:17:20 -0700 (PDT) Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix Message-ID: <417365.51586.qm@web56902.mail.re3.yahoo.com> On f11, look at /etc/X11/xinit/xinitrc.d/zz-liveinst.sh Something else you could do is have a folder of launchers start up automatically. Just an idle thought... -dmc --- On Wed, 7/1/09, Bruno Wolff III wrote: > From: Bruno Wolff III > Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix > To: fedora-livecd-list at redhat.com > Date: Wednesday, July 1, 2009, 12:09 PM > I want to make a custom games spin > remix with a few of the games icons > on the desktop to make them easier to start. Is there > documentation that > shows how to do this or can summary give me a brief summary > of how to do > this? > Thanks. > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From bruno at wolff.to Wed Jul 1 19:30:39 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Wed, 1 Jul 2009 14:30:39 -0500 Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix In-Reply-To: <417365.51586.qm@web56902.mail.re3.yahoo.com> References: <417365.51586.qm@web56902.mail.re3.yahoo.com> Message-ID: <20090701193039.GA2095@wolff.to> On Wed, Jul 01, 2009 at 11:17:20 -0700, Jane Dogalt wrote: > > On f11, look at /etc/X11/xinit/xinitrc.d/zz-liveinst.sh > > Something else you could do is have a folder of launchers start up automatically. Just an idle thought... Thanks I'll take a look at that. An example should be enough to get me started. From bruno at wolff.to Thu Jul 2 15:44:32 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Thu, 2 Jul 2009 10:44:32 -0500 Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix In-Reply-To: <417365.51586.qm@web56902.mail.re3.yahoo.com> References: <417365.51586.qm@web56902.mail.re3.yahoo.com> Message-ID: <20090702154432.GA20739@wolff.to> On Wed, Jul 01, 2009 at 11:17:20 -0700, Jane Dogalt wrote: > > On f11, look at /etc/X11/xinit/xinitrc.d/zz-liveinst.sh > > Something else you could do is have a folder of launchers start up automatically. Just an idle thought... It looks like this will work, but I screwed up my first test with incorrect quoting and stuff got substituted during the build instead of during boot. When I get it working I'll post a sample. From sgrubb at redhat.com Thu Jul 2 17:36:58 2009 From: sgrubb at redhat.com (Steve Grubb) Date: Thu, 2 Jul 2009 13:36:58 -0400 Subject: [Fedora-livecd-list] livecd-creator problems on F-11 Message-ID: <200907021336.58166.sgrubb@redhat.com> Hello, I have a need to make a new F-11 livecd and switch out a couple packages. I run across several issues that I wanted to point out. 1) Mirrors sometimes hang or reset the connection. livecd-creator has no provision for nudging it to choose another mirror. The only thing you can do is kill -9 its process which leaves lots of stuff mounted. 2) When you do get another mirror, sometimes you get older copies of packages in the cache. It would be nice if only the newest package is in the cache. 3) Would it make more sense to do all the package downloading before mounting the target image via loopback? This way kill -9 doesn't leave a mess. 4) After retrieving the repomd files, it would be good to know what its doing. Mine's been sitting here for about 1 hour (strace shows nothing is happening): tune2fs 1.41.4 (27-Jan-2009) Setting maximal mount count to -1 Setting interval between checks to 0 seconds filespec_eval: hash table stats: 12 elements, 12/65536 buckets used, longest chain length 1 Retrieving http://mirrors.kernel.org/fedora/releases/11/Everything/x86_64/os/repodata/repomd.xml ...OK Retrieving http://mirrors.kernel.org/fedora/updates/11/x86_64/repodata/repomd.xml ...OK No such package *debuginfo to remove What gives? -Steve From kukulkan at in.com Fri Jul 3 08:00:03 2009 From: kukulkan at in.com (ranjith balakrishnan) Date: Fri, 03 Jul 2009 13:30:03 +0530 Subject: =?UTF-8?B?UmU6IFtGZWRvcmEtbGl2ZWNkLWxpc3RdIFJlcXVlc3QgZm9yIGZyZWUgRmVkb3JhIExpdmVjZA==?= In-Reply-To: <4A48669B.6090106@fedoraproject.org> Message-ID: <1246608003.7648557e5c7f1ecd407347dde3bd9927@mail.in.com> Sir,How do I enable read andwrite on windows partitions using fedora 11 lxde remix ?Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at martindengler.com Fri Jul 3 12:46:19 2009 From: martin at martindengler.com (Martin Dengler) Date: Fri, 3 Jul 2009 13:46:19 +0100 Subject: [Fedora-livecd-list] Request for free Fedora Livecd In-Reply-To: <1246608003.7648557e5c7f1ecd407347dde3bd9927@mail.in.com> References: <4A48669B.6090106@fedoraproject.org> <1246608003.7648557e5c7f1ecd407347dde3bd9927@mail.in.com> Message-ID: <20090703124619.GW24002@ops-13.xades.com> On Fri, Jul 03, 2009 at 01:30:03PM +0530, ranjith balakrishnan wrote: > Sir,How do I enable read andwrite on windows partitions using > fedora 11 lxde remix ?Thanks http://lmgtfy.com/?q=windows+partition+linux "Windows partition" is a bit too vauge. "ntfs" is another good search term to try. Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From bruno at wolff.to Fri Jul 3 15:46:50 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Fri, 3 Jul 2009 10:46:50 -0500 Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix In-Reply-To: <417365.51586.qm@web56902.mail.re3.yahoo.com> References: <417365.51586.qm@web56902.mail.re3.yahoo.com> Message-ID: <20090703154650.GA9396@wolff.to> On Wed, Jul 01, 2009 at 11:17:20 -0700, Jane Dogalt wrote: > > On f11, look at /etc/X11/xinit/xinitrc.d/zz-liveinst.sh > > Something else you could do is have a folder of launchers start up automatically. Just an idle thought... This worked. I just needed to append to that file in the %post section. Below is an example that tweaks the games spin. # Custom games spin that defines rpmfusion and livna repositories # and includes some media codecs and tools for playing dvds # and colossus, including a desktop icon for it. %include /usr/share/spin-kickstarts/fedora-livedvd-games.ks repo --name=released --baseurl=file:///home/fedora/releases/11/Everything/$basearch/os/ repo --name=updates --baseurl=file:///home/fedora/updates/11/$basearch/ repo --name=f11-updates-testing --baseurl=file:///home/fedora/updates/testing/11/$basearch/ repo --name=free --baseurl=file:///home/fedora/free/fedora/releases/11/Everything/$basearch/os/ repo --name=free-updates --baseurl=file:///home/fedora/free/fedora/updates/11/$basearch/ repo --name=free-updates-testing --baseurl=file:///home/fedora/free/fedora/updates/testing/11/$basearch/ repo --name=nonfree --baseurl=file:///home/fedora/nonfree/fedora/releases/11/Everything/$basearch/os/ repo --name=nonfree-updates --baseurl=file:///home/fedora/nonfree/fedora/updates/11/$basearch/ repo --name=nonfree-updates-testing --baseurl=file:///home/fedora/nonfree/fedora/updates/testing/11/$basearch/ repo --name=livna --baseurl=file:///home/fedora/livna/repo/11/$basearch/ repo --name=local --baseurl=file:///home/fedora/local/ %packages # Colossus isn't on the games spin yet colossus # rpm fusion rpmfusion-nonfree-release rpmfusion-free-release gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg xine-lib-extras-freeworld # Livna livna-release libdvdcss libdvdcss-devel # kernel-devel is needed by kmod-nvidia-96xx kernel-devel %post # Put some games on the desktop cat <<'EOF' >> /etc/X11/xinit/xinitrc.d/zz-liveinst.sh if [ `grep -c Geode /proc/cpuinfo` -eq 0 ]; then if [ -b /dev/live-osimg ]; then cp /usr/share/applications/colossus.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-wesnoth.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-freecol.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-freeciv.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-warzone2100.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-tremulous.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-alienarena.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" elif [ -f /.livecd-configured ]; then # FIXME: old way... this should go away cp /usr/share/applications/colossus.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/wesnoth.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-freecol.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-freeciv.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-warzone2100.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-tremulous.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" cp /usr/share/applications/fedora-alienarena.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}" fi fi EOF %end From jdogalt at yahoo.com Fri Jul 3 21:38:39 2009 From: jdogalt at yahoo.com (Jane Dogalt) Date: Fri, 3 Jul 2009 14:38:39 -0700 (PDT) Subject: [Fedora-livecd-list] How to add icons to desktop for a custom remix Message-ID: <875959.28171.qm@web56901.mail.re3.yahoo.com> Actually, what you want to do is create a new file instead of appending to that one. That is one of those '.d' directories, where you can have lots of files, each one doing a specific thing. In this case, the liveinst one is owned by anaconda, and only meant to control the liveinst icon that gets added to the desktop. I'd go with >> zz-gamestuffs.sh or whatever. I assume the zz has something to do with being processed in alpha-sort order, so I'd keep that prefix. -dmc --- On Fri, 7/3/09, Bruno Wolff III wrote: > From: Bruno Wolff III > Subject: Re: [Fedora-livecd-list] How to add icons to desktop for a custom remix > To: "Jane Dogalt" > Cc: fedora-livecd-list at redhat.com > Date: Friday, July 3, 2009, 10:46 AM > On Wed, Jul 01, 2009 at 11:17:20 > -0700, > ? Jane Dogalt > wrote: > > > > On f11, look at > /etc/X11/xinit/xinitrc.d/zz-liveinst.sh > > > > Something else you could do is have a folder of > launchers start up automatically.? Just an idle > thought... > > This worked. I just needed to append to that file in the > %post section. > Below is an example that tweaks the games spin. > > # Custom games spin that defines rpmfusion and livna > repositories > # and includes some media codecs and tools for playing > dvds > # and colossus, including a desktop icon for it. > > %include > /usr/share/spin-kickstarts/fedora-livedvd-games.ks > > repo --name=released > --baseurl=file:///home/fedora/releases/11/Everything/$basearch/os/ > repo --name=updates > --baseurl=file:///home/fedora/updates/11/$basearch/ > repo --name=f11-updates-testing > --baseurl=file:///home/fedora/updates/testing/11/$basearch/ > repo --name=free > --baseurl=file:///home/fedora/free/fedora/releases/11/Everything/$basearch/os/ > repo --name=free-updates > --baseurl=file:///home/fedora/free/fedora/updates/11/$basearch/ > repo --name=free-updates-testing > --baseurl=file:///home/fedora/free/fedora/updates/testing/11/$basearch/ > repo --name=nonfree > --baseurl=file:///home/fedora/nonfree/fedora/releases/11/Everything/$basearch/os/ > repo --name=nonfree-updates > --baseurl=file:///home/fedora/nonfree/fedora/updates/11/$basearch/ > repo --name=nonfree-updates-testing > --baseurl=file:///home/fedora/nonfree/fedora/updates/testing/11/$basearch/ > repo --name=livna > --baseurl=file:///home/fedora/livna/repo/11/$basearch/ > repo --name=local --baseurl=file:///home/fedora/local/ > > %packages > > # Colossus isn't on the games spin yet > colossus > > # rpm fusion > rpmfusion-nonfree-release > rpmfusion-free-release > gstreamer-plugins-ugly > gstreamer-plugins-bad > gstreamer-ffmpeg > xine-lib-extras-freeworld > > # Livna > livna-release > libdvdcss > libdvdcss-devel > > # kernel-devel is needed by kmod-nvidia-96xx > kernel-devel > > %post > > # Put some games on the desktop > cat <<'EOF' >> > /etc/X11/xinit/xinitrc.d/zz-liveinst.sh > if [ `grep -c Geode /proc/cpuinfo` -eq 0 ]; then > ? if [ -b /dev/live-osimg ]; then > ? ? cp /usr/share/applications/colossus.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-wesnoth.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-freecol.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-freeciv.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-warzone2100.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-tremulous.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-alienarena.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? elif [ -f /.livecd-configured ]; then? # FIXME: > old way... this should go away > ? ? cp /usr/share/applications/colossus.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp /usr/share/applications/wesnoth.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-freecol.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-freeciv.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-warzone2100.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-tremulous.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? ? cp > /usr/share/applications/fedora-alienarena.desktop > "${XDG_DESKTOP_DIR:-$HOME/Desktop}" > ? fi > fi > EOF > > %end > From katzj at fedoraproject.org Mon Jul 6 18:44:40 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 6 Jul 2009 18:44:40 +0000 (UTC) Subject: [Fedora-livecd-list] 4 commits - imgcreate/creator.py imgcreate/fs.py Message-ID: <20090706184440.8FFD5120306@lists.fedorahosted.org> imgcreate/creator.py | 2 - imgcreate/fs.py | 62 +++++++++++++++++++++++++++------------------------ 2 files changed, 35 insertions(+), 29 deletions(-) New commits: commit 6a3849d072b142f6c5c5bba07dd6521a1ef0c03a Author: Jeremy Katz Date: Mon Jul 6 14:29:30 2009 -0400 Store a copy of the filesystem image before resize Save a copy of an e2image before we do the resize so that if it fails, people can have something to provide via bugzilla diff --git a/imgcreate/fs.py b/imgcreate/fs.py index c19e8a0..c536de3 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -25,6 +25,7 @@ import subprocess import random import string import logging +import tempfile from imgcreate.errors import * @@ -56,6 +57,9 @@ def resize2fs(fs, size = None, minimal = False): raise RuntimeError("Must specify either a size or minimal for resize!") e2fsck(fs) + (fd, saved_image) = tempfile.mkstemp("", "resize-image-", "/tmp") + os.close(fd) + subprocess.call(["/sbin/e2image", "-r", fs, saved_image]) dev_null = os.open("/dev/null", os.O_WRONLY) args = ["/sbin/resize2fs", fs] @@ -72,7 +76,8 @@ def resize2fs(fs, size = None, minimal = False): return ret if e2fsck(fs) != 0: - raise CreatorError("fsck after resize returned an error!") + raise CreatorError("fsck after resize returned an error! image to debug at %s" %(saved_image,)) + os.unlink(saved_image) return 0 def e2fsck(fs): commit 44c17e8655e2787d3bb2fdc5ab32be18526ce284 Author: Jeremy Katz Date: Mon Jul 6 14:26:43 2009 -0400 Consolidate calls to fsck We always want to fsck before/after resizing, so just do it in the resize method rather than having it scattered everywhere. diff --git a/imgcreate/fs.py b/imgcreate/fs.py index 567376a..c19e8a0 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -54,6 +54,9 @@ def resize2fs(fs, size = None, minimal = False): raise RuntimeError("Can't specify both minimal and a size for resize!") if not minimal and size is None: raise RuntimeError("Must specify either a size or minimal for resize!") + + e2fsck(fs) + dev_null = os.open("/dev/null", os.O_WRONLY) args = ["/sbin/resize2fs", fs] if minimal: @@ -61,9 +64,21 @@ def resize2fs(fs, size = None, minimal = False): else: args.append("%sK" %(size / 1024,)) try: - return subprocess.call(args, stdout = dev_null, stderr = dev_null) + ret = subprocess.call(args, stdout = dev_null, stderr = dev_null) finally: os.close(dev_null) + + if ret != 0: + return ret + + if e2fsck(fs) != 0: + raise CreatorError("fsck after resize returned an error!") + return 0 + +def e2fsck(fs): + logging.debug("Checking filesystem %s" % fs) + rc = subprocess.call(["/sbin/e2fsck", "-f", "-y", fs]) + return rc class BindChrootMount: """Represents a bind mount of a directory into a chroot.""" @@ -402,11 +417,7 @@ class ExtDiskMount(DiskMount): if size > current_size: self.disk.expand(size) - self.__fsck() - resize2fs(self.disk.lofile, size) - - self.__fsck() return size def __create(self): @@ -426,8 +437,7 @@ class ExtDiskMount(DiskMount): DiskMount.mount(self) def __fsck(self): - logging.debug("Checking filesystem %s" % self.disk.lofile) - rc = subprocess.call(["/sbin/e2fsck", "-f", "-y", self.disk.lofile]) + return e2fsck(self.disk.lofile) return rc def __get_size_from_filesystem(self): @@ -449,12 +459,8 @@ class ExtDiskMount(DiskMount): return int(parse_field(out, "Block count")) * self.blocksize def __resize_to_minimal(self): - self.__fsck() resize2fs(self.disk.lofile, minimal = True) - min = self.__get_size_from_filesystem() - if self.__fsck() != 0: - raise CreatorError("fsck returned an error!") - return min + return self.__get_size_from_filesystem() def resparse(self, size = None): self.cleanup() commit 1e5e6019a058c6acde0b4cb85a21cac4d7b66a60 Author: Jeremy Katz Date: Mon Jul 6 13:49:14 2009 -0400 Use resize2fs -M instead of binary search esandeen got a "resize to minimal size" option added to resize2fs, so we should use it rather than our bisecting down to a minimal size. And maybe then we'll hit fewer resize2fs bugs. diff --git a/imgcreate/fs.py b/imgcreate/fs.py index 65f16e4..567376a 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -49,11 +49,19 @@ def mksquashfs(in_img, out_img): raise SquashfsError("'%s' exited with error (%d)" % (string.join(args, " "), ret)) -def resize2fs(fs, size): +def resize2fs(fs, size = None, minimal = False): + if minimal and size is not None: + raise RuntimeError("Can't specify both minimal and a size for resize!") + if not minimal and size is None: + raise RuntimeError("Must specify either a size or minimal for resize!") dev_null = os.open("/dev/null", os.O_WRONLY) + args = ["/sbin/resize2fs", fs] + if minimal: + args.append("-M") + else: + args.append("%sK" %(size / 1024,)) try: - return subprocess.call(["/sbin/resize2fs", fs, "%sK" % (size / 1024,)], - stdout = dev_null, stderr = dev_null) + return subprocess.call(args, stdout = dev_null, stderr = dev_null) finally: os.close(dev_null) @@ -442,24 +450,11 @@ class ExtDiskMount(DiskMount): def __resize_to_minimal(self): self.__fsck() - - # - # Use a binary search to find the minimal size - # we can resize the image to - # - bot = 0 - top = self.__get_size_from_filesystem() - while top != (bot + 1): - t = bot + ((top - bot) / 2) - - if not resize2fs(self.disk.lofile, t): - top = t - else: - bot = t - + resize2fs(self.disk.lofile, minimal = True) + min = self.__get_size_from_filesystem() if self.__fsck() != 0: raise CreatorError("fsck returned an error!") - return top + return min def resparse(self, size = None): self.cleanup() commit 0b0d40f7bdfc05c3220f44eec9bbb37bd8475587 Author: Jeremy Katz Date: Mon Jun 29 10:58:42 2009 -0400 Don't error out with SELinux disabled on the host (#508402) diff --git a/imgcreate/creator.py b/imgcreate/creator.py index 1f8971f..910c778 100644 --- a/imgcreate/creator.py +++ b/imgcreate/creator.py @@ -433,7 +433,7 @@ class ImageCreator(object): def __getbooleans(self): booleans = [] - if not kickstart.selinux_enabled(self.ks): + if not kickstart.selinux_enabled(self.ks) or not os.path.exists("/selinux/enforce"): return booleans for i in selinux.security_get_boolean_names()[1]: on = selinux.security_get_boolean_active(i) From katzj at fedoraproject.org Mon Jul 6 18:51:05 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 6 Jul 2009 18:51:05 +0000 (UTC) Subject: [Fedora-livecd-list] 2 commits - imgcreate/fs.py Message-ID: <20090706185105.51570120306@lists.fedorahosted.org> imgcreate/fs.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) New commits: commit e6767a22aa26c56d7f53c34ef533f3daf70fc373 Author: Jeremy Katz Date: Mon Jul 6 14:47:54 2009 -0400 Add a new exception type for resize errors diff --git a/imgcreate/fs.py b/imgcreate/fs.py index cb407ae..ae79b1c 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -52,9 +52,9 @@ def mksquashfs(in_img, out_img): def resize2fs(fs, size = None, minimal = False): if minimal and size is not None: - raise RuntimeError("Can't specify both minimal and a size for resize!") + raise ResizeError("Can't specify both minimal and a size for resize!") if not minimal and size is None: - raise RuntimeError("Must specify either a size or minimal for resize!") + raise ResizeError("Must specify either a size or minimal for resize!") e2fsck(fs) (fd, saved_image) = tempfile.mkstemp("", "resize-image-", "/tmp") @@ -76,7 +76,7 @@ def resize2fs(fs, size = None, minimal = False): return ret if e2fsck(fs) != 0: - raise CreatorError("fsck after resize returned an error! image to debug at %s" %(saved_image,)) + raise ResizeError("fsck after resize returned an error! image to debug at %s" %(saved_image,)) os.unlink(saved_image) return 0 commit fcad576ac467f6800ef062cd486ac42fa09ac7cd Author: Jeremy Katz Date: Mon Jul 6 14:46:20 2009 -0400 Don't continue if the fs unmount fails We occasionally see something where the fs fails to unmount, but we continue anyway. This then leads to weirdness. So just raise an exception if the unmount fails diff --git a/imgcreate/fs.py b/imgcreate/fs.py index c536de3..cb407ae 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -112,7 +112,9 @@ class BindChrootMount: if not self.mounted: return - subprocess.call(["/bin/umount", self.dest]) + rc = subprocess.call(["/bin/umount", self.dest]) + if rc != 0: + raise MountError("Unable to unmount filesystem at %s" % self.dest) self.mounted = False class LoopbackMount: @@ -354,6 +356,8 @@ class DiskMount(Mount): rc = subprocess.call(["/bin/umount", self.mountdir]) if rc == 0: self.mounted = False + else: + raise MountError("Unable to unmount filesystem at %s" % self.mountdir) if self.rmdir and not self.mounted: try: From katzj at fedoraproject.org Mon Jul 6 18:54:17 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 6 Jul 2009 18:54:17 +0000 (UTC) Subject: [Fedora-livecd-list] imgcreate/fs.py Message-ID: <20090706185417.1C23E120306@lists.fedorahosted.org> imgcreate/fs.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) New commits: commit 94d23f008f8f42e0cf93cd8b6cc0a4381d408dfb Author: Jeremy Katz Date: Mon Jul 6 14:51:06 2009 -0400 Also, don't lose resize2fs output (per request of sandeen) diff --git a/imgcreate/fs.py b/imgcreate/fs.py index ae79b1c..563b7a9 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -61,17 +61,12 @@ def resize2fs(fs, size = None, minimal = False): os.close(fd) subprocess.call(["/sbin/e2image", "-r", fs, saved_image]) - dev_null = os.open("/dev/null", os.O_WRONLY) args = ["/sbin/resize2fs", fs] if minimal: args.append("-M") else: args.append("%sK" %(size / 1024,)) - try: - ret = subprocess.call(args, stdout = dev_null, stderr = dev_null) - finally: - os.close(dev_null) - + ret = subprocess.call(args) if ret != 0: return ret From dmc.fedora at filteredperception.org Sun Jul 12 13:45:13 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Sun, 12 Jul 2009 07:45:13 -0600 Subject: [Fedora-livecd-list] [ANNOUNCE] ZyX-LiveInstaller-0.1.1 Message-ID: <4A59E8E9.1040009@filteredperception.org> A new GPLv3 - F11 compatible - _rebootless_ LiveOS installer is ready for alpha testers. Read all about it here, with full screenshot tour, src and binary rpms, online browsable source tree, and beginnings of a FAQ. http://viros.org/rebootless (redirects to:) http://filteredperception.org/smiley/projects/zyx-rli/ All you should need to test out, is a system whose disk data you don't care about, a stock f11 i686 livecd or liveusb, and an internet connection. Boot up, fire up firefox, go to that url, install by clicking the rpm link, and run the new desktop icon/launcher. If all goes well, you should be able to eject the livecd or remove the liveusb without powering down, and go about your business. Not to mention you could have been going about your business while the install was happening, and every change made to the filesystem even as you are installing, gets live migrated to the target disk partitions. Comments, feedback, bugs, and review will be greatly appreciated. peace... -dmc ---------- sha512sums ---------- f0ef56ecbb8c302c56b3812599e4f62ce1c1fe4484f7b1d8791edc8cfd92d07c285444cb63340f37a128f544471644d3bb645c92aae6f3083faf0952ff0fa206 zyx-liveinstaller-0.1.1-1.i386.rpm be5d2a11f068c13c6157515467214aec1515348021fb7e7fe8129c45ca63dbb36f02410e1d9a44b1dc5e635886f12bafbad9939ce4fcafc2ed69cd560f3a14af zyx-liveinstaller-0.1.1-1.src.rpm 5dd054f49291a62214d5a7dd5e57117335c4dd559ede35cea53fcd7a38983fd5931859a8d491a2a0bd4ef9d095ec06d1eefd2ac9e23767a561191f3b397687a1 zyx-liveinstaller-0.1.1.tar.bz2 From sundaram at fedoraproject.org Sun Jul 12 18:21:58 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Sun, 12 Jul 2009 23:51:58 +0530 Subject: [Fedora-livecd-list] Request for free Fedora Livecd In-Reply-To: <1246608003.7648557e5c7f1ecd407347dde3bd9927@mail.in.com> References: <1246608003.7648557e5c7f1ecd407347dde3bd9927@mail.in.com> Message-ID: <4A5A29C6.8000203@fedoraproject.org> On 07/03/2009 01:30 PM, ranjith balakrishnan wrote: > > > > Sir, > > How do I enable read and write on windows partitions using fedora 11 > lxde remix ? yum install ntfs-3g Rahul Ps: Compose a separate mail and use a proper subject next time From viswanath.t at atc.tcs.com Mon Jul 13 08:47:41 2009 From: viswanath.t at atc.tcs.com (Viswanath T K) Date: Mon, 13 Jul 2009 14:17:41 +0530 Subject: [Fedora-livecd-list] fedora xen livecd needed Message-ID: <1247474861.2857.6.camel@localhost.localdomain> Hello All, I am a newbie. I am creating my own customised xen livecd. I tried on fc7xen, but my livecd fails with "kernel panic" message. (a) Where can I download a fedora xen livecd from ? I would like to rework on my customised livecd I need help please Thanks Vishu From itsme_410 at yahoo.com Mon Jul 13 13:23:16 2009 From: itsme_410 at yahoo.com (Globe Trotter) Date: Mon, 13 Jul 2009 06:23:16 -0700 (PDT) Subject: [Fedora-livecd-list] possible to make F11 LiveCD while running F10? Message-ID: <14572.85888.qm@web50909.mail.re2.yahoo.com> Hi, I am trying to make a LXDE-based live CD using the kickstart file given in http://alt.fedoraproject.org/pub/alt/remixes/LXDE/lxde-fedora-remix-11.ks. However, I am currently running Fedora 10. I was wondering: is it possible to make the LiveCD for Fedora 11 while running Fedora 10. If so, what should I do? Many thanks, Trotter From dmc.fedora at filteredperception.org Tue Jul 14 12:59:59 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 14 Jul 2009 06:59:59 -0600 Subject: [Fedora-livecd-list] [ANNOUNCE] ZyX-LiveInstaller-0.1.1 In-Reply-To: <4A59E8E9.1040009@filteredperception.org> References: <4A59E8E9.1040009@filteredperception.org> Message-ID: <4A5C814F.3040802@filteredperception.org> FYI, a 0.1.3 release is now available which fixed/workedaround a problem with pre-first-reboot hibernation. Likewise I put up a proposed feature page, and started a related thread over on fedora-devel. http://fedoraproject.org/wiki/Features/RebootlessInstaller There are even links to a pair of youtube videos demonstrating the user experience of rebootless installation with a stock f11-i686 liveusb onto an acer aspire one netbook. Future announcements will be made on website's news/front page, so I won't spam here. http://filteredperception.org peace... -dmc Douglas McClendon wrote: > A new GPLv3 - F11 compatible - _rebootless_ LiveOS installer is ready > for alpha testers. > > Read all about it here, with full screenshot tour, src and binary rpms, > online browsable source tree, and beginnings of a FAQ. > > http://viros.org/rebootless (redirects to:) > http://filteredperception.org/smiley/projects/zyx-rli/ > > All you should need to test out, is a system whose disk data you don't > care about, a stock f11 i686 livecd or liveusb, and an internet > connection. Boot up, fire up firefox, go to that url, install by > clicking the rpm link, and run the new desktop icon/launcher. If all > goes well, you should be able to eject the livecd or remove the liveusb > without powering down, and go about your business. Not to mention you > could have been going about your business while the install was > happening, and every change made to the filesystem even as you are > installing, gets live migrated to the target disk partitions. > > Comments, feedback, bugs, and review will be greatly appreciated. > > peace... > > -dmc > > ---------- > sha512sums > ---------- > f0ef56ecbb8c302c56b3812599e4f62ce1c1fe4484f7b1d8791edc8cfd92d07c285444cb63340f37a128f544471644d3bb645c92aae6f3083faf0952ff0fa206 > zyx-liveinstaller-0.1.1-1.i386.rpm > be5d2a11f068c13c6157515467214aec1515348021fb7e7fe8129c45ca63dbb36f02410e1d9a44b1dc5e635886f12bafbad9939ce4fcafc2ed69cd560f3a14af > zyx-liveinstaller-0.1.1-1.src.rpm > 5dd054f49291a62214d5a7dd5e57117335c4dd559ede35cea53fcd7a38983fd5931859a8d491a2a0bd4ef9d095ec06d1eefd2ac9e23767a561191f3b397687a1 > zyx-liveinstaller-0.1.1.tar.bz2 > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From martin at martindengler.com Tue Jul 14 13:41:11 2009 From: martin at martindengler.com (Martin Dengler) Date: Tue, 14 Jul 2009 14:41:11 +0100 Subject: [Fedora-livecd-list] livecd-creator creates ISO without /home Message-ID: <20090714134111.GT21771@ops-13.xades.com> Hi, I'm getting a .ISO without a /home despite the filesystem rpm being installed, and I'd really appreciate any tips on debugging this or hints as to how this might happen. This is with the example .ks and I can get livecd-creator to work on a number of other machines. If I chroot and install the same filesystem rpm again (--force of course, since it's already installed), I do get a /home. I'm running: $ setarch i586 sudo livecd-creator --skip-compression --cache=../cache -t /home/mtd/xo-soas/images -c /usr/share/doc/livecd-tools-024/livecd-fedora-minimal.ks on a machine like: # uname -r Linux benderxxx 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux and I'm getting a filesystem like: http://people.sugarlabs.org/~mtd/soas-xo1/livecd.ext3_listing The output of the livecd-creator command is: http://people.sugarlabs.org/~mtd/soas-xo1/livecd.buildlog Any help much appreciated. Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From katzj at redhat.com Tue Jul 14 15:02:25 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 14 Jul 2009 11:02:25 -0400 Subject: [Fedora-livecd-list] livecd-creator creates ISO without /home In-Reply-To: <20090714134111.GT21771@ops-13.xades.com> References: <20090714134111.GT21771@ops-13.xades.com> Message-ID: <20090714150225.GA43423@redhat.com> On Tuesday, July 14 2009, Martin Dengler said: > I'm getting a .ISO without a /home despite the filesystem rpm being > installed, and I'd really appreciate any tips on debugging this or > hints as to how this might happen. Any SELinux errors? Jeremy From martin at martindengler.com Tue Jul 14 18:56:22 2009 From: martin at martindengler.com (Martin Dengler) Date: Tue, 14 Jul 2009 19:56:22 +0100 Subject: [Fedora-livecd-list] livecd-creator creates ISO without /home In-Reply-To: <20090714150225.GA43423@redhat.com> References: <20090714134111.GT21771@ops-13.xades.com> <20090714150225.GA43423@redhat.com> Message-ID: <20090714185622.GW21771@ops-13.xades.com> On Tue, Jul 14, 2009 at 11:02:25AM -0400, Jeremy Katz wrote: > On Tuesday, July 14 2009, Martin Dengler said: > > I'm getting a .ISO without a /home despite the filesystem rpm being > > installed, and I'd really appreciate any tips on debugging this or > > hints as to how this might happen. > > Any SELinux errors? These don't look like SELinux errors but they look like something security-related: [...] Installing: cronie ##################### [353/353] authconfig: Authentication module /lib/security/pam_fprintd.so is missing. Authentication process will not work correctly. authconfig: Authentication module /lib/security/pam_pkcs11.so is missing. Authentication process will not work correctly. Removing password for user root. passwd: Success Unmounting directory /home/mtd/xo-soas/images/imgcreate-K59B9d/install_root Losetup remove /dev/loop2 [...] (from http://people.sugarlabs.org/~mtd/soas-xo1/livecd.buildlog ) > Jeremy Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From katzj at redhat.com Wed Jul 15 01:37:33 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 14 Jul 2009 21:37:33 -0400 Subject: [Fedora-livecd-list] livecd-creator creates ISO without /home In-Reply-To: <20090714185622.GW21771@ops-13.xades.com> References: <20090714134111.GT21771@ops-13.xades.com> <20090714150225.GA43423@redhat.com> <20090714185622.GW21771@ops-13.xades.com> Message-ID: <20090715013733.GA44764@redhat.com> On Tuesday, July 14 2009, Martin Dengler said: > On Tue, Jul 14, 2009 at 11:02:25AM -0400, Jeremy Katz wrote: > > On Tuesday, July 14 2009, Martin Dengler said: > > > I'm getting a .ISO without a /home despite the filesystem rpm being > > > installed, and I'd really appreciate any tips on debugging this or > > > hints as to how this might happen. > > > > Any SELinux errors? > > These don't look like SELinux errors but they look like something > security-related: Those messages are far later (and not abnormal, although authconfig makes them look a little scary). The fact that groups aren't existing early in the install after the setup package has been installed is the more concerning part of the log to me. Which has usually only happened if SELinux is denying things. So checking for AVCs with ausearch -m avc would be very helfpul Jeremy From martin at martindengler.com Wed Jul 15 21:41:37 2009 From: martin at martindengler.com (Martin Dengler) Date: Wed, 15 Jul 2009 22:41:37 +0100 Subject: [Fedora-livecd-list] livecd-creator creates ISO without /home In-Reply-To: <20090715013733.GA44764@redhat.com> References: <20090714134111.GT21771@ops-13.xades.com> <20090714150225.GA43423@redhat.com> <20090714185622.GW21771@ops-13.xades.com> <20090715013733.GA44764@redhat.com> Message-ID: <20090715214137.GM21771@ops-13.xades.com> On Tue, Jul 14, 2009 at 09:37:33PM -0400, Jeremy Katz wrote: > On Tuesday, July 14 2009, Martin Dengler said: > > On Tue, Jul 14, 2009 at 11:02:25AM -0400, Jeremy Katz wrote: > > > On Tuesday, July 14 2009, Martin Dengler said: > > > > I'm getting a .ISO without a /home despite the filesystem rpm being > > > > installed, and I'd really appreciate any tips on debugging this or > > > > hints as to how this might happen. [...] > The fact that groups aren't existing early in the install after the > setup package has been installed is the more concerning part of the > log to me. The machine in question has an LDAP user database, from what I understand. I don't know how that might influence the users/groups in the created filesystem. > Which has usually only happened if SELinux is denying things. So > checking for AVCs with ausearch -m avc would be very helfpul Thanks for the tip. I checked during a new build and there're no AVCs shown by ausearch. > Jeremy Martin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From katzj at redhat.com Thu Jul 16 00:11:38 2009 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 15 Jul 2009 20:11:38 -0400 Subject: [Fedora-livecd-list] livecd-creator creates ISO without /home In-Reply-To: <20090715214137.GM21771@ops-13.xades.com> References: <20090714134111.GT21771@ops-13.xades.com> <20090714150225.GA43423@redhat.com> <20090714185622.GW21771@ops-13.xades.com> <20090715013733.GA44764@redhat.com> <20090715214137.GM21771@ops-13.xades.com> Message-ID: <20090716001138.GA45537@redhat.com> On Wednesday, July 15 2009, Martin Dengler said: > On Tue, Jul 14, 2009 at 09:37:33PM -0400, Jeremy Katz wrote: > > On Tuesday, July 14 2009, Martin Dengler said: > > > On Tue, Jul 14, 2009 at 11:02:25AM -0400, Jeremy Katz wrote: > > > > On Tuesday, July 14 2009, Martin Dengler said: > > > > > I'm getting a .ISO without a /home despite the filesystem rpm being > > > > > installed, and I'd really appreciate any tips on debugging this or > > > > > hints as to how this might happen. > [...] > > The fact that groups aren't existing early in the install after the > > setup package has been installed is the more concerning part of the > > log to me. > > The machine in question has an LDAP user database, from what I > understand. I don't know how that might influence the users/groups in > the created filesystem. Ahh, that is useful and could be related. Are you also using nscd by chance? If so, try turning it off Jeremy From dmc.fedora at filteredperception.org Thu Jul 16 05:25:09 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Wed, 15 Jul 2009 23:25:09 -0600 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? Message-ID: <4A5EB9B5.10506@filteredperception.org> It may well be that this has been discussed on this list before, and worse yet, that I may have even participated, but if so I've long forgotten, and it doesn't seem easy enough to search for. In my livecd generation tools I go to a bit of extra hassle to play symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't get put into the squashfs, since a copy of it is in the container iso/usb filesystem. Maybe we want to do that for f12? It is a bit messy, but I think it's worth it for 3/700M. peace... -dmc From katzj at redhat.com Thu Jul 16 14:07:05 2009 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 16 Jul 2009 10:07:05 -0400 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? In-Reply-To: <4A5EB9B5.10506@filteredperception.org> References: <4A5EB9B5.10506@filteredperception.org> Message-ID: <20090716140705.GB46251@redhat.com> On Wednesday, July 15 2009, Douglas McClendon said: > In my livecd generation tools I go to a bit of extra hassle to play > symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't get > put into the squashfs, since a copy of it is in the container iso/usb > filesystem. > > Maybe we want to do that for f12? It is a bit messy, but I think it's > worth it for 3/700M. Nope, it breaks the ability to easily install by copying over the filesystem. And when you consider that someone may be booting via pxe and then trying to install (see livecd-iso-to-pxeboot), there's no guarantee that we can get that file back. Jeremy From dmc.fedora at filteredperception.org Thu Jul 16 16:36:50 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Thu, 16 Jul 2009 10:36:50 -0600 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? In-Reply-To: <20090716140705.GB46251@redhat.com> References: <4A5EB9B5.10506@filteredperception.org> <20090716140705.GB46251@redhat.com> Message-ID: <4A5F5722.7090101@filteredperception.org> Jeremy Katz wrote: > On Wednesday, July 15 2009, Douglas McClendon said: >> In my livecd generation tools I go to a bit of extra hassle to play >> symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't get >> put into the squashfs, since a copy of it is in the container iso/usb >> filesystem. >> >> Maybe we want to do that for f12? It is a bit messy, but I think it's >> worth it for 3/700M. > > Nope, it breaks the ability to easily install by copying over the > filesystem. I grant the 'easily' part. But adding a bit of complexity to the installer to dereference a symlink and get the file from /mnt/live isn't that tough. And when you consider that someone may be booting via pxe > and then trying to install (see livecd-iso-to-pxeboot), there's no > guarantee that we can get that file back. In this case, isn't the kernel in the massive initrd that gets downloaded and booted? Could you have some logic in the initrd that detects PXE boot, and makes sure to save a copy of the kernel? I guess I'm just of the mindset of looking at the 700M livecd and seeing two copies of a 3M file, and thinking that somehow there is a way to bypass that redundancy (even for all corner cases, but I admit, I'm probably not familiar with all of them). -dmc From katzj at redhat.com Thu Jul 16 16:43:02 2009 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 16 Jul 2009 12:43:02 -0400 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? In-Reply-To: <4A5F5722.7090101@filteredperception.org> References: <4A5EB9B5.10506@filteredperception.org> <20090716140705.GB46251@redhat.com> <4A5F5722.7090101@filteredperception.org> Message-ID: <20090716164301.GD46402@redhat.com> On Thursday, July 16 2009, Douglas McClendon said: > Jeremy Katz wrote: >> On Wednesday, July 15 2009, Douglas McClendon said: >>> In my livecd generation tools I go to a bit of extra hassle to play >>> symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't >>> get put into the squashfs, since a copy of it is in the container >>> iso/usb filesystem. >>> >>> Maybe we want to do that for f12? It is a bit messy, but I think >>> it's worth it for 3/700M. >> >> Nope, it breaks the ability to easily install by copying over the >> filesystem. > > I grant the 'easily' part. But adding a bit of complexity to the > installer to dereference a symlink and get the file from /mnt/live isn't > that tough. And yet, it's the sort of stuff that regularly leads to weird installer bugs that are undiagnosable and turn people off of the distro. Sorry, the cost isn't worth the benefit here. > And when you consider that someone may be booting via pxe >> and then trying to install (see livecd-iso-to-pxeboot), there's no >> guarantee that we can get that file back. > > In this case, isn't the kernel in the massive initrd that gets > downloaded and booted? Could you have some logic in the initrd that > detects PXE boot, and makes sure to save a copy of the kernel? No. The kernel is just loaded into memory. You don't have any way to just "save a copy of the kernel" aside from really disgusting things involving parsing memory Jeremy From dmc.fedora at filteredperception.org Thu Jul 16 17:01:42 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Thu, 16 Jul 2009 11:01:42 -0600 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? In-Reply-To: <20090716164301.GD46402@redhat.com> References: <4A5EB9B5.10506@filteredperception.org> <20090716140705.GB46251@redhat.com> <4A5F5722.7090101@filteredperception.org> <20090716164301.GD46402@redhat.com> Message-ID: <4A5F5CF6.8050304@filteredperception.org> Jeremy Katz wrote: > On Thursday, July 16 2009, Douglas McClendon said: >> Jeremy Katz wrote: >>> On Wednesday, July 15 2009, Douglas McClendon said: >>>> In my livecd generation tools I go to a bit of extra hassle to play >>>> symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't >>>> get put into the squashfs, since a copy of it is in the container >>>> iso/usb filesystem. >>>> >>>> Maybe we want to do that for f12? It is a bit messy, but I think >>>> it's worth it for 3/700M. >>> Nope, it breaks the ability to easily install by copying over the >>> filesystem. >> I grant the 'easily' part. But adding a bit of complexity to the >> installer to dereference a symlink and get the file from /mnt/live isn't >> that tough. > > And yet, it's the sort of stuff that regularly leads to weird installer > bugs that are undiagnosable and turn people off of the distro. Sorry, > the cost isn't worth the benefit here. That's a valid concern. > >> And when you consider that someone may be booting via pxe >>> and then trying to install (see livecd-iso-to-pxeboot), there's no >>> guarantee that we can get that file back. >> In this case, isn't the kernel in the massive initrd that gets >> downloaded and booted? Could you have some logic in the initrd that >> detects PXE boot, and makes sure to save a copy of the kernel? > > No. The kernel is just loaded into memory. You don't have any way to > just "save a copy of the kernel" aside from really disgusting things > involving parsing memory Skimming the file, it looked to me like the iso was appended to the initrd. The iso having the kernel, suggests to me that the initrd scripts would have access to the kernel as a regular file. -dmc From denebola42 at gmail.com Fri Jul 17 00:14:25 2009 From: denebola42 at gmail.com (Joseph Barney) Date: Thu, 16 Jul 2009 18:14:25 -0600 Subject: [Fedora-livecd-list] persistence in Live USB Message-ID: <404bc4690907161714k1a9bbb66s7f7f2019a01a5535@mail.gmail.com> I dunno if this is the right spot but had to try... I tried making a 2GB persistence space on my Live USB... It's a fairly new 8GB Sandisk Cruzer, and I've read that with fat32 you can make it as much as 4GB. I'm no techical wizard, but more artsy but can usually manage on computers. I am using Fedora 11. My system does boot off the flash drive but it gives me a bit over 830mb of space, according to the OS but it is not persistent...Anything saved is lost on reboot and I do have Fedora 11 on my hard drive and installed it to flash with the official LiveUSB Creator. Any advice? Thanks! Joey -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmc.fedora at filteredperception.org Fri Jul 17 00:38:22 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Thu, 16 Jul 2009 18:38:22 -0600 Subject: [Fedora-livecd-list] persistence in Live USB In-Reply-To: <404bc4690907161714k1a9bbb66s7f7f2019a01a5535@mail.gmail.com> References: <404bc4690907161714k1a9bbb66s7f7f2019a01a5535@mail.gmail.com> Message-ID: <4A5FC7FE.3000809@filteredperception.org> Joseph Barney wrote: > I dunno if this is the right spot but had to try... I tried making a 2GB > persistence space on my Live USB... It's a fairly new 8GB Sandisk > Cruzer, and I've read that with fat32 you can make it as much as 4GB. > I'm no techical wizard, but more artsy but can usually manage on > computers. I am using Fedora 11. My system does boot off the flash drive > but it gives me a bit over 830mb of space, according to the OS but it is > not persistent...Anything saved is lost on reboot and I do have Fedora > 11 on my hard drive and installed it to flash with the official LiveUSB > Creator. Any advice? Thanks! No problem. Probably the best thing to do would be to file a bug in bugzilla. In that bug, it would help to have the following information- a) log into a terminal, 'su -' to root. and run the following commands and paste their output- dmsetup status df -m losetup -a mount ls -l /mnt/live/LiveOS b) try with 1.5G, and then 256M persistence space. With that information I might be able to better diagnose the problem. For information on filing bugs, see- http://fedoraproject.org/wiki/Bugs_and_feature_requests peace... -dmc From kanarip at kanarip.com Fri Jul 17 07:51:42 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Fri, 17 Jul 2009 09:51:42 +0200 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? In-Reply-To: <20090716140705.GB46251@redhat.com> References: <4A5EB9B5.10506@filteredperception.org> <20090716140705.GB46251@redhat.com> Message-ID: <4A602D8E.9000605@kanarip.com> On 07/16/2009 04:07 PM, Jeremy Katz wrote: > On Wednesday, July 15 2009, Douglas McClendon said: >> In my livecd generation tools I go to a bit of extra hassle to play >> symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't get >> put into the squashfs, since a copy of it is in the container iso/usb >> filesystem. >> >> Maybe we want to do that for f12? It is a bit messy, but I think it's >> worth it for 3/700M. > > Nope, it breaks the ability to easily install by copying over the > filesystem. And when you consider that someone may be booting via pxe > and then trying to install (see livecd-iso-to-pxeboot), there's no > guarantee that we can get that file back. > OTOH, someone may opt-in to remove the duplicate files or foo or bar basically breaking this feature which is not essential to the concept of Live media (but is a Fedora feature and so must be on all Fedora released Live media). An 'rm' in %post would be too early, and so the "user" is out of alternatives. I'd suggest if someone really wants to remove the kernel from the filesystem before it is squashed, but after it has been copied, they write a plugin for Revisor and send me the patch ;-) -- Jeroen From dmc.fedora at filteredperception.org Fri Jul 17 19:10:56 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Fri, 17 Jul 2009 13:10:56 -0600 Subject: [Fedora-livecd-list] 3 more megs if we get rid of redundant copy of kernel? In-Reply-To: <4A602D8E.9000605@kanarip.com> References: <4A5EB9B5.10506@filteredperception.org> <20090716140705.GB46251@redhat.com> <4A602D8E.9000605@kanarip.com> Message-ID: <4A60CCC0.1000400@filteredperception.org> Jeroen van Meeuwen wrote: > On 07/16/2009 04:07 PM, Jeremy Katz wrote: >> On Wednesday, July 15 2009, Douglas McClendon said: >>> In my livecd generation tools I go to a bit of extra hassle to play >>> symlink games with /boot/vmlinuz-$(uname -r), such that it doesn't get >>> put into the squashfs, since a copy of it is in the container iso/usb >>> filesystem. >>> >>> Maybe we want to do that for f12? It is a bit messy, but I think it's >>> worth it for 3/700M. >> >> Nope, it breaks the ability to easily install by copying over the >> filesystem. And when you consider that someone may be booting via pxe >> and then trying to install (see livecd-iso-to-pxeboot), there's no >> guarantee that we can get that file back. >> > > OTOH, someone may opt-in to remove the duplicate files or foo or bar > basically breaking this feature which is not essential to the concept of > Live media (but is a Fedora feature and so must be on all Fedora > released Live media). Well, maybe it might break something else, but I corrected Jeremy on the livecd-is-to-pxeboot case. > > An 'rm' in %post would be too early, and so the "user" is out of > alternatives. > > I'd suggest if someone really wants to remove the kernel from the > filesystem before it is squashed, but after it has been copied, they > write a plugin for Revisor and send me the patch ;-) If only there were a thousand hours in a day... peace/out... -dmc From shindepravin at gmail.com Sat Jul 18 13:38:13 2009 From: shindepravin at gmail.com (Pravin) Date: Sat, 18 Jul 2009 15:38:13 +0200 Subject: [Fedora-livecd-list] Booting Fedora 11 live CD over HTTP Message-ID: <9d1b82480907180638y63889570jac933c3494c4ad02@mail.gmail.com> Hi, I am working on booting Fedora 11 live CD (Fedora-11-i686-Live.iso) over HTTP with use of httpfs. The reason behind choosing httpfs is that, it will work if you have web access. and Entire ISO file is not downloaded at one go. Only the parts which are needed are downloaded, which puts less pressure on memory. This is done with partial success. Fedora 11 works in Single user mode without any problems, but it gives ext4-fs related errors on switching to run level 3 or 5. Following is the method followed. -- Added the httpfs, fusermount and kernel modules (to support networking fuse) to initramfs. -- Added a new script called "bin/mount_http_iso.sh" which does following --- Enable networking (by inserting kernel modules). Currently, modules for only few network cards are added but new card can be easily added. --- Setup networking (kernel parameter "ip" is used). --- Get the location of ISO (kernel parameter "httpfs" is used). --- Mount the ISO as file (using "httpfs" command and fusermount). --- Mount the ISO file as iso9660 filesystem using loopback option. -- Modified the "sbin/real-init" script to call "mount_http_iso.sh" when httpfs boot parameter is present. "/bin/plymouthd" had to be disabled as it was somehow freezing the boot process. I am not sure of reasons behind it, but fedora 11 boots over http if following line in "init" script is commented out and it does not boot when this line is there. {{{ #daemonize --ignore-missing /bin/plymouthd }}} If run level is switched for from single user mode run level 3 by executing "init 3" from single user mode, following ext4-fs related errors are thrown. Any hints on cause of these errors will be helpful. Starting Bluetooth services: [ OK ] EXT-4-fs error (device dm-0): ext4_find_entry: reading #13191 offset 0 /etc/rc.d/rc : line 100 : /etc/rc3.d/S80sendmail: Input/output error EXT4-fs error (device dm-0): __ext4_get_inode_loc: unable to read inode block - inode=9642, block=827 After disabling following startup scripts in runlevel 3, Fedora does reaches multiuser login prompt but enter key is shown on console as "^M" hence login can-not be done :-( the modified real-init script is available at http://rom.etherboot.org/share/pravin/BKO/pxeknife/red_hat/fedora_11_live_cd/real-init The entire setup for testing the process of booting Fedora 11 is available at http://rom.etherboot.org/share/pravin/BKO/pxeknife/red_hat/ gpxe image to automatically for automatic booting over fedora 11 can be downloaded at http://rom.etherboot.org/share/pravin/BKO/ You can also refer to the following page which contains detailed documentation of the problems faced and solutions tried. My apologies if you find this page little dis-organized. It was created for personal reference. http://etherboot.org/wiki/soc/2009/pravin/journal/fedora11bko Any feedback/criticism/help and hints on getting fedora boot over HTTP will be welcome :-) I hope that this work will be found useful. -- Pravin http://rom.etherboot.org/share/pravin/BKO/ From kalabharath at gmail.com Mon Jul 20 19:36:32 2009 From: kalabharath at gmail.com (kala) Date: Mon, 20 Jul 2009 15:36:32 -0400 Subject: [Fedora-livecd-list] Fedora live usb:- storing data on the remaining space on the USB Message-ID: <7edc9ec40907201236r1cb43745ia8dc81309911e0b6@mail.gmail.com> Dear friends. Last time when i have used fedora 9 on a live usb it gives me an ability to mount the same usb (which i used for booting) and store data onto it , however i skipped FC10 and now when i am using FC11 I am unable to do so any more, is there a way to use the same usb drive for storing data ( this enables to share data from systems to systems and OS to OS). kala bharath -------------- next part -------------- An HTML attachment was scrubbed... URL: From sundaram at fedoraproject.org Mon Jul 20 19:44:10 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Tue, 21 Jul 2009 01:14:10 +0530 Subject: [Fedora-livecd-list] Fedora live usb:- storing data on the remaining space on the USB In-Reply-To: <7edc9ec40907201236r1cb43745ia8dc81309911e0b6@mail.gmail.com> References: <7edc9ec40907201236r1cb43745ia8dc81309911e0b6@mail.gmail.com> Message-ID: <4A64C90A.5000401@fedoraproject.org> On 07/21/2009 01:06 AM, kala wrote: > Dear friends. > > Last time when i have used fedora 9 on a live usb it gives me an ability > to mount the same usb (which i used for booting) and store data onto it > , however i skipped FC10 and now when i am using FC11 I am unable to do > so any more, is there a way to use the same usb drive for storing data > ( this enables to share data from systems to systems and OS to OS). Yes. Refer to http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Data_Persistence Rahul From katzj at fedoraproject.org Thu Jul 23 17:47:56 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 23 Jul 2009 17:47:56 +0000 (UTC) Subject: [Fedora-livecd-list] 2 commits - imgcreate/errors.py imgcreate/live.py Message-ID: <20090723174756.25AC812022F@lists.fedorahosted.org> imgcreate/errors.py | 2 ++ imgcreate/live.py | 3 +++ 2 files changed, 5 insertions(+) New commits: commit 2ef4083a8c1adea520dc22bc43ae4ceb65dc85de Author: Jeremy Katz Date: Mon Jul 20 21:26:23 2009 -0400 Make live image a hybrid Use isohybrid if available so that images can be dd'd to a usb stick. Note that there's still some initrd changes required for this to be fully functional diff --git a/imgcreate/live.py b/imgcreate/live.py index a4914e0..b98f7b3 100644 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -248,6 +248,9 @@ class LiveImageCreatorBase(LoopImageCreator): if subprocess.call(args) != 0: raise CreatorError("ISO creation failed!") + if os.path.exists("/usr/bin/isohybrid"): + subprocess.call(["/usr/bin/isohybrid", iso]) + self.__implant_md5sum(iso) def __implant_md5sum(self, iso): commit 733f9ce7b96ed492e4b974b089fa647db569e957 Author: Jeremy Katz Date: Thu Jul 9 13:44:12 2009 -0400 Include new error definition which I apparently didn't commit diff --git a/imgcreate/errors.py b/imgcreate/errors.py index a29b841..800dc3b 100644 --- a/imgcreate/errors.py +++ b/imgcreate/errors.py @@ -52,3 +52,5 @@ class SnapshotError(CreatorError): pass class SquashfsError(CreatorError): pass +class ResizeError(CreatorError): + pass From Marc.Herbert at gmail.com Fri Jul 24 07:56:22 2009 From: Marc.Herbert at gmail.com (Marc Herbert) Date: Fri, 24 Jul 2009 08:56:22 +0100 Subject: [Fedora-livecd-list] isohybrid versus livecd-iso-to-disk In-Reply-To: <20090723174756.25AC812022F@lists.fedorahosted.org> References: <20090723174756.25AC812022F@lists.fedorahosted.org> Message-ID: Jeremy, I am currently using livecd-iso-to-disk to create USB images. How does this isohybrid technique compare to it? Is it meant to replace it in the future? Cheers, Marc Jeremy Katz a ?crit : > New commits: > commit 2ef4083a8c1adea520dc22bc43ae4ceb65dc85de > Author: Jeremy Katz > Date: Mon Jul 20 21:26:23 2009 -0400 > > Make live image a hybrid > > Use isohybrid if available so that images can be dd'd to a usb > stick. Note that there's still some initrd changes required for > this to be fully functional From katzj at redhat.com Fri Jul 24 13:04:57 2009 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 24 Jul 2009 09:04:57 -0400 Subject: [Fedora-livecd-list] isohybrid versus livecd-iso-to-disk In-Reply-To: References: <20090723174756.25AC812022F@lists.fedorahosted.org> Message-ID: <20090724130457.GA63492@redhat.com> On Friday, July 24 2009, Marc Herbert said: > I am currently using livecd-iso-to-disk to create USB images. How does this isohybrid > technique compare to it? Is it meant to replace it in the future? livecd-iso-to-disk (or really liveusb-creator) is always going to be the "preferred" way of creating a USB image. With the tool you get the advantage that it's a non-destructive operation, you can set up things like persistence and you can mount and use the disk "normally" to hold more stuff. isohybrid, though, is nice for a quick trial run or for people on a platform that livecd-iso-to-disk/liveusb-creator can't work due to an inability to run syslinux or other reasons (OS/X being the obvious big one, probably the rest of the BSDs as well) Jeremy From tluc0323 at hotmail.com Sat Jul 25 03:09:17 2009 From: tluc0323 at hotmail.com (tobby luccas) Date: Fri, 24 Jul 2009 22:09:17 -0500 Subject: [Fedora-livecd-list] Increasing Root Size on Fedora 11 Live USB Stick Message-ID: Hello! I am new to using Fedora 11 Live on a usb stick and am wondering if there is a relatively simple way to increase the size of the root partition on the stick after it has been installed using the Fedora-Live_USB Creator utility v3.6.7. I used the x86-64 live image to create the stick. Or alternately recreate the stick, but with more space going to the root partition. Also, is there a document somewhere, or a thread, which provides an overview of the file system created on the usb stick and also how persistence works? I set the 8 GB stick up with 4 GB of persistence, but this seems to mostly have ended up in the /tmp directory and when I try ro install software to its appropriate place on the system, I have quickly run out of space eventhough I haven't installed anywhere near 4GB of software. I would appreciate any help which someone may be able to offer. Thanks! Best Regards, Toby _________________________________________________________________ Windows Live? SkyDrive?: Store, access, and share your photos. See how. http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From deadbabylon at googlemail.com Tue Jul 28 07:42:26 2009 From: deadbabylon at googlemail.com (Sebastian Vahl) Date: Tue, 28 Jul 2009 09:42:26 +0200 Subject: [Fedora-livecd-list] unbootable rawhide images Message-ID: <200907280942.36887.deadbabylon@googlemail.com> Hi. Are there some issues known that current live images with livecd-creator from git are unbootable atm? With my images I have the problem that the booting stops after the squashfs message of the kernel (eg. here from VirtualBox: http://img525.imageshack.us/img525/2016/livecdcreatorrawhidenob.png) This also affects the "Verify and boot" option. Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: From katzj at redhat.com Tue Jul 28 13:29:55 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 28 Jul 2009 09:29:55 -0400 Subject: [Fedora-livecd-list] unbootable rawhide images In-Reply-To: <200907280942.36887.deadbabylon@googlemail.com> References: <200907280942.36887.deadbabylon@googlemail.com> Message-ID: <20090728132954.GA70725@redhat.com> On Tuesday, July 28 2009, Sebastian Vahl said: > Are there some issues known that current live images with livecd-creator from > git are unbootable atm? With my images I have the problem that the booting > stops after the squashfs message of the kernel (eg. here from VirtualBox: > http://img525.imageshack.us/img525/2016/livecdcreatorrawhidenob.png) There was something which broke things last week, but I fixed it up last Monday or Tuesday. Haven't heard/noticed anything new. Does your rawhide mirror have mkinitrd-6.0.92? Jeremy From deadbabylon at googlemail.com Tue Jul 28 13:56:42 2009 From: deadbabylon at googlemail.com (Sebastian Vahl) Date: Tue, 28 Jul 2009 15:56:42 +0200 Subject: [Fedora-livecd-list] unbootable rawhide images In-Reply-To: <20090728132954.GA70725@redhat.com> References: <200907280942.36887.deadbabylon@googlemail.com> <20090728132954.GA70725@redhat.com> Message-ID: <200907281556.51496.deadbabylon@googlemail.com> Am Dienstag 28 Juli 2009 schrieb Jeremy Katz: > On Tuesday, July 28 2009, Sebastian Vahl said: > > Are there some issues known that current live images with livecd-creator > > from git are unbootable atm? With my images I have the problem that the > > booting stops after the squashfs message of the kernel (eg. here from > > VirtualBox: > > http://img525.imageshack.us/img525/2016/livecdcreatorrawhidenob.png) > > There was something which broke things last week, but I fixed it up last > Monday or Tuesday. Haven't heard/noticed anything new. Does your > rawhide mirror have mkinitrd-6.0.92? The version was created with mkinitrd-6.0.91-2. So I'll have to wait until the mass rebuilt has finished and my mirrors are in sync. Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: From dhuff at redhat.com Tue Jul 28 14:59:37 2009 From: dhuff at redhat.com (David Huff) Date: Tue, 28 Jul 2009 10:59:37 -0400 Subject: [Fedora-livecd-list] Rawhide error Message-ID: <4A6F1259.6030903@redhat.com> Anyone seen anything like this?? Retrieving http://download.fedora.devel.redhat.com/pub/fedora/linux/development/x86_64/os/repodata/repomd.xml ...OK /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return unicode(self.message) Error creating Live CD : Dependency check failed! [david at RAWHIDE2 ovirt-node-image]$ rpm -q livecd-tools livecd-tools-024-1.fc11.x86_64 [david at RAWHIDE2 ovirt-node-image]$ cat /etc/redhat-release Fedora release 11.90 (Rawhide) -D From maxamillion at gmail.com Tue Jul 28 15:07:15 2009 From: maxamillion at gmail.com (Adam Miller) Date: Tue, 28 Jul 2009 10:07:15 -0500 Subject: [Fedora-livecd-list] Rawhide error In-Reply-To: <4A6F1259.6030903@redhat.com> References: <4A6F1259.6030903@redhat.com> Message-ID: I got that error yesterday when trying to compose a rawhide image from F11, but didn't get the error when composing rawhide image from rawhide. I don't know the cause or if it might be related to the mass rebuild and that one build worked where other failed might have been a massive fluke, but I was going to wait until the mass rebuild was complete before reporting it in order to rule that out. Others might have more educated theories as to why it failed though. -Adam -- http://maxamillion.googlepages.com --------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments From katzj at redhat.com Tue Jul 28 15:07:51 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 28 Jul 2009 11:07:51 -0400 Subject: [Fedora-livecd-list] Rawhide error In-Reply-To: <4A6F1259.6030903@redhat.com> References: <4A6F1259.6030903@redhat.com> Message-ID: <20090728150751.GC70725@redhat.com> On Tuesday, July 28 2009, David Huff said: > Retrieving > http://download.fedora.devel.redhat.com/pub/fedora/linux/development/x86_64/os/repodata/repomd.xml > ...OK > /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: > DeprecationWarning: BaseException.message has been deprecated as of > Python 2.6 > return unicode(self.message) > Error creating Live CD : Dependency check failed! Make sure you have a rawhide rpm (rpm 4.7.1) -- otherwise, you're probably hitting that the version of rpm that you have installed can't install packages with the new payload format Jeremy From maxamillion at gmail.com Tue Jul 28 15:10:21 2009 From: maxamillion at gmail.com (Adam Miller) Date: Tue, 28 Jul 2009 10:10:21 -0500 Subject: [Fedora-livecd-list] Rawhide error In-Reply-To: <20090728150751.GC70725@redhat.com> References: <4A6F1259.6030903@redhat.com> <20090728150751.GC70725@redhat.com> Message-ID: On Tue, Jul 28, 2009 at 10:07 AM, Jeremy Katz wrote: > Make sure you have a rawhide rpm (rpm 4.7.1) -- otherwise, you're > probably hitting that the version of rpm that you have installed can't > install packages with the new payload format Is it safe to assume that version of rpm is destined to F10 and F11 at some point? -Adam -- http://maxamillion.googlepages.com --------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments From katzj at redhat.com Tue Jul 28 15:15:36 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 28 Jul 2009 11:15:36 -0400 Subject: [Fedora-livecd-list] Rawhide error In-Reply-To: References: <4A6F1259.6030903@redhat.com> <20090728150751.GC70725@redhat.com> Message-ID: <20090728151536.GD70725@redhat.com> On Tuesday, July 28 2009, Adam Miller said: > On Tue, Jul 28, 2009 at 10:07 AM, Jeremy Katz wrote: > > Make sure you have a rawhide rpm (rpm 4.7.1) -- otherwise, you're > > probably hitting that the version of rpm that you have installed can't > > install packages with the new payload format > > > Is it safe to assume that version of rpm is destined to F10 and F11 at > some point? It's already in at least F11 updates-testing since I picked it up on one of my boxes recently. Not sure what the intent is for f10 Jeremy From notting at redhat.com Tue Jul 28 15:16:29 2009 From: notting at redhat.com (Bill Nottingham) Date: Tue, 28 Jul 2009 11:16:29 -0400 Subject: [Fedora-livecd-list] Rawhide error In-Reply-To: <20090728151536.GD70725@redhat.com> References: <4A6F1259.6030903@redhat.com> <20090728150751.GC70725@redhat.com> <20090728151536.GD70725@redhat.com> Message-ID: <20090728151629.GA14732@nostromo.devel.redhat.com> Jeremy Katz (katzj at redhat.com) said: > > > Make sure you have a rawhide rpm (rpm 4.7.1) -- otherwise, you're > > > probably hitting that the version of rpm that you have installed can't > > > install packages with the new payload format > > > > > > Is it safe to assume that version of rpm is destined to F10 and F11 at > > some point? > > It's already in at least F11 updates-testing since I picked it up on one > of my boxes recently. Not sure what the intent is for f10 F-10 will likely get a patched 4.6.x. Bill From dhuff at redhat.com Tue Jul 28 15:19:29 2009 From: dhuff at redhat.com (David Huff) Date: Tue, 28 Jul 2009 11:19:29 -0400 Subject: [Fedora-livecd-list] Rawhide error In-Reply-To: <20090728150751.GC70725@redhat.com> References: <4A6F1259.6030903@redhat.com> <20090728150751.GC70725@redhat.com> Message-ID: <4A6F1701.6040308@redhat.com> Jeremy Katz wrote: > On Tuesday, July 28 2009, David Huff said: >> Retrieving >> http://download.fedora.devel.redhat.com/pub/fedora/linux/development/x86_64/os/repodata/repomd.xml >> ...OK >> /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: >> DeprecationWarning: BaseException.message has been deprecated as of >> Python 2.6 >> return unicode(self.message) >> Error creating Live CD : Dependency check failed! > > Make sure you have a rawhide rpm (rpm 4.7.1) -- otherwise, you're > probably hitting that the version of rpm that you have installed can't > install packages with the new payload format > > Jeremy updated to rpm-4.7.1-1.fc12.x86_64 fixed the issue thanks Jeremy. -D From diegofons at apexar.com Wed Jul 29 12:55:49 2009 From: diegofons at apexar.com (Diego A. Fons) Date: Wed, 29 Jul 2009 09:55:49 -0300 Subject: [Fedora-livecd-list] Custom LiveCD Message-ID: <4A7046D5.2010402@apexar.com> Hi, I'm making my own LiveCD using Fedora's tools (livecd-creator) as explain in the Wiki [1]. My question is if it is possible to install software ready to run in the LiveCD. I mean, you boot the LiveCD and you are able to run the software without installing it. The software is not a RPM, it's a software I've made. Is it possible? and How can I add this software to the LiveCD image? Best regards, Diego A. Fons. [1] http://fedoraproject.org/wiki/How_to_create_and_use_Fedora_LiveCD From Marc.Herbert at gmail.com Wed Jul 29 18:13:33 2009 From: Marc.Herbert at gmail.com (Marc Herbert) Date: Wed, 29 Jul 2009 19:13:33 +0100 Subject: [Fedora-livecd-list] Re: Custom LiveCD In-Reply-To: <4A7046D5.2010402@apexar.com> References: <4A7046D5.2010402@apexar.com> Message-ID: Diego A. Fons a ?crit : > The software is not a RPM, it's a software I've made. > > Is it possible? and How can I add this software to the LiveCD image? > Add this inside your main .ks file: %post %include diegos_chroot_installation_script.sh %end %post --nochroot %include diegos_nochroot_installation_script.sh %end You can even nest "%include" directives. For more details, check kickstart's documentation (livecd-creator shares a lot of its implementation with kickstart). From bruno at wolff.to Thu Jul 30 02:35:28 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Wed, 29 Jul 2009 21:35:28 -0500 Subject: [Fedora-livecd-list] Custom LiveCD In-Reply-To: <4A7046D5.2010402@apexar.com> References: <4A7046D5.2010402@apexar.com> Message-ID: <20090730023528.GA25829@wolff.to> On Wed, Jul 29, 2009 at 09:55:49 -0300, "Diego A. Fons" wrote: > Hi, > > I'm making my own LiveCD using Fedora's tools (livecd-creator) as > explain in the Wiki [1]. > My question is if it is possible to install software ready to run in the > LiveCD. I mean, you boot the LiveCD and you are able to run the software > without installing it. > The software is not a RPM, it's a software I've made. > > Is it possible? and How can I add this software to the LiveCD image? Another suggestion is to make your own rpm package of your software and create a local repo for it that gets used by the ks file. I do this for a package I have in rawhide that won't get pushed to F10 or F11 for a few weeks yet. From harry.devine at faa.gov Fri Jul 31 15:29:14 2009 From: harry.devine at faa.gov (harry.devine at faa.gov) Date: Fri, 31 Jul 2009 11:29:14 -0400 Subject: [Fedora-livecd-list] Problem with bootloader options in kickstart file Message-ID: I have livecd-tools version 013 installed on a Fedora 8 PC. I'm trying to modify my kickstart file to blacklist a module on the LiveCD that I am creating, but it isn't working. I'm adding the following to my kickstart file: bootloader --timeout=5 --append="blacklist=iTCO_wdt" When the CD boots I get the timeout value counting down from 5, and when I hit Tab to look at the kernel options on the command line, all I have is "rhgb quiet" as stated in the documentation. As a test, I tried putting "apci=force" as the kernel parameter and that isn't there either. I can manually enter "blacklist=iTCO_wdt" on the command line and that works, but the --append option seems to do nothing at all. Is this broken in this version? I know some may say "upgrade to F11" or something like that, but that's not really possible for us at this time. We're working towards that, but I'd like to be able to blacklist that module during the LiveCD creation. Thanks, Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: From bjs at redhat.com Fri Jul 31 16:21:25 2009 From: bjs at redhat.com (Bryan J Smith) Date: Fri, 31 Jul 2009 12:21:25 -0400 Subject: [Fedora-livecd-list] Problem with bootloader options in kickstart file In-Reply-To: References: Message-ID: <1249057285.4345.20.camel@localhost.localdomain> On Fri, 2009-07-31 at 11:29 -0400, harry.devine at faa.gov wrote: > When the CD boots I get the timeout value counting down from 5, and > when I hit Tab to look at the kernel options on the command line, all > I have is "rhgb quiet" as stated in the documentation. As a test, I > tried putting "apci=force" as the kernel parameter and that isn't > there either. I can manually enter "blacklist=iTCO_wdt" on the > command line and that works, but the --append option seems to do > nothing at all. Some earlier versions of the livecd-creator ignore this option and it was a known bug. Related thread: https://www.redhat.com/archives/fedora-livecd-list/2008-August/msg00048.html LiveCD-Tools 013 approach, and most of the pre-Fedora 9/10 related changes, have been more radically changed, and are far more capable. In other words, don't expect LiveCD-Tools to be fixed for Fedora 8. Indeed, I see the last version released for F8 is 013.1: http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/8/i386.newkey/livecd-tools-013.1-1.fc8.i386.rpm At most, you could try rebuilding LiveCD-Tools from another distro release to see if it fixes the issue. Of course, it will likely break because of various changes in the distro. I know there were significant changes in the distro from Fedora 8 to 9 which LiveCD-Tools 017 relies on differently than 013. http://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS.newkey/livecd-tools-017.3-1.fc9.src.rpm Another option, which will likely work but may not fix your problem, is to try LiveCD-Tools 013-8 release from the Extra Packages for Enterprise Linux (EPEL), namely for Red Hat Enterprise Linux Release 5 (EL5). http://download.fedora.redhat.com/pub/epel/5/SRPMS/livecd-tools-013-8.el5.1.src.rpm For the .src.rpm files, I assume you know, download, run "rpmbuild --rebuild" and use the resulting RPM in /usr/src/redhat (assuming you haven't changed the default RPM macros). Again, 013-8 from EPEL it should work, but I don't know if it addresses your issue. Then again Rahul may have modified it for some EL5 differences, and it may not work. I've never tried it myself. > Is this broken in this version? I know some may say "upgrade to F11" > or something like that, but that's not really possible for us at this > time. We're working towards that, but I'd like to be able to > blacklist that module during the LiveCD creation. Considering Fedora 8 went EOL and has had no security fixes since shortly into 2008, you should consider either a newer Fedora** release or Red Hat Enterprise Linux Release 5.** -- Bryan **NOTE: I understand there are other considerations. Please contact myself off-list if you would like to discuss. I deal with these all-the-time, especially in government. -- Bryan J Smith Senior Consultant Red Hat, Inc. Professional Consulting http://www.redhat.com/consulting mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile) mailto:b.j.smith at ieee.org (Blackberry / Red Hat External) --------------------------------------------------------- You already know Red Hat as the entity dedicated to 100% no-IP-strings-attached, community software development. But do you know where CIOs rate Red Hat versus other software and services firms for their own, direct needs? It's no comparison: http://www.redhat.com/promo/vendor/