From jvonau at shaw.ca Sat Mar 1 00:47:16 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Fri, 29 Feb 2008 18:47:16 -0600 Subject: [Fedora-livecd-list] 3 commits - config/livecd-fedora-8-base-desktop.ks imgcreate/live.py tools/mayflower In-Reply-To: <20080229112311.GA3002@amd.home.annexia.org> References: <200802271839.m1RIdjxF021866@hosted1.fedoraproject.org> <20080229112311.GA3002@amd.home.annexia.org> Message-ID: <47C8A794.3060207@shaw.ca> Richard W.M. Jones wrote: > On Wed, Feb 27, 2008 at 11:39:45AM -0700, Jeremy Katz wrote: >> tools/mayflower | 805 --------------------------------- >> Remove mayflower > > I haven't been following this, but what replaces mayflower? > > Please note that the following addition to mayflower was necessary for > PXE booting to work, so I want to know if this change needs to go > upstream somewhere. > > # don't wait for "mtd0" as no device file will appear > # and don't worry about this if $thingtomount is a regular file > if [ "$root" != "mtd0" -a ! -f "$thingtomount" ] ; then > > Rich. > mayflower has move to mkinitrd, living as /usr/libexec/mkliveinitrd. Jerry From katzj at redhat.com Sat Mar 1 02:23:50 2008 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 29 Feb 2008 21:23:50 -0500 Subject: [Fedora-livecd-list] [PATCH] Create a minimal /dev instead of bind mounting the host's /dev In-Reply-To: <47C70489.2000105@redhat.com> References: <47C70489.2000105@redhat.com> Message-ID: <1204338230.10483.19.camel@aglarond.local> On Thu, 2008-02-28 at 13:59 -0500, Warren Togami wrote: > http://fedorapeople.org/~wtogami/temp/0001-Create-a-minimal-dev-instead-of-bind-mounting-the-h.patch > > [PATCH] Create a minimal /dev instead of bind mounting the host's /dev > > This can help to avoid possible issues where the system mistakenly > configures itself to things in the host system's /dev. This also > removes the possibility of accidentally deleting the host's /dev. > > I have only tested it with chroot-creator, so you may want to test it in > the Live case before committing it. Tested on the live case and it looks okay. Applied, thanks Jeremy From gary at mlbassoc.com Sat Mar 1 09:06:21 2008 From: gary at mlbassoc.com (Gary Thomas) Date: Sat, 01 Mar 2008 02:06:21 -0700 Subject: [Fedora-livecd-list] Kickstart ignored? In-Reply-To: <47C84736.9030000@mlbassoc.com> References: <47C7D505.6040304@mlbassoc.com> <47C81AB1.10607@shaw.ca> <47C81FC5.9040302@mlbassoc.com> <47C843BE.1030308@shaw.ca> <47C84736.9030000@mlbassoc.com> Message-ID: <47C91C8D.5070408@mlbassoc.com> Gary Thomas wrote: > Jerry Vonau wrote: >> Gary Thomas wrote: >>> Jerry Vonau wrote: >>>> Gary Thomas wrote: >>>>> Running a system built with anaconda-11.4.0.40 (and friends), the >>>>> kickstart commands seem to be ignored when run from liveinst. >>>>> # liveinst --text ks=/tmp/ks.cfg >>>>> or >>>>> # liveinst --text ksdev=eth0 ks=nfs:192.168.1.101:/tmp/ks.cfg >>>>> >>>>> Am I doing something wrong? >>>>> >>>> >>>> Jeremy said that the ks file needs to be local at this point, stage1 >>>> grabs the ks file, but there is no stage1 with a cd install. >>>> >>>>> I really want to get this working so I can do [scripted] installs >>>>> from a livecd image. >>>>> >>>>> Thanks >>>>> >>>> >>>> Is the network up at this point? If not..... >>>> >>>> A work-around would be to script the grabbing of the ks file >>>> yourself and copying it /tmp. Use wget for a http/ftp source or >>>> maybe mount the nfs server and copy over the ks file. >>>> >>>> Then use something like this: >>>> liveinst --text ks=/tmp/ks.cfg >>> >>> Precisely what I already did (see the first example above) >> >> Just so I'm clear here, you burned the iso with this file in /tmp? > > No, I downloaded the kickstart file into /tmp after the livecd was > booted, but before I called liveinst. > >> Looking through /usr/sbin/anaconda I see: >> op.add_option("--kickstart", dest="ksfile") >> but no --ks= so I don't think anaconda is using the ks file. >> >> Perhaps "liveinst --text --kickstart=/tmp/ks.cfg" would do the trick >> here. That is setup in the livecd ks file, which would need to be edited: >> >> if strstr "\`cat /proc/cmdline\`" liveinst ; then >> /usr/sbin/liveinst --kickstart=\$ks >> fi >> >> if strstr "\`cat /proc/cmdline\`" textinst ; then >> /usr/sbin/liveinst --text --kickstart=\$ks >> fi >> >> Hoping I'm on the right track, > > Thanks - I'll look more closely at how these options are passed around. I tried every option I could find, even trying to run anaconda in a more "normal" mode, but it always ignores my kickstart file. I even put an incorrect file name and indeed nothing changed, hence my assertion that the kickstart file (ks=XXX) is ignored completely. What am I missing? How can I get this to work? Thanks From lmacken at fedoraproject.org Sat Mar 1 15:31:47 2008 From: lmacken at fedoraproject.org (Luke Macken) Date: Sat, 1 Mar 2008 15:31:47 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-desktop.ks Message-ID: <200803011531.m21FVlxl015364@hosted1.fedoraproject.org> config/livecd-fedora-desktop.ks | 1 - 1 file changed, 1 deletion(-) New commits: commit 062761d297c50764189242616b0af962f748b7a0 Author: Luke Macken Date: Sat Mar 1 10:30:49 2008 -0500 Drop gnome-blog from our livecd-fedora-desktop.ks, as it is now orphaned. diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index 8726462..51219f4 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -12,7 +12,6 @@ NetworkManager-openvpn # we don't include @office so that we don't get OOo. but some nice bits abiword gnumeric -gnome-blog #planner #inkscape From jvonau at shaw.ca Sat Mar 1 17:14:35 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Sat, 01 Mar 2008 11:14:35 -0600 Subject: [Fedora-livecd-list] Kickstart ignored? In-Reply-To: <47C91C8D.5070408@mlbassoc.com> References: <47C7D505.6040304@mlbassoc.com> <47C81AB1.10607@shaw.ca> <47C81FC5.9040302@mlbassoc.com> <47C843BE.1030308@shaw.ca> <47C84736.9030000@mlbassoc.com> <47C91C8D.5070408@mlbassoc.com> Message-ID: <47C98EFB.4040101@shaw.ca> Gary Thomas wrote: > Gary Thomas wrote: >> Jerry Vonau wrote: >>> Gary Thomas wrote: >>>> Jerry Vonau wrote: >>>>> Gary Thomas wrote: >>>>>> Running a system built with anaconda-11.4.0.40 (and friends), the >>>>>> kickstart commands seem to be ignored when run from liveinst. >>>>>> # liveinst --text ks=/tmp/ks.cfg >>>>>> or >>>>>> # liveinst --text ksdev=eth0 ks=nfs:192.168.1.101:/tmp/ks.cfg >>>>>> >>>>>> Am I doing something wrong? >>>>>> >>>>> >>>>> Jeremy said that the ks file needs to be local at this point, >>>>> stage1 grabs the ks file, but there is no stage1 with a cd install. >>>>> >>>>>> I really want to get this working so I can do [scripted] installs >>>>>> from a livecd image. >>>>>> >>>>>> Thanks >>>>>> >>>>> >>>>> Is the network up at this point? If not..... >>>>> >>>>> A work-around would be to script the grabbing of the ks file >>>>> yourself and copying it /tmp. Use wget for a http/ftp source or >>>>> maybe mount the nfs server and copy over the ks file. >>>>> >>>>> Then use something like this: >>>>> liveinst --text ks=/tmp/ks.cfg >>>> >>>> Precisely what I already did (see the first example above) >>> >>> Just so I'm clear here, you burned the iso with this file in /tmp? >> >> No, I downloaded the kickstart file into /tmp after the livecd was >> booted, but before I called liveinst. >> >>> Looking through /usr/sbin/anaconda I see: >>> op.add_option("--kickstart", dest="ksfile") >>> but no --ks= so I don't think anaconda is using the ks file. >>> >>> Perhaps "liveinst --text --kickstart=/tmp/ks.cfg" would do the trick >>> here. That is setup in the livecd ks file, which would need to be >>> edited: >>> >>> if strstr "\`cat /proc/cmdline\`" liveinst ; then >>> /usr/sbin/liveinst --kickstart=\$ks >>> fi >>> >>> if strstr "\`cat /proc/cmdline\`" textinst ; then >>> /usr/sbin/liveinst --text --kickstart=\$ks >>> fi >>> >>> Hoping I'm on the right track, >> >> Thanks - I'll look more closely at how these options are passed around. > > I tried every option I could find, even trying to run anaconda in a more > "normal" mode, but it always ignores my kickstart file. I even put an > incorrect file name and indeed nothing changed, hence my > assertion that the kickstart file (ks=XXX) is ignored completely. > > What am I missing? How can I get this to work? > > Thanks Mind if I have a look at your ks file that you used for the livecd creation? Well, liveinst takes the place of stage1, and is just a wrapper, have a look: # eventually, we might want to allow a more "normal" install path ANACONDA="/usr/sbin/anaconda --method=livecd://$LIVE_BLOCK --lang $LANG" if [ ! -e /selinux/load ]; then ANACONDA="$ANACONDA --noselinux" fi if [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage \ --exclusive --run "$ANACONDA $*" else $ANACONDA $* fi As a test let the livecd boot, (don't pass liveinst at the boot prompt), try editing the liveinst file, adding in your kickstart stuff: ANACONDA="/usr/sbin/anaconda --method=livecd://$LIVE_BLOCK \ --lang $LANG --kickstart=/tmp/ks.cfg" save and then call liveinst. Just trying to narrow down where the ks variable is not being passed. Jerry From jvonau at shaw.ca Sat Mar 1 22:23:11 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Sat, 01 Mar 2008 16:23:11 -0600 Subject: [Fedora-livecd-list] livecd-creator failing Message-ID: <47C9D74F.6070703@shaw.ca> livecd-tools-014-1.fc9.i386, running on a rawhide box: Building an initramfs at /boot/livecd-initramfs-2.6.25-0.80.rc3.git2.fc9.img for kernel 2.6.25-0.80.rc3.git2.fc9 Done; initramfs is 4.3M. e2fsck 1.40.6 (09-Feb-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information raw586: 52489/262144 files (0.3% non-contiguous), 263853/1048576 blocks e2fsck 1.40.6 (09-Feb-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information raw586: 52489/65536 files (0.4% non-contiguous), 256890/256890 blocks Traceback (most recent call last): File "/usr/bin/livecd-creator", line 132, in sys.exit(main()) File "/usr/bin/livecd-creator", line 122, in main creator.package() File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 655, in package self._stage_final_image() File "/usr/lib/python2.5/site-packages/imgcreate/live.py", line 295, in _stage_final_image self._image, minimal_size) File "/usr/lib/python2.5/site-packages/imgcreate/fs.py", line 393, in create_image_minimizer cowloop.create() File "/usr/lib/python2.5/site-packages/imgcreate/fs.py", line 193, in create self.expand(create = True) File "/usr/lib/python2.5/site-packages/imgcreate/fs.py", line 179, in expand fd = os.open(self.lofile, flags) OSError: [Errno 20] Not a directory: '/var/tmp/imgcreate--4oXEz/iso-_u6r-7/LiveOS/osmin' Any ideas? Jerry From jvonau at shaw.ca Sun Mar 2 04:52:46 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Sat, 01 Mar 2008 22:52:46 -0600 Subject: [Fedora-livecd-list] livecd-creator failing In-Reply-To: <47C9D74F.6070703@shaw.ca> References: <47C9D74F.6070703@shaw.ca> Message-ID: <47CA329E.1040905@shaw.ca> Jerry Vonau wrote: > livecd-tools-014-1.fc9.i386, running on a rawhide box: > Never mind, I reused my old f8 ks file and was missing the fix for BZ431287(one F*$%ing line). Back to building.... Jerry From svahl at fedoraproject.org Mon Mar 3 23:49:40 2008 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Mon, 3 Mar 2008 23:49:40 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200803032349.m23Nne4J011852@hosted1.fedoraproject.org> config/livecd-fedora-kde.ks | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) New commits: commit 7b0dc4c1017bbdcc42c7e240845479678fc890ec Author: Sebastian Vahl Date: Tue Mar 4 00:48:03 2008 +0100 re-add twinkle and amarok to package list diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index c4de2b2..2105b1f 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -6,11 +6,12 @@ # unwanted packages from @kde-desktop # don't include these for now to fit on a cd # digikam (~11 megs), ktorrent (~3 megs), twinkle (~10 megs) --amarok +#-amarok -digikam -kdeedu -scribus #-ktorrent +#-twinkle # KDE 3 koffice-kword @@ -19,7 +20,7 @@ koffice-kpresenter koffice-filters k3b filelight -twinkle +#twinkle # some extras fuse From thiago.braga.santana at gmail.com Tue Mar 4 13:54:53 2008 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Tue, 4 Mar 2008 10:54:53 -0300 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote Message-ID: Hello to everyone on the list. I need that the program "livecd-iso-to-disk" is performed remotely, it is possible? Explanation: I created an image file of the type .iso with the program livecd-creator in my PC, now I have a need for this file .iso be applied in a usbdisk that is connected to another PC. Anyone can make a suggestion on how I can do this? Thank you for listening. Thiago Santana -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at fedoraproject.org Tue Mar 4 14:19:49 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 4 Mar 2008 14:19:49 GMT Subject: [Fedora-livecd-list] 2 commits - config/livecd-fedora-desktop.ks imgcreate/creator.py Message-ID: <200803041419.m24EJnOh018871@hosted1.fedoraproject.org> config/livecd-fedora-desktop.ks | 7 ++++++- imgcreate/creator.py | 21 +++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) New commits: commit c294c085b1490bd7b797d8e70d3d0596e13e44bf Author: Jeremy Katz Date: Tue Mar 4 09:12:48 2008 -0500 Fix up for changes in the gdm config file so that we get autologin again diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index 51219f4..a0d24bc 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -146,7 +146,12 @@ cat >> /etc/rc.d/init.d/fedora-live << EOF # disable screensaver locking gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null # set up timed auto-login for after 60 seconds -sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf +cat >> /etc/gdm/custom.conf << FOE +[daemon] +TimedLoginEnable=true +TimedLogin=fedora +TimedLoginDelay=60 +FOE if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face chown fedora:fedora /home/fedora/.face commit e6138051b542aecef423c32f812bc44580bda932 Author: Warren Togami Date: Thu Feb 28 12:17:22 2008 -0500 Create a minimal /dev instead of bind mounting the host's /dev diff --git a/imgcreate/creator.py b/imgcreate/creator.py index 11fce2d..1028e32 100644 --- a/imgcreate/creator.py +++ b/imgcreate/creator.py @@ -427,14 +427,14 @@ class ImageCreator(object): self._mount_instroot(base_on) - for d in ("/etc", "/boot", "/var/log", "/var/cache/yum"): + for d in ("/dev/pts", "/etc", "/boot", "/var/log", "/var/cache/yum"): makedirs(self._instroot + d) cachesrc = cachedir or (self.__builddir + "/yum-cache") makedirs(cachesrc) # bind mount system directories into _instroot - for (f, dest) in [("/sys", None), ("/proc", None), ("/dev", None), + for (f, dest) in [("/sys", None), ("/proc", None), ("/dev/pts", None), (cachesrc, "/var/cache/yum")]: self.__bindmounts.append(BindChrootMount(f, self._instroot, dest)) @@ -443,6 +443,23 @@ class ImageCreator(object): if kickstart.selinux_enabled(self.ks): self.__bindmounts.append(BindChrootMount("/selinux", self._instroot, None)) + # Create minimum /dev + origumask = os.umask(0000) + devices = [('null', 1, 3, 0666), + ('urandom',1, 9, 0666), + ('random', 1, 8, 0666), + ('full', 1, 7, 0666), + ('ptmx', 5, 2, 0666), + ('tty', 5, 0, 0666), + ('zero', 1, 5, 0666)] + for (node, major, minor, perm) in devices: + os.mknod(self._instroot + "/dev/" + node, perm | stat.S_IFCHR, os.makedev(major,minor)) + os.symlink('/proc/self/fd', self._instroot + "/dev/fd") + os.symlink('/proc/self/fd/0', self._instroot + "/dev/stdin") + os.symlink('/proc/self/fd/1', self._instroot + "/dev/stdout") + os.symlink('/proc/self/fd/2', self._instroot + "/dev/stderr") + os.umask(origumask) + self._do_bindmounts() os.symlink("../proc/mounts", self._instroot + "/etc/mtab") From tim.wood at datawranglers.com Tue Mar 4 16:07:49 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Tue, 04 Mar 2008 09:07:49 -0700 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: References: Message-ID: <47CD73D5.9030103@datawranglers.com> Share the directory with the iso. Then mount the share on the machine with usbdisk. I tend to use SAMBA but NFS or any other sharing acronym you like should work fine. Tim Thiago Braga Santana wrote: > Hello to everyone on the list. > > I need that the program "livecd-iso-to-disk" is performed remotely, it > is possible? > > Explanation: I created an image file of the type .iso with the program > livecd-creator in my PC, now I have a need for this file .iso be > applied in a usbdisk that is connected to another PC. > > Anyone can make a suggestion on how I can do this? > > Thank you for listening. > > Thiago Santana > ------------------------------------------------------------------------ > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiago.braga.santana at gmail.com Tue Mar 4 18:31:46 2008 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Tue, 4 Mar 2008 15:31:46 -0300 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: <47CD73D5.9030103@datawranglers.com> References: <47CD73D5.9030103@datawranglers.com> Message-ID: Obrigado pela resposta r?pida Tim. Eu compreendo perfeitamente a sua informa??o, mas como devo proceder, se estou no computador onde o usbdisk est? ligado? (Detalhe: o computador n?o tiver Linux instalado) 2008/3/4, Tim Wood : > > Share the directory with the iso. Then mount the share on the machine > with usbdisk. I tend to use SAMBA but NFS or any other sharing acronym you > like should work fine. > > Tim > > > Thiago Braga Santana wrote: > > Hello to everyone on the list. > > I need that the program "livecd-iso-to-disk" is performed remotely, it is > possible? > > Explanation: I created an image file of the type .iso with the program > livecd-creator in my PC, now I have a need for this file .iso be applied in > a usbdisk that is connected to another PC. > > Anyone can make a suggestion on how I can do this? > > Thank you for listening. > > Thiago Santana > > ------------------------------ > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > -- > _________________________________ > Tim Wood, CLP, RHCT > 719.338.7484 (tel) > > The Data Wranglers > Web, Database & more since since 1994 > www.datawranglers.com > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From olivares14031 at yahoo.com Tue Mar 4 18:43:17 2008 From: olivares14031 at yahoo.com (Antonio Olivares) Date: Tue, 4 Mar 2008 10:43:17 -0800 (PST) Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: Message-ID: <53058.20727.qm@web52612.mail.re2.yahoo.com> --- Thiago Braga Santana wrote: > Obrigado pela resposta r?pida Tim. > > Eu compreendo perfeitamente a sua informa??o, mas > como devo proceder, se > estou no computador onde o usbdisk est? ligado? > (Detalhe: o computador n?o tiver Linux instalado) > Thiago, I'll try to translate for you, if I can, you say thank you Tim for your quick response. I understand your response perfectly with your information, but how should I proceed because I am on computer without the usbdisk. The big Detail: The other computer does not have Linux installed. Why not run a LiveCD on that computer and do what Tim suggests and share the partition where the iso is located? Regards, Antonio > > 2008/3/4, Tim Wood : > > > > Share the directory with the iso. Then mount the > share on the machine > > with usbdisk. I tend to use SAMBA but NFS or any > other sharing acronym you > > like should work fine. > > > > Tim > > > > > > Thiago Braga Santana wrote: > > > > Hello to everyone on the list. > > > > I need that the program "livecd-iso-to-disk" is > performed remotely, it is > > possible? > > > > Explanation: I created an image file of the type > .iso with the program > > livecd-creator in my PC, now I have a need for > this file .iso be applied in > > a usbdisk that is connected to another PC. > > > > Anyone can make a suggestion on how I can do this? > > > > Thank you for listening. > > > > Thiago Santana > > > > ------------------------------ > > > > -- > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > > > > -- > > _________________________________ > > Tim Wood, CLP, RHCT > > 719.338.7484 (tel) > > > > The Data Wranglers > > Web, Database & more since since 1994 > > www.datawranglers.com > > > > > > -- > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From thiago.braga.santana at gmail.com Tue Mar 4 18:56:22 2008 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Tue, 4 Mar 2008 15:56:22 -0300 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: <53058.20727.qm@web52612.mail.re2.yahoo.com> References: <53058.20727.qm@web52612.mail.re2.yahoo.com> Message-ID: Thanks for helping Antonio. I had forgotten to translate before sending the post. 2008/3/4, Antonio Olivares : > > > --- Thiago Braga Santana > > wrote: > > > Obrigado pela resposta r?pida Tim. > > > > Eu compreendo perfeitamente a sua informa??o, mas > > como devo proceder, se > > estou no computador onde o usbdisk est? ligado? > > (Detalhe: o computador n?o tiver Linux instalado) > > > > Thiago, > > I'll try to translate for you, if I can, > > you say thank you Tim for your quick response. > > I understand your response perfectly with your > information, but how should I proceed because I am on > computer without the usbdisk. > > The big Detail: > The other computer does not have Linux installed. > > Why not run a LiveCD on that computer and do what Tim > suggests and share the partition where the iso is > located? > > Regards, > > Antonio > > > > > 2008/3/4, Tim Wood : > > > > > > Share the directory with the iso. Then mount the > > share on the machine > > > with usbdisk. I tend to use SAMBA but NFS or any > > other sharing acronym you > > > like should work fine. > > > > > > Tim > > > > > > > > > Thiago Braga Santana wrote: > > > > > > Hello to everyone on the list. > > > > > > I need that the program "livecd-iso-to-disk" is > > performed remotely, it is > > > possible? > > > > > > Explanation: I created an image file of the type > > .iso with the program > > > livecd-creator in my PC, now I have a need for > > this file .iso be applied in > > > a usbdisk that is connected to another PC. > > > > > > Anyone can make a suggestion on how I can do this? > > > > > > Thank you for listening. > > > > > > Thiago Santana > > > > > > ------------------------------ > > > > > > -- > > > Fedora-livecd-list mailing list > > > Fedora-livecd-list at redhat.com > > > > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > > > > > > > > -- > > > _________________________________ > > > Tim Wood, CLP, RHCT > > > 719.338.7484 (tel) > > > > > > The Data Wranglers > > > Web, Database & more since since 1994 > > > www.datawranglers.com > > > > > > > > > -- > > > Fedora-livecd-list mailing list > > > Fedora-livecd-list at redhat.com > > > > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > > > > > -- > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.wood at datawranglers.com Tue Mar 4 18:59:59 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Tue, 04 Mar 2008 11:59:59 -0700 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: References: <47CD73D5.9030103@datawranglers.com> Message-ID: <47CD9C2F.2030301@datawranglers.com> Thiago Braga Santana wrote: > Obrigado pela resposta r?pida Tim. Portuguese? Yo hablo un pequito espanol... your welcome > Eu compreendo perfeitamente a sua informa??o, mas como devo proceder, > se estou no computador onde o usbdisk est? ligado? > (Detalhe: o computador n?o tiver Linux instalado) You understood the information... the Portuguese isn't close enough to the Spanish for me to be sure what your question is. But, I'll try and help if I can. Tim > > 2008/3/4, Tim Wood >: > > Share the directory with the iso. Then mount the share on the > machine with usbdisk. I tend to use SAMBA but NFS or any other > sharing acronym you like should work fine. > > Tim > > > Thiago Braga Santana wrote: >> Hello to everyone on the list. >> >> I need that the program "livecd-iso-to-disk" is performed >> remotely, it is possible? >> >> Explanation: I created an image file of the type .iso with the >> program livecd-creator in my PC, now I have a need for this file >> .iso be applied in a usbdisk that is connected to another PC. >> >> Anyone can make a suggestion on how I can do this? >> >> Thank you for listening. >> >> Thiago Santana >> ------------------------------------------------------------------------ >> >> -- >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> > > > -- > _________________________________ > Tim Wood, CLP, RHCT > 719.338.7484 (tel) > > The Data Wranglers > Web, Database & more since since 1994 > www.datawranglers.com > > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > ------------------------------------------------------------------------ > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.wood at datawranglers.com Tue Mar 4 19:03:31 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Tue, 04 Mar 2008 12:03:31 -0700 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: <53058.20727.qm@web52612.mail.re2.yahoo.com> References: <53058.20727.qm@web52612.mail.re2.yahoo.com> Message-ID: <47CD9D03.60806@datawranglers.com> Thanks, Thiago. I should've read your response first. I'm slightly more multi-lingual than the average American ... but Portuguese isn't on the list (sigh). Anyway... I agree with your response. The situation he's in is part of the rational for my LiveCD Workstation LiveCD. Tim Antonio Olivares wrote: > --- Thiago Braga Santana > wrote: > > >> Obrigado pela resposta r?pida Tim. >> >> Eu compreendo perfeitamente a sua informa??o, mas >> como devo proceder, se >> estou no computador onde o usbdisk est? ligado? >> (Detalhe: o computador n?o tiver Linux instalado) >> >> > Thiago, > > I'll try to translate for you, if I can, > > you say thank you Tim for your quick response. > > I understand your response perfectly with your > information, but how should I proceed because I am on > computer without the usbdisk. > > The big Detail: > The other computer does not have Linux installed. > > Why not run a LiveCD on that computer and do what Tim > suggests and share the partition where the iso is > located? > > Regards, > > Antonio > >> 2008/3/4, Tim Wood : >> >>> Share the directory with the iso. Then mount the >>> >> share on the machine >> >>> with usbdisk. I tend to use SAMBA but NFS or any >>> >> other sharing acronym you >> >>> like should work fine. >>> >>> Tim >>> >>> >>> Thiago Braga Santana wrote: >>> >>> Hello to everyone on the list. >>> >>> I need that the program "livecd-iso-to-disk" is >>> >> performed remotely, it is >> >>> possible? >>> >>> Explanation: I created an image file of the type >>> >> .iso with the program >> >>> livecd-creator in my PC, now I have a need for >>> >> this file .iso be applied in >> >>> a usbdisk that is connected to another PC. >>> >>> Anyone can make a suggestion on how I can do this? >>> >>> Thank you for listening. >>> >>> Thiago Santana >>> >>> ------------------------------ >>> >>> -- >>> Fedora-livecd-list mailing list >>> Fedora-livecd-list at redhat.com >>> >>> > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > >>> >>> -- >>> _________________________________ >>> Tim Wood, CLP, RHCT >>> 719.338.7484 (tel) >>> >>> The Data Wranglers >>> Web, Database & more since since 1994 >>> www.datawranglers.com >>> >>> >>> -- >>> Fedora-livecd-list mailing list >>> Fedora-livecd-list at redhat.com >>> >>> > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > >>> -- >>> >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> >> > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiago.braga.santana at gmail.com Tue Mar 4 20:17:32 2008 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Tue, 4 Mar 2008 17:17:32 -0300 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: <47CD9D03.60806@datawranglers.com> References: <53058.20727.qm@web52612.mail.re2.yahoo.com> <47CD9D03.60806@datawranglers.com> Message-ID: There is a way to solve this my case? I am not going to use the program livecd-iso-to-disk remotely, if I is in a computer without Linux, but with the usbdisk connected? 2008/3/4, Tim Wood : > > Thanks, Thiago. I should've read your response first. I'm slightly more > multi-lingual than the average American ... but Portuguese isn't on the list > (sigh). > > Anyway... I agree with your response. The situation he's in is part of > the rational for my LiveCD Workstation LiveCD. > > Tim > > > > Antonio Olivares wrote: > > --- Thiago Braga Santana > wrote: > > Obrigado pela resposta r?pida Tim. > > Eu compreendo perfeitamente a sua informa??o, mas > como devo proceder, se > estou no computador onde o usbdisk est? ligado? > (Detalhe: o computador n?o tiver Linux instalado) > > Thiago, > > I'll try to translate for you, if I can, > > you say thank you Tim for your quick response. > > I understand your response perfectly with your > information, but how should I proceed because I am on > computer without the usbdisk. > > The big Detail: > The other computer does not have Linux installed. > > Why not run a LiveCD on that computer and do what Tim > suggests and share the partition where the iso is > located? > > Regards, > > Antonio > > 2008/3/4, Tim Wood : > > Share the directory with the iso. Then mount the > > share on the machine > > with usbdisk. I tend to use SAMBA but NFS or any > > other sharing acronym you > > like should work fine. > > Tim > > > Thiago Braga Santana wrote: > > Hello to everyone on the list. > > I need that the program "livecd-iso-to-disk" is > > performed remotely, it is > > possible? > > Explanation: I created an image file of the type > > .iso with the program > > livecd-creator in my PC, now I have a need for > > this file .iso be applied in > > a usbdisk that is connected to another PC. > > Anyone can make a suggestion on how I can do this? > > Thank you for listening. > > Thiago Santana > > ------------------------------ > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -- > _________________________________ > Tim Wood, CLP, RHCT > 719.338.7484 (tel) > > The Data Wranglers > Web, Database & more since since 1994 > www.datawranglers.com > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -- > > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > -- > _________________________________ > Tim Wood, CLP, RHCT > 719.338.7484 (tel) > > The Data Wranglers > Web, Database & more since since 1994 > www.datawranglers.com > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.wood at datawranglers.com Tue Mar 4 20:55:13 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Tue, 04 Mar 2008 13:55:13 -0700 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: References: <53058.20727.qm@web52612.mail.re2.yahoo.com> <47CD9D03.60806@datawranglers.com> Message-ID: <47CDB731.8020809@datawranglers.com> Don't boot the remote computer with a LiveCD. Boot (the computer with the usbdisk) from a LiveCD. If you don't have a LiveCD with the livecd-to-disk script, you can put the script on another machine. Then copy the script to the computer with the usbdisk. Tim Thiago Braga Santana wrote: > There is a way to solve this my case? I am not going to use the > program livecd-iso-to-disk remotely, if I is in a computer without > Linux, but with the usbdisk connected? > > > 2008/3/4, Tim Wood >: > > Thanks, Thiago. I should've read your response first. I'm > slightly more multi-lingual than the average American ... but > Portuguese isn't on the list (sigh). > > Anyway... I agree with your response. The situation he's in is > part of the rational for my LiveCD Workstation LiveCD. > > Tim > > > > > Antonio Olivares wrote: >> --- Thiago Braga Santana >> wrote: >> >> >>> Obrigado pela resposta r?pida Tim. >>> >>> Eu compreendo perfeitamente a sua informa??o, mas >>> como devo proceder, se >>> estou no computador onde o usbdisk est? ligado? >>> (Detalhe: o computador n?o tiver Linux instalado) >>> >>> >>> >> Thiago, >> >> I'll try to translate for you, if I can, >> >> you say thank you Tim for your quick response. >> >> I understand your response perfectly with your >> information, but how should I proceed because I am on >> >> computer without the usbdisk. >> >> The big Detail: >> The other computer does not have Linux installed. >> >> Why not run a LiveCD on that computer and do what Tim >> suggests and share the partition where the iso is >> >> located? >> >> Regards, >> >> Antonio >> >>> 2008/3/4, Tim Wood : >>> >>>> Share the directory with the iso. Then mount the >>>> >>> share on the machine >>> >>>> with usbdisk. I tend to use SAMBA but NFS or any >>>> >>> other sharing acronym you >>> >>>> like should work fine. >>>> >>>> Tim >>>> >>>> >>>> Thiago Braga Santana wrote: >>>> >>>> Hello to everyone on the list. >>>> >>>> I need that the program "livecd-iso-to-disk" is >>>> >>> performed remotely, it is >>> >>>> possible? >>>> >>>> Explanation: I created an image file of the type >>>> >>> .iso with the program >>> >>>> livecd-creator in my PC, now I have a need for >>>> >>> this file .iso be applied in >>> >>>> a usbdisk that is connected to another PC. >>>> >>>> Anyone can make a suggestion on how I can do this? >>>> >>>> Thank you for listening. >>>> >>>> Thiago Santana >>>> >>>> ------------------------------ >>>> >>>> -- >>>> Fedora-livecd-list mailing list >>>> >>>> Fedora-livecd-list at redhat.com >>>> >>>> >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> >>>> -- >>>> _________________________________ >>>> Tim Wood, CLP, RHCT >>>> 719.338.7484 (tel) >>>> >>>> The Data Wranglers >>>> Web, Database & more since since 1994 >>>> www.datawranglers.com >>>> >>>> >>>> >>>> -- >>>> Fedora-livecd-list mailing list >>>> Fedora-livecd-list at redhat.com >>>> >>>> >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> >>>> -- >>>> >>> Fedora-livecd-list mailing list >>> Fedora-livecd-list at redhat.com >>> >>> >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> >> ____________________________________________________________________________________ >> Looking for last minute shopping deals? >> Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping >> >> >> -- >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> >> >> > > > -- > _________________________________ > Tim Wood, CLP, RHCT > 719.338.7484 (tel) > > The Data Wranglers > Web, Database & more since since 1994 > > www.datawranglers.com > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > ------------------------------------------------------------------------ > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at fedoraproject.org Wed Mar 5 01:23:29 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 5 Mar 2008 01:23:29 GMT Subject: [Fedora-livecd-list] imgcreate/fs.py Message-ID: <200803050123.m251NTqh000439@hosted1.fedoraproject.org> imgcreate/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit e4d5d2b690db07b3656ca85a3262f135c559c3d9 Author: Jeremy Katz Date: Tue Mar 4 09:21:30 2008 -0500 Revert "Temporarily use 128 byte inodes to avoid hitting #434893" This reverts commit 04298ddc7bb8f0aef55a54b6c2367a6387c8100a. Note that if you have a version of e2fsprogs >= 1.40.4-7 and < 1.40.7-2, you will get missing xattrs from files during the resize operation. Thus, an upgrade is recommended :) diff --git a/imgcreate/fs.py b/imgcreate/fs.py index 2dafd4b..9ca3a3e 100644 --- a/imgcreate/fs.py +++ b/imgcreate/fs.py @@ -201,7 +201,7 @@ class SparseExtLoopbackMount(SparseLoopbackMount): def __format_filesystem(self): rc = subprocess.call(["/sbin/mkfs." + self.fstype, "-F", "-L", self.fslabel, - "-m", "1", "-b", str(self.blocksize), "-I128", + "-m", "1", "-b", str(self.blocksize), self.lofile, str(self.size / self.blocksize)]) if rc != 0: From wtogami at redhat.com Wed Mar 5 02:12:24 2008 From: wtogami at redhat.com (Warren Togami) Date: Tue, 04 Mar 2008 21:12:24 -0500 Subject: [Fedora-livecd-list] [PATCH] remove mayflower from Makefile install Message-ID: <47CE0188.90206@redhat.com> [PATCH] remove mayflower from Makefile install There is mayflower is no longer in livecd-tools. -------------- next part -------------- A non-text attachment was scrubbed... Name: livecd-makefile.patch Type: text/x-patch Size: 723 bytes Desc: not available URL: From katzj at fedoraproject.org Wed Mar 5 02:31:00 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 5 Mar 2008 02:31:00 GMT Subject: [Fedora-livecd-list] Makefile Message-ID: <200803050231.m252V0V0022732@hosted1.fedoraproject.org> Makefile | 1 - 1 file changed, 1 deletion(-) New commits: commit c41fbb5b2f5bfe34e1d1ae07bfed1376849be664 Author: Warren Togami Date: Tue Mar 4 21:12:24 2008 -0500 [PATCH] remove mayflower from Makefile install mayflower is no longer in livecd-tools. diff --git a/Makefile b/Makefile index 050fe88..6efe58c 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ install: $(INSTALL_PROGRAM) -D tools/image-creator $(DESTDIR)/usr/bin/image-creator $(INSTALL_PROGRAM) -D tools/livecd-iso-to-disk.sh $(DESTDIR)/usr/bin/livecd-iso-to-disk $(INSTALL_PROGRAM) -D tools/livecd-iso-to-pxeboot.sh $(DESTDIR)/usr/bin/livecd-iso-to-pxeboot - $(INSTALL_PROGRAM) -D tools/mayflower $(DESTDIR)/usr/lib/livecd-creator/mayflower $(INSTALL_DATA) -D AUTHORS $(DESTDIR)/usr/share/doc/livecd-tools-$(VERSION)/AUTHORS $(INSTALL_DATA) -D COPYING $(DESTDIR)/usr/share/doc/livecd-tools-$(VERSION)/COPYING $(INSTALL_DATA) -D README $(DESTDIR)/usr/share/doc/livecd-tools-$(VERSION)/README From katzj at redhat.com Wed Mar 5 02:47:36 2008 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 04 Mar 2008 21:47:36 -0500 Subject: [Fedora-livecd-list] The long-awaited landing of persistence Message-ID: <1204685256.25345.12.camel@aglarond.local> After long periods of waiting and hoping, etc I'm just about to do a push of some changes that at least give us a good base to build on for persistent live images. They're very very very heavily based off of Douglas McClendon's patches that he posted here a month or two, but I've done basically two things with them: 1) Integrated the findoverlay bits into mkliveinitrd directly and was able to do a little bit of cleanup accordingly 2) Not put in the bits right now to do the snapshot teardown on shutdown The former is pretty non-controversial. The latter, well, we're going to need some testing to know how feasible this really is. I spent quite a while this afternoon trying to cause any form of corruption without the initscripts changes and never succeeded[1]. And realistically, if it's going to cause corruption if we don't shutdown cleanly, then we have problems if someone loses power or removes their USB key or any of a whole bunch of other things occur. I _did_ have the journal get recovered and as long as things were able to get to the journal, it was good to go. But more testing is going to be needed. So if anyone here wants to try building some images and putting them on USB drives and testing them out, that'd be greatly appreciated. And then I'm going to issue a larger call for testers with the Fedora 9 beta. If we find that we need to integrate some of the shutdown bits, we'll make it happen. But right now, I'm feeling pretty confident that we won't The quick steps of how to take advantage of the functionality: 1) Build a live image using the newer mkinitrd (6.0.32) in your repos 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 (or 1024 or whatever based on the capacity of your USB stick minus the size of the ISO) 3) Boot the USB drive You can also (although it's more complicated) use a USB stick with a CD 1) Build live image as in 1) above 2) Create /LiveOS/overlay-$v- on your USB stick with size how ever big you want (can be a sparse file). $v is the label of the _iso_ (not of the USB stick) 3) Find the label or UUID of the partition on the USB stick you're using. Write it down. 4) When you boot the CD, have the USB stick plugged in and add to the kernel command line overlay=$dev where $dev is what you found in step 3. If it's a label, do LABEL=foo; similarly uuid ==> UUID=foo. Big big big thanks and kudos to dmc for doing all of the legwork here and letting me off the hook for so long on actually getting it integrated. But once I finally got around to having a full afternoon to spend on it, it was in great shape. Jeremy From katzj at fedoraproject.org Wed Mar 5 02:51:11 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 5 Mar 2008 02:51:11 GMT Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <200803050251.m252pBRI021240@hosted1.fedoraproject.org> tools/livecd-iso-to-disk.sh | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) New commits: commit 9ec836f0f0f1c5848c3f9625d9d1e63b940cb792 Author: Jeremy Katz Date: Tue Mar 4 21:33:11 2008 -0500 Add support to set up persistent overlay Add support for persistent overlay. Patch is from Douglas McClendon with style tweaks from me diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index b62792e..00465e3 100644 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -2,6 +2,8 @@ # Convert a live CD iso so that it's bootable off of a USB stick # Copyright 2007 Red Hat, Inc. # Jeremy Katz +# +# overlay/persistence enhancements by Douglas McClendon # # 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 @@ -20,7 +22,7 @@ export PATH=/sbin:/usr/sbin:$PATH usage() { - echo "$0 [--reset-mbr] [--noverify] " + echo "$0 [--reset-mbr] [--noverify] [--overlay-size-mb ] " exit 1 } @@ -149,6 +151,10 @@ fi while [ $# -gt 2 ]; do case $1 in + --overlay-size-mb) + overlaysizemb=$2 + shift + ;; --noverify) noverify=1 ;; @@ -229,6 +235,17 @@ echo "Updating boot config file" # adjust label and fstype sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" $USBMNT/$SYSLINUXPATH/isolinux.cfg +if [ -n "$overlaysizemb" ]; then + echo "Initializing persistent overlay file" + OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )" + dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \ + count=1 bs=1M seek=$overlaysizemb + sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" \ + $USBMNT/$SYSLINUXPATH/isolinux.cfg + sed -i -e "s/\ ro\ /\ rw\ /" \ + $USBMNT/$SYSLINUXPATH/isolinux.cfg +fi + echo "Installing boot loader" if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then # syslinux expects the config to be named syslinux.cfg From dmc.fedora at filteredperception.org Wed Mar 5 04:36:44 2008 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Tue, 04 Mar 2008 22:36:44 -0600 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <1204685256.25345.12.camel@aglarond.local> References: <1204685256.25345.12.camel@aglarond.local> Message-ID: <47CE235C.3070807@filteredperception.org> Jeremy Katz wrote: > After long periods of waiting and hoping, etc I'm just about to do a > push of some changes that at least give us a good base to build on for > persistent live images. They're very very very heavily based off of > Douglas McClendon's patches that he posted here a month or two, but I've > done basically two things with them: > 1) Integrated the findoverlay bits into mkliveinitrd directly and was > able to do a little bit of cleanup accordingly No general objections. As I look at it more, I'm sure I'll start submitting some patches for mkinitrd. > 2) Not put in the bits right now to do the snapshot teardown on shutdown No objections. I admit, that I also have not witnessed a failure, since some kernel improvement maybe half a year ago seemed to make it crash-proof. But of course it should do the right thing to shutdown cleanly. But I agree that can be deferred for now. > The former is pretty non-controversial. The latter, well, we're going > to need some testing to know how feasible this really is. I spent quite > a while this afternoon trying to cause any form of corruption without > the initscripts changes and never succeeded[1]. And realistically, if > it's going to cause corruption if we don't shutdown cleanly, then we > have problems if someone loses power or removes their USB key or any of > a whole bunch of other things occur. I _did_ have the journal get > recovered and as long as things were able to get to the journal, it was > good to go. But more testing is going to be needed. So if anyone here > wants to try building some images and putting them on USB drives and > testing them out, that'd be greatly appreciated. And then I'm going to > issue a larger call for testers with the Fedora 9 beta. If we find that > we need to integrate some of the shutdown bits, we'll make it happen. > But right now, I'm feeling pretty confident that we won't > > The quick steps of how to take advantage of the functionality: > 1) Build a live image using the newer mkinitrd (6.0.32) in your repos > 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 > (or 1024 or whatever based on the capacity of your USB stick minus the > size of the ISO) and minus whatever space you want for other stuff on the liveusb. I see plenty of interesting uses of LiveCD/USBs with this feature, and the writable area. I haven't yet looked at what Jeremy actually merged, but the LiveUSB host filesystem (typically vfat) will be accessible under /mnt/overlayfs. I think in the LiveUSB case it is also /mnt/live. > 3) Boot the USB drive > > You can also (although it's more complicated) use a USB stick with a CD > 1) Build live image as in 1) above > 2) Create /LiveOS/overlay-$v- on your USB stick with size how ever big > you want (can be a sparse file). $v is the label of the _iso_ (not of > the USB stick) > 3) Find the label or UUID of the partition on the USB stick you're > using. Write it down. > 4) When you boot the CD, have the USB stick plugged in and add to the > kernel command line > overlay=$dev > where $dev is what you found in step 3. If it's a label, do LABEL=foo; > similarly uuid ==> UUID=foo. > > Big big big thanks and kudos to dmc for doing all of the legwork here > and letting me off the hook for so long on actually getting it > integrated. But once I finally got around to having a full afternoon to > spend on it, it was in great shape. Thanks, and no problem. Of course, now I/someone really need to put together a brief overview/faq page, to especially drill in the mechanism, and set expectations appropriately given the mechanism (i.e. as with ram for the livecd, creating and deleting files is not currently handled as ideally efficient as one would like). But given the appropriate expectations, I expect to see it end up being useful in a lot of situations. And I am sure that in the future the feature will improve over this initial functionality. -dmc From jiesun66 at yahoo.com Wed Mar 5 17:19:38 2008 From: jiesun66 at yahoo.com (jie sun) Date: Wed, 5 Mar 2008 09:19:38 -0800 (PST) Subject: [Fedora-livecd-list] fc7 livecd-creator/liveinst cannot handle yum install in ks file Message-ID: <872502.6993.qm@web31603.mail.mud.yahoo.com> Hi, I have some yum install commands in my kickstart file and when I run livecd-creator --config=my.ks in fc7, I got this temp folder left on my box. /dev/loop0 4128448 139380 3947128 4% /var/tmp/livecd-creator-Sy190t/install_root And after burn the iso into a CD and install it, I got extra two (first two) partitions on the box. rootfs ... / udev ... /dev /dev/mapper/livecd-rw 1511856 1089732 406764 73% / tmpfs 1946924 0 1946924 0% /dev/shm And the liveinst command will fail. If there is no yum install commands in my.ks file, I only got the following on the box after install with the CD. /dev/mapper/livecd-rw 1511856 1089732 406764 73% / tmpfs 1946924 0 1946924 0% /dev/shm And the liveinst command will success. There is no problem in fedora 8 even with yum command in my.ks. livecd-creator/liveinst will success in f8 So looks like livecd-creator can only handle simple ks file but can not handle yum install commands in ks file. Any ideas? ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.wood at datawranglers.com Wed Mar 5 17:40:52 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Wed, 05 Mar 2008 10:40:52 -0700 Subject: [Fedora-livecd-list] Unable to overide package/group selection In-Reply-To: <47CE235C.3070807@filteredperception.org> References: <1204685256.25345.12.camel@aglarond.local> <47CE235C.3070807@filteredperception.org> Message-ID: <47CEDB24.7090900@datawranglers.com> I have a kickstart that includes the xfce kickstart (which includes fedora-8-base-desktop), I'm trying to add samba-client (which is removed by fedora-8-base-desktop) and remove the language groups (added by the xfce kickstart). For instance (pardon me if I mistype the package/group names): samba-client - at zulu-languague-support Those lines are ignored. The only way I've found to make the changes I want is to actually modify the original kickstarts. The behavior I would expect is that each kickstart could overide anything in an included kickstart. I'm using the latest livecd-tools in fedora 8 updates rather than the git version. So I'm either reporting a bug or reporting something that's been fixed in git... Tim Douglas McClendon wrote: > Jeremy Katz wrote: >> After long periods of waiting and hoping, etc I'm just about to do a >> push of some changes that at least give us a good base to build on for >> persistent live images. They're very very very heavily based off of >> Douglas McClendon's patches that he posted here a month or two, but I've >> done basically two things with them: >> 1) Integrated the findoverlay bits into mkliveinitrd directly and was >> able to do a little bit of cleanup accordingly > > No general objections. As I look at it more, I'm sure I'll start > submitting some patches for mkinitrd. > >> 2) Not put in the bits right now to do the snapshot teardown on shutdown > > No objections. I admit, that I also have not witnessed a failure, > since some kernel improvement maybe half a year ago seemed to make it > crash-proof. But of course it should do the right thing to shutdown > cleanly. But I agree that can be deferred for now. > >> The former is pretty non-controversial. The latter, well, we're going >> to need some testing to know how feasible this really is. I spent quite >> a while this afternoon trying to cause any form of corruption without >> the initscripts changes and never succeeded[1]. And realistically, if >> it's going to cause corruption if we don't shutdown cleanly, then we >> have problems if someone loses power or removes their USB key or any of >> a whole bunch of other things occur. I _did_ have the journal get >> recovered and as long as things were able to get to the journal, it was >> good to go. But more testing is going to be needed. So if anyone here >> wants to try building some images and putting them on USB drives and >> testing them out, that'd be greatly appreciated. And then I'm going to >> issue a larger call for testers with the Fedora 9 beta. If we find that >> we need to integrate some of the shutdown bits, we'll make it happen. >> But right now, I'm feeling pretty confident that we won't >> >> The quick steps of how to take advantage of the functionality: >> 1) Build a live image using the newer mkinitrd (6.0.32) in your repos >> 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 >> (or 1024 or whatever based on the capacity of your USB stick minus the >> size of the ISO) > > and minus whatever space you want for other stuff on the liveusb. I > see plenty of interesting uses of LiveCD/USBs with this feature, and > the writable area. I haven't yet looked at what Jeremy actually > merged, but the LiveUSB host filesystem (typically vfat) will be > accessible under /mnt/overlayfs. I think in the LiveUSB case it is > also /mnt/live. > >> 3) Boot the USB drive >> >> You can also (although it's more complicated) use a USB stick with a CD >> 1) Build live image as in 1) above >> 2) Create /LiveOS/overlay-$v- on your USB stick with size how ever big >> you want (can be a sparse file). $v is the label of the _iso_ (not of >> the USB stick) >> 3) Find the label or UUID of the partition on the USB stick you're >> using. Write it down. >> 4) When you boot the CD, have the USB stick plugged in and add to the >> kernel command line >> overlay=$dev >> where $dev is what you found in step 3. If it's a label, do LABEL=foo; >> similarly uuid ==> UUID=foo. >> >> Big big big thanks and kudos to dmc for doing all of the legwork here >> and letting me off the hook for so long on actually getting it >> integrated. But once I finally got around to having a full afternoon to >> spend on it, it was in great shape. > > Thanks, and no problem. Of course, now I/someone really need to put > together a brief overview/faq page, to especially drill in the > mechanism, and set expectations appropriately given the mechanism > (i.e. as with ram for the livecd, creating and deleting files is not > currently handled as ideally efficient as one would like). > > But given the appropriate expectations, I expect to see it end up > being useful in a lot of situations. And I am sure that in the future > the feature will improve over this initial functionality. > > -dmc > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com From tim.wood at datawranglers.com Wed Mar 5 17:56:09 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Wed, 05 Mar 2008 10:56:09 -0700 Subject: [Fedora-livecd-list] LiveCD Workstation Message-ID: <47CEDEB9.9010603@datawranglers.com> In a slightly more fun posting, my LiveCD workstation LiveCD is now being used to generate LiveCDs. Ah the geekly joy of massive recursivity. Since Thunderbird's spell checker doesn't like "recursivity" I may have a name ;-) Anyway, the kickstart isn't quite ready for public consumption, but soon. Tim From katzj at redhat.com Wed Mar 5 18:06:40 2008 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 05 Mar 2008 13:06:40 -0500 Subject: [Fedora-livecd-list] Unable to overide package/group selection In-Reply-To: <47CEDB24.7090900@datawranglers.com> References: <1204685256.25345.12.camel@aglarond.local> <47CE235C.3070807@filteredperception.org> <47CEDB24.7090900@datawranglers.com> Message-ID: <1204740400.10592.0.camel@aglarond.local> On Wed, 2008-03-05 at 10:40 -0700, Tim Wood wrote: > I have a kickstart that includes the xfce kickstart (which includes > fedora-8-base-desktop), I'm trying to add samba-client (which is removed > by fedora-8-base-desktop) and remove the language groups (added by the > xfce kickstart). For instance (pardon me if I mistype the package/group > names): Yeah, there's not support within the kickstart syntax for removal of a group. I believe there's a bug filed against pykickstart, though Jeremy From sundaram at fedoraproject.org Thu Mar 6 09:36:25 2008 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Thu, 06 Mar 2008 15:06:25 +0530 Subject: [Fedora-livecd-list] Unable to overide package/group selection In-Reply-To: <1204740400.10592.0.camel@aglarond.local> References: <1204685256.25345.12.camel@aglarond.local> <47CE235C.3070807@filteredperception.org> <47CEDB24.7090900@datawranglers.com> <1204740400.10592.0.camel@aglarond.local> Message-ID: <47CFBB19.1060308@fedoraproject.org> Jeremy Katz wrote: > On Wed, 2008-03-05 at 10:40 -0700, Tim Wood wrote: >> I have a kickstart that includes the xfce kickstart (which includes >> fedora-8-base-desktop), I'm trying to add samba-client (which is removed >> by fedora-8-base-desktop) and remove the language groups (added by the >> xfce kickstart). For instance (pardon me if I mistype the package/group >> names): > > Yeah, there's not support within the kickstart syntax for removal of a > group. I believe there's a bug filed against pykickstart, though Yes. Filed this at https://bugzilla.redhat.com/show_bug.cgi?id=428835 Chris Lumens said he will look into it. Rahul From thiago.braga.santana at gmail.com Thu Mar 6 13:18:26 2008 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Thu, 6 Mar 2008 10:18:26 -0300 Subject: [Fedora-livecd-list] livecd-iso-to-disk remote In-Reply-To: <47CDB731.8020809@datawranglers.com> References: <53058.20727.qm@web52612.mail.re2.yahoo.com> <47CD9D03.60806@datawranglers.com> <47CDB731.8020809@datawranglers.com> Message-ID: Thank you for informing me Tim. 2008/3/4, Tim Wood : > > Don't boot the remote computer with a LiveCD. Boot (the computer with > the usbdisk) from a LiveCD. > > If you don't have a LiveCD with the livecd-to-disk script, you can put the > script on another machine. Then copy the script to the computer with the > usbdisk. > > Tim > > > Thiago Braga Santana wrote: > > There is a way to solve this my case? I am not going to use the program > livecd-iso-to-disk remotely, if I is in a computer without Linux, but with > the usbdisk connected? > > > 2008/3/4, Tim Wood : > > > > Thanks, Thiago. I should've read your response first. I'm slightly > > more multi-lingual than the average American ... but Portuguese isn't on the > > list (sigh). > > > > Anyway... I agree with your response. The situation he's in is part of > > the rational for my LiveCD Workstation LiveCD. > > > > Tim > > > > > > > > Antonio Olivares wrote: > > > > --- Thiago Braga Santana > > wrote: > > > > Obrigado pela resposta r?pida Tim. > > > > Eu compreendo perfeitamente a sua informa??o, mas > > como devo proceder, se > > estou no computador onde o usbdisk est? ligado? > > (Detalhe: o computador n?o tiver Linux instalado) > > > > > > Thiago, > > > > I'll try to translate for you, if I can, > > > > you say thank you Tim for your quick response. > > > > I understand your response perfectly with your > > information, but how should I proceed because I am on > > > > computer without the usbdisk. > > > > The big Detail: > > The other computer does not have Linux installed. > > > > Why not run a LiveCD on that computer and do what Tim > > suggests and share the partition where the iso is > > > > located? > > > > Regards, > > > > Antonio > > > > 2008/3/4, Tim Wood : > > > > Share the directory with the iso. Then mount the > > > > share on the machine > > > > with usbdisk. I tend to use SAMBA but NFS or any > > > > other sharing acronym you > > > > like should work fine. > > > > Tim > > > > > > Thiago Braga Santana wrote: > > > > Hello to everyone on the list. > > > > I need that the program "livecd-iso-to-disk" is > > > > performed remotely, it is > > > > possible? > > > > Explanation: I created an image file of the type > > > > .iso with the program > > > > livecd-creator in my PC, now I have a need for > > > > this file .iso be applied in > > > > a usbdisk that is connected to another PC. > > > > Anyone can make a suggestion on how I can do this? > > > > Thank you for listening. > > > > Thiago Santana > > > > ------------------------------ > > > > -- > > Fedora-livecd-list mailing list > > > > Fedora-livecd-list at redhat.com > > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > -- > > _________________________________ > > Tim Wood, CLP, RHCT > > 719.338.7484 (tel) > > > > The Data Wranglers > > Web, Database & more since since 1994 > > www.datawranglers.com > > > > > > > > -- > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > -- > > > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > ____________________________________________________________________________________ > > Looking for last minute shopping deals? > > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > > > > > -- > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > > > > > > -- > > _________________________________ > > Tim Wood, CLP, RHCT > > 719.338.7484 (tel) > > > > The Data Wranglers > > Web, Database & more since since 1994 > > > > www.datawranglers.com > > > > > > -- > > Fedora-livecd-list mailing list > > Fedora-livecd-list at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > > ------------------------------ > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > > > -- > _________________________________ > Tim Wood, CLP, RHCT > 719.338.7484 (tel) > > The Data Wranglers > Web, Database & more since since 1994 > www.datawranglers.com > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmc.fedora at filteredperception.org Thu Mar 6 19:00:27 2008 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Thu, 06 Mar 2008 13:00:27 -0600 Subject: [Fedora-livecd-list] $0.02 idea- persistent desktops Message-ID: <47D03F4B.2000300@filteredperception.org> I think I've mentioned this idea here sometime in the past couple years, but for various reasons, I'll bring it up now just for the digital record- feature: persistent desktops example obvious non-portable implementation: Use the recently merged persistence feature, along with software suspend (aka hibernate) to a partition on the liveusb. What this gets you, is a full system, including running state, on your LiveUSB. The downside as mentioned is that you are tied to the specific piece of hardware that you suspended on (swsusp isn't cooler than that is it?) dmc implementation: your custom persisting livecd/liveusb, as part of its default boot scripts, launches qemu during boot. It launches it from a saved memory state image, booting perhaps against the same running livecd/liveusb disk/os. That initial saved memory image is stored on the live media. That running image is running a vncserver. After the livecd/usb starts this qemu process from the saved state, it launches a vncviewer as part of the autologin process, pointing at that server. Now then, for persistence, during shutdown, a signal is automatically sent to the qemu monitor to hibernate it (save ram state). Now that new ramstate file, is stored via the current persistence mechanism (or perhaps a dedicated partition on the liveusb). going even further: it may in some narrow use cases be useful to stare the new ramstate file as an xdelta diff from the initial one stored on the media. the persistence data, including these ramstate data could be stored on public servers, perhaps fedorahosted, or gmailfs, or whatever. later... -dmc/jdog From wtogami at redhat.com Thu Mar 6 20:20:39 2008 From: wtogami at redhat.com (Warren Togami) Date: Thu, 06 Mar 2008 15:20:39 -0500 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <1204685256.25345.12.camel@aglarond.local> References: <1204685256.25345.12.camel@aglarond.local> Message-ID: <47D05217.5040503@redhat.com> Jeremy Katz wrote: > > The quick steps of how to take advantage of the functionality: > 1) Build a live image using the newer mkinitrd (6.0.32) in your repos > 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 > (or 1024 or whatever based on the capacity of your USB stick minus the > size of the ISO) if [ -n "$overlaysizemb" ]; then echo "Initializing persistent overlay file" OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )" dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \ count=1 bs=1M seek=$overlaysizemb Warning! If your USB stick is vfat filesystem and $overlaysizemb is some number larger than your RAM, your system will swap storm and die. According to Ulrich Drepper this isn't dd using all RAM, but it is up to the filesystem implementation. Since the OOM happens in kernel space it cannot OOM kill anything and recover. I just tried the same thing with the USB stick reformatted as ext3. It successfully created the sparse file without any problem. Perhaps this means we cannot support overlay images on vfat? Warren Togami wtogami at redhat.com From patrice.guay at nanotechnologies.qc.ca Thu Mar 6 20:35:19 2008 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Thu, 06 Mar 2008 15:35:19 -0500 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <47D05217.5040503@redhat.com> References: <1204685256.25345.12.camel@aglarond.local> <47D05217.5040503@redhat.com> Message-ID: <47D05587.50204@nanotechnologies.qc.ca> Warren Togami wrote: > Jeremy Katz wrote: >> >> The quick steps of how to take advantage of the functionality: >> 1) Build a live image using the newer mkinitrd (6.0.32) in your repos >> 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 >> (or 1024 or whatever based on the capacity of your USB stick minus the >> size of the ISO) > > if [ -n "$overlaysizemb" ]; then > echo "Initializing persistent overlay file" > OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( > /lib/udev/vol_id -u $USBDEV )" > dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \ > count=1 bs=1M seek=$overlaysizemb > > Warning! > > If your USB stick is vfat filesystem and $overlaysizemb is > some number larger than your RAM, your system will swap storm and die. > According to Ulrich Drepper this isn't dd using all RAM, but it is up to > the filesystem implementation. Since the OOM happens in kernel space it > cannot OOM kill anything and recover. > I tried creating a 512 MB overlay file when my vfat usbkey had only 300 MB left. The filesystem on the usbkey was no longer useable and I had to reformat the usbkey to use it again. -- Patrice From katzj at redhat.com Thu Mar 6 20:37:50 2008 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 06 Mar 2008 15:37:50 -0500 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <47D05587.50204@nanotechnologies.qc.ca> References: <1204685256.25345.12.camel@aglarond.local> <47D05217.5040503@redhat.com> <47D05587.50204@nanotechnologies.qc.ca> Message-ID: <1204835870.30371.0.camel@erebor.boston.redhat.com> On Thu, 2008-03-06 at 15:35 -0500, Patrice Guay wrote: > I tried creating a 512 MB overlay file when my vfat usbkey had > only 300 MB left. The filesystem on the usbkey was no longer > useable and I had to reformat the usbkey to use it again. Yeah, this is an error case that I know we need to look for and catch, just a matter of 'round tuits. Jeremy From katzj at redhat.com Thu Mar 6 20:38:32 2008 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 06 Mar 2008 15:38:32 -0500 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <47D05217.5040503@redhat.com> References: <1204685256.25345.12.camel@aglarond.local> <47D05217.5040503@redhat.com> Message-ID: <1204835912.30371.2.camel@erebor.boston.redhat.com> On Thu, 2008-03-06 at 15:20 -0500, Warren Togami wrote: > Jeremy Katz wrote: > > The quick steps of how to take advantage of the functionality: > > 1) Build a live image using the newer mkinitrd (6.0.32) in your repos > > 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 > > (or 1024 or whatever based on the capacity of your USB stick minus the > > size of the ISO) > > if [ -n "$overlaysizemb" ]; then > echo "Initializing persistent overlay file" > OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( > /lib/udev/vol_id -u $USBDEV )" > dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \ > count=1 bs=1M seek=$overlaysizemb > > Warning! > > If your USB stick is vfat filesystem and $overlaysizemb is > some number larger than your RAM, your system will swap storm and die. > According to Ulrich Drepper this isn't dd using all RAM, but it is up to > the filesystem implementation. Since the OOM happens in kernel space it > cannot OOM kill anything and recover. > > I just tried the same thing with the USB stick reformatted as ext3. It > successfully created the sparse file without any problem. > > Perhaps this means we cannot support overlay images on vfat? Or we may need to limit the size that we support. Warren and I are looking a little closer now... Jeremy From katzj at fedoraproject.org Fri Mar 7 00:44:12 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 7 Mar 2008 00:44:12 GMT Subject: [Fedora-livecd-list] 2 commits - livecd-tools.spec Makefile tools/livecd-iso-to-disk.sh Message-ID: <200803070044.m270iCOe016564@hosted1.fedoraproject.org> Makefile | 2 +- livecd-tools.spec | 13 ++++++++++--- tools/livecd-iso-to-disk.sh | 13 +++++++++++-- 3 files changed, 22 insertions(+), 6 deletions(-) New commits: commit 75bd5129a2ffb862529df8d7cd589a362c028353 Author: Jeremy Katz Date: Thu Mar 6 19:39:05 2008 -0500 Bump version diff --git a/Makefile b/Makefile index 6efe58c..22c9c2e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = 014 +VERSION = 015 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} diff --git a/livecd-tools.spec b/livecd-tools.spec index a789460..56b82d4 100644 --- a/livecd-tools.spec +++ b/livecd-tools.spec @@ -4,7 +4,7 @@ Summary: Tools for building live CD's Name: livecd-tools -Version: 014 +Version: 015 Release: 1%{?dist} License: GPLv2 Group: System Environment/Base @@ -53,8 +53,6 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/livecd-creator %{_bindir}/livecd-iso-to-disk %{_bindir}/livecd-iso-to-pxeboot -%dir /usr/lib/livecd-creator -/usr/lib/livecd-creator/mayflower %dir %{_datadir}/livecd-tools %{_datadir}/livecd-tools/* %{_bindir}/image-creator @@ -64,6 +62,15 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/imgcreate/*.pyc %changelog +* Thu Mar 6 2008 Jeremy Katz - 015-1 +- Support for using live isos with pxe booting (Richard W.M. Jones and + Chris Lalancette) +- Fixes for SELinux being disabled (Warren Togami) +- Stop using mayflower for building the initrd; mkinitrd can do it now +- Create a minimal /dev rather than using the host /dev (Warren Togami) +- Support for persistent overlays when using a USB stick (based on support + by Douglas McClendon) + * Tue Feb 12 2008 Jeremy Katz - 014-1 - Rework to provide a python API for use by other tools (thanks to markmc for a lot of the legwork here) commit 6a4ea132ac61a74e6c066d44cdb077ec47164d4b Author: Jeremy Katz Date: Thu Mar 6 19:35:47 2008 -0500 Fixes to avoid problems on VFAT usb sticks If we're using a VFAT formatted stick, don't allow an overlay > 2 GB to avoid corruption. Also, VFAT doesn't really allow for sparse files and the kernel gets unhappy when you try to make one. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 00465e3..5aeeca7 100644 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -197,6 +197,11 @@ checkPartActive $USBDEV checkMBR $USBDEV [ -n $resetmbr ] && resetMBR $USBDEV +if [ -n "$overlaysizemb" -a "$USBFS" = "vfat" -a "$overlaysizemb" -gt 2047 ]; then + echo "Can't have an overlay greater than 2048MB on VFAT" + exitclean +fi + # FIXME: would be better if we had better mountpoints CDMNT=$(mktemp -d /media/cdtmp.XXXXXX) mount -o loop $ISO $CDMNT || exitclean @@ -238,8 +243,12 @@ sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/ if [ -n "$overlaysizemb" ]; then echo "Initializing persistent overlay file" OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )" - dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE \ - count=1 bs=1M seek=$overlaysizemb + if [ "$USBFS" = "vfat" ]; then + # vfat can't handle sparse files + dd if=/dev/zero of=$USBMNT/LiveOS/$OVERFILE count=$overlaysizemb bs=1M + else + dd if=/dev/null of=$USBMNT/LiveOS/$OVERFILE count=1 bs=1M seek=$overlaysizemb + fi sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" \ $USBMNT/$SYSLINUXPATH/isolinux.cfg sed -i -e "s/\ ro\ /\ rw\ /" \ From katzj at fedoraproject.org Fri Mar 7 00:44:16 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 7 Mar 2008 00:44:16 GMT Subject: [Fedora-livecd-list] Changes to 'refs/tags/livecd-tools-015' Message-ID: <200803070044.m270iGak016617@hosted1.fedoraproject.org> Tag 'livecd-tools-015' created by Jeremy Katz at 2008-03-07 00:41 +0000 livecd-tools-015 Changes since livecd-tools-012-195: --- 0 files changed --- From katzj at redhat.com Fri Mar 7 00:51:04 2008 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 06 Mar 2008 19:51:04 -0500 Subject: [Fedora-livecd-list] livecd-tools-015 released Message-ID: <1204851064.21839.11.camel@aglarond.local> I've just pushed livecd-tools-015 to the repository and am building the package for tomorrow's rawhide. You can also grab the tarball from http://fedorahosted.org/releases/l/i/livecd At this point, the feature flow for Fedora 9 should be pretty much finished. There's still some things to help improve the user experience around the persistence support, but it seems to be working nicely. git shortlog for the release follows Jeremy Katz (11): Fix typo noticed by dexter Temporarily use 128 byte inodes to avoid hitting #434893 Stop using mayflower for building the live initrd Fix up Fedora 8 configs to still be able to boot Remove mayflower Remove our /etc/sysconfig/mkinitrd Fix up for changes in the gdm config file so that we get autologin again Revert "Temporarily use 128 byte inodes to avoid hitting #434893" Add support to set up persistent overlay (based on changes by Douglas McClendon) Fixes to avoid problems on VFAT usb sticks Bump version Luke Macken (1): Drop gnome-blog from our livecd-fedora-desktop.ks, as it is now orphaned. Richard W.M. Jones (1): Add support for pxeboot Sebastian Vahl (1): re-add twinkle and amarok to package list Warren Togami (4): LiveCD Patch: Typo in _do_bindmounts() comment selinux --disabled fixes Create a minimal /dev instead of bind mounting the host's /dev remove mayflower from Makefile install Jeremy From mhoy at securify.com Fri Mar 7 23:23:59 2008 From: mhoy at securify.com (Hoy, Mark) Date: Fri, 7 Mar 2008 15:23:59 -0800 Subject: [Fedora-livecd-list] LiveCD to HDD with CentOS 5.1 Message-ID: <200803072323.m27NNxN5022161@pae-relay.securify.com> I'm kind of new at this so.... I've built up a CentOS 5.1 LiveCD (thanks everyone) and booted into it to test it out in VMWare. Nifty stuff. I've run "liveinst" and indeed it gives me a gui and appears to do the right thing. I've a number of questions still. I really like the ability of the "livecd-creator" to resolve the rpm set that I need. At times I'd like to add a component just to see the rpm list change requirements without actually building an ISO. Is there a man page on what livecd-creator can do? Ideally I'd like to pass a kickstart file into "liveinst" to script what it does so I don't have to do this numerous times. There is a thread earlier in this list, but I've not seen any updates on it. Re: [Fedora-livecd-list] Kickstart ignored? Thanks in advance. : Mark Hoy SR. SW Engineer SECURIFY : www.securify.com Monitor and Verify Who, What & Where on your Network From jvonau at shaw.ca Fri Mar 7 23:27:00 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Fri, 07 Mar 2008 17:27:00 -0600 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <47CE235C.3070807@filteredperception.org> References: <1204685256.25345.12.camel@aglarond.local> <47CE235C.3070807@filteredperception.org> Message-ID: <47D1CF44.1060104@shaw.ca> Douglas McClendon wrote: > Jeremy Katz wrote: >> After long periods of waiting and hoping, etc I'm just about to do a >> push of some changes that at least give us a good base to build on for >> persistent live images. They're very very very heavily based off of >> Douglas McClendon's patches that he posted here a month or two, but I've >> done basically two things with them: >> 1) Integrated the findoverlay bits into mkliveinitrd directly and was >> able to do a little bit of cleanup accordingly > > No general objections. As I look at it more, I'm sure I'll start > submitting some patches for mkinitrd. > >> 2) Not put in the bits right now to do the snapshot teardown on shutdown > > No objections. I admit, that I also have not witnessed a failure, since > some kernel improvement maybe half a year ago seemed to make it > crash-proof. But of course it should do the right thing to shutdown > cleanly. But I agree that can be deferred for now. > >> The former is pretty non-controversial. The latter, well, we're going >> to need some testing to know how feasible this really is. I spent quite >> a while this afternoon trying to cause any form of corruption without >> the initscripts changes and never succeeded[1]. And realistically, if >> it's going to cause corruption if we don't shutdown cleanly, then we >> have problems if someone loses power or removes their USB key or any of >> a whole bunch of other things occur. I _did_ have the journal get >> recovered and as long as things were able to get to the journal, it was >> good to go. But more testing is going to be needed. So if anyone here >> wants to try building some images and putting them on USB drives and >> testing them out, that'd be greatly appreciated. And then I'm going to >> issue a larger call for testers with the Fedora 9 beta. If we find that >> we need to integrate some of the shutdown bits, we'll make it happen. >> But right now, I'm feeling pretty confident that we won't >> >> The quick steps of how to take advantage of the functionality: >> 1) Build a live image using the newer mkinitrd (6.0.32) in your repos >> 2) Use the updated livecd-iso-to-disk.sh with an --overlay-size-mb=512 >> (or 1024 or whatever based on the capacity of your USB stick minus the >> size of the ISO) > and minus whatever space you want for other stuff on the liveusb. I see > plenty of interesting uses of LiveCD/USBs with this feature, and the > writable area. I haven't yet looked at what Jeremy actually merged, but > the LiveUSB host filesystem (typically vfat) will be accessible under > /mnt/overlayfs. I think in the LiveUSB case it is also /mnt/live. > Anybody else adding swap to their usb? That would be a nice option for the live2usb script, IMHO, just not sure for the best/right way to add that... I use a usb2ide adapter, and have a pre-existing swap partition that "just works" on boot. >> 3) Boot the USB drive >> >> You can also (although it's more complicated) use a USB stick with a CD >> 1) Build live image as in 1) above >> 2) Create /LiveOS/overlay-$v- on your USB stick with size how ever big >> you want (can be a sparse file). $v is the label of the _iso_ (not of >> the USB stick) >> 3) Find the label or UUID of the partition on the USB stick you're >> using. Write it down. >> 4) When you boot the CD, have the USB stick plugged in and add to the >> kernel command line >> overlay=$dev >> where $dev is what you found in step 3. If it's a label, do LABEL=foo; >> similarly uuid ==> UUID=foo. >> So lets just say that you boot your initrd, have the means to setup the network, retrieving your "overlay file", could you then merge that into the base livecd before your really mount sysroot? Wow, I'm thinking updates as you boot or just before you install to the hard-drive.... Or maybe grab my personal mod's from here... Or base live + overlay = spin... Just some random thoughts... >> Big big big thanks and kudos to dmc for doing all of the legwork here >> and letting me off the hook for so long on actually getting it >> integrated. But once I finally got around to having a full afternoon to >> spend on it, it was in great shape. > > Thanks, and no problem. Of course, now I/someone really need to put > together a brief overview/faq page, to especially drill in the > mechanism, and set expectations appropriately given the mechanism (i.e. > as with ram for the livecd, creating and deleting files is not currently > handled as ideally efficient as one would like). > > But given the appropriate expectations, I expect to see it end up being > useful in a lot of situations. And I am sure that in the future the > feature will improve over this initial functionality. > Yes it will, thank you for the great start. Jerry From patrice.guay at nanotechnologies.qc.ca Sat Mar 8 13:48:52 2008 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Sat, 08 Mar 2008 08:48:52 -0500 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <1204851064.21839.11.camel@aglarond.local> References: <1204851064.21839.11.camel@aglarond.local> Message-ID: <47D29944.9090404@nanotechnologies.qc.ca> Jeremy Katz wrote: > I've just pushed livecd-tools-015 to the repository and am building the > package for tomorrow's rawhide. You can also grab the tarball from > http://fedorahosted.org/releases/l/i/livecd > > At this point, the feature flow for Fedora 9 should be pretty much > finished. There's still some things to help improve the user experience > around the persistence support, but it seems to be working nicely. > I tested livecd-tools-015 under CentOS 5. Here are some the little problems I encountered so far: To make isomd5sum optional, it should not be invoked in every case (live.py, line 256). At line 200 of livecd-iso-to-disk, it would be better to test the existence of the $overlaysizemb variable before evaluating if it is greater than 2047MB. In certain circumstances (vfat usbkey, overlaysizemb undefined) this error message is displayed: /usr/bin/livecd-iso-to-disk: line 200: [: : integer expression expected Thanks for the great work, -- Patrice From patrice.guay at nanotechnologies.qc.ca Sun Mar 9 03:02:03 2008 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Sat, 08 Mar 2008 22:02:03 -0500 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <47D29944.9090404@nanotechnologies.qc.ca> References: <1204851064.21839.11.camel@aglarond.local> <47D29944.9090404@nanotechnologies.qc.ca> Message-ID: <47D3532B.7060200@nanotechnologies.qc.ca> Patrice Guay wrote: > Jeremy Katz wrote: >> I've just pushed livecd-tools-015 to the repository and am building the >> package for tomorrow's rawhide. You can also grab the tarball from >> http://fedorahosted.org/releases/l/i/livecd >> >> At this point, the feature flow for Fedora 9 should be pretty much >> finished. There's still some things to help improve the user experience >> around the persistence support, but it seems to be working nicely. >> > > I tested livecd-tools-015 under CentOS 5. Here are some the little > problems > I encountered so far: > > To make isomd5sum optional, it should not be invoked in every case > (live.py, > line 256). > > At line 200 of livecd-iso-to-disk, it would be better to test the > existence > of the $overlaysizemb variable before evaluating if it is greater than > 2047MB. > In certain circumstances (vfat usbkey, overlaysizemb undefined) this > error > message is displayed: > > /usr/bin/livecd-iso-to-disk: line 200: [: : integer expression expected > I just found that the iso images created with livecd-tools-015 under CentOS 5 don't boot correctly: [...] ide0: ports already in use, skipping probe Red Hat nash version 5.1.19.6 starting mount: could not find filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! I still can't figure this one. Even a minimal iso image displays this behavior. -- Patrice From jvonau at shaw.ca Sun Mar 9 05:54:52 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Sat, 08 Mar 2008 23:54:52 -0600 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <47D3532B.7060200@nanotechnologies.qc.ca> References: <1204851064.21839.11.camel@aglarond.local> <47D29944.9090404@nanotechnologies.qc.ca> <47D3532B.7060200@nanotechnologies.qc.ca> Message-ID: <47D37BAC.2060706@shaw.ca> Patrice Guay wrote: > Patrice Guay wrote: >> Jeremy Katz wrote: >>> I've just pushed livecd-tools-015 to the repository and am building the >>> package for tomorrow's rawhide. You can also grab the tarball from >>> http://fedorahosted.org/releases/l/i/livecd >>> >>> At this point, the feature flow for Fedora 9 should be pretty much >>> finished. There's still some things to help improve the user experience >>> around the persistence support, but it seems to be working nicely. >>> >> >> I tested livecd-tools-015 under CentOS 5. Here are some the little >> problems >> I encountered so far: >> >> To make isomd5sum optional, it should not be invoked in every case >> (live.py, >> line 256). >> >> At line 200 of livecd-iso-to-disk, it would be better to test the >> existence >> of the $overlaysizemb variable before evaluating if it is greater than >> 2047MB. >> In certain circumstances (vfat usbkey, overlaysizemb undefined) this >> error >> message is displayed: >> >> /usr/bin/livecd-iso-to-disk: line 200: [: : integer expression expected >> > I just found that the iso images created with livecd-tools-015 under > CentOS 5 > don't boot correctly: > > [...] > ide0: ports already in use, skipping probe > Red Hat nash version 5.1.19.6 starting > mount: could not find filesystem '/dev/root' > setuproot: moving /dev failed: No such file or directory > setuproot: error mounting /proc: No such file or directory > setuproot: error mounting /sys: No such file or directory > switchroot: mount failed: No such file or directory > Kernel panic - not syncing: Attempted to kill init! > > I still can't figure this one. Even a minimal iso image displays this > behavior. > > -- > Patrice Think you'll need to use mkinitrd-6.0.34-1 to work with livecd-tools-015, as mayflower is now part of the mkinitrd package. I'm not sure if there is an updated mkinitrd package for anything but F9. Might have better luck with version 14 in your environment. Jerry From patrice.guay at nanotechnologies.qc.ca Sun Mar 9 16:48:37 2008 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Sun, 09 Mar 2008 12:48:37 -0400 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <47D37BAC.2060706@shaw.ca> References: <1204851064.21839.11.camel@aglarond.local> <47D29944.9090404@nanotechnologies.qc.ca> <47D3532B.7060200@nanotechnologies.qc.ca> <47D37BAC.2060706@shaw.ca> Message-ID: <47D414E5.4070400@nanotechnologies.qc.ca> Jerry Vonau wrote: > Patrice Guay wrote: >> Patrice Guay wrote: >>> Jeremy Katz wrote: >>>> I've just pushed livecd-tools-015 to the repository and am building >>>> the >>>> package for tomorrow's rawhide. You can also grab the tarball from >>>> http://fedorahosted.org/releases/l/i/livecd >>>> >>>> At this point, the feature flow for Fedora 9 should be pretty much >>>> finished. There's still some things to help improve the user >>>> experience >>>> around the persistence support, but it seems to be working nicely. >>>> >>> >>> I tested livecd-tools-015 under CentOS 5. Here are some the little >>> problems >>> I encountered so far: >>> >>> To make isomd5sum optional, it should not be invoked in every case >>> (live.py, >>> line 256). >>> >>> At line 200 of livecd-iso-to-disk, it would be better to test the >>> existence >>> of the $overlaysizemb variable before evaluating if it is greater >>> than 2047MB. >>> In certain circumstances (vfat usbkey, overlaysizemb undefined) this >>> error >>> message is displayed: >>> >>> /usr/bin/livecd-iso-to-disk: line 200: [: : integer expression expected >>> >> I just found that the iso images created with livecd-tools-015 under >> CentOS 5 >> don't boot correctly: >> >> [...] >> ide0: ports already in use, skipping probe >> Red Hat nash version 5.1.19.6 starting >> mount: could not find filesystem '/dev/root' >> setuproot: moving /dev failed: No such file or directory >> setuproot: error mounting /proc: No such file or directory >> setuproot: error mounting /sys: No such file or directory >> switchroot: mount failed: No such file or directory >> Kernel panic - not syncing: Attempted to kill init! >> >> I still can't figure this one. Even a minimal iso image displays this >> behavior. >> >> -- >> Patrice > > Think you'll need to use mkinitrd-6.0.34-1 to work with > livecd-tools-015, as mayflower is now part of the mkinitrd package. > I'm not sure if there is an updated mkinitrd package for anything but > F9. Might have better luck with version 14 in your environment. > > Jerry > Then mkinitrd >= 6.0.31 (the version where mkliveinitrd was added) is a requirement for livecd-tools-015. This should be added to the SPEC file. -- Patrice From jvonau at shaw.ca Sun Mar 9 20:52:49 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Sun, 09 Mar 2008 15:52:49 -0500 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <47D414E5.4070400@nanotechnologies.qc.ca> References: <1204851064.21839.11.camel@aglarond.local> <47D29944.9090404@nanotechnologies.qc.ca> <47D3532B.7060200@nanotechnologies.qc.ca> <47D37BAC.2060706@shaw.ca> <47D414E5.4070400@nanotechnologies.qc.ca> Message-ID: <47D44E21.4090907@shaw.ca> Patrice Guay wrote: > Jerry Vonau wrote: >> Patrice Guay wrote: >>> Patrice Guay wrote: >>>> Jeremy Katz wrote: >>>>> I've just pushed livecd-tools-015 to the repository and am building >>>>> the >>>>> package for tomorrow's rawhide. You can also grab the tarball from >>>>> http://fedorahosted.org/releases/l/i/livecd >>>>> >>>>> At this point, the feature flow for Fedora 9 should be pretty much >>>>> finished. There's still some things to help improve the user >>>>> experience >>>>> around the persistence support, but it seems to be working nicely. >>>>> >>>> >>>> I tested livecd-tools-015 under CentOS 5. Here are some the little >>>> problems >>>> I encountered so far: >>>> >>>> To make isomd5sum optional, it should not be invoked in every case >>>> (live.py, >>>> line 256). >>>> >>>> At line 200 of livecd-iso-to-disk, it would be better to test the >>>> existence >>>> of the $overlaysizemb variable before evaluating if it is greater >>>> than 2047MB. >>>> In certain circumstances (vfat usbkey, overlaysizemb undefined) this >>>> error >>>> message is displayed: >>>> >>>> /usr/bin/livecd-iso-to-disk: line 200: [: : integer expression expected >>>> >>> I just found that the iso images created with livecd-tools-015 under >>> CentOS 5 >>> don't boot correctly: >>> >>> [...] >>> ide0: ports already in use, skipping probe >>> Red Hat nash version 5.1.19.6 starting >>> mount: could not find filesystem '/dev/root' >>> setuproot: moving /dev failed: No such file or directory >>> setuproot: error mounting /proc: No such file or directory >>> setuproot: error mounting /sys: No such file or directory >>> switchroot: mount failed: No such file or directory >>> Kernel panic - not syncing: Attempted to kill init! >>> >>> I still can't figure this one. Even a minimal iso image displays this >>> behavior. >>> >>> -- >>> Patrice >> >> Think you'll need to use mkinitrd-6.0.34-1 to work with >> livecd-tools-015, as mayflower is now part of the mkinitrd package. >> I'm not sure if there is an updated mkinitrd package for anything but >> F9. Might have better luck with version 14 in your environment. >> >> Jerry >> > Then mkinitrd >= 6.0.31 (the version where mkliveinitrd was added) is a > requirement for livecd-tools-015. This should be added to the > SPEC file. That is going to hurt non-fedora users until mkinitrd catches up in their distro. Well, just thinking all is not lost, it appears that the revisor group has made mayflower available as a standalone rpm for EL-5. You could repackage it with a provides: mkinitrd, and a symlink from mayflower to mkinitrd. You'd need to use your own repo to get the package into your config. Just some ideas to toss around. Jerry From umarzuki at gmail.com Mon Mar 10 15:01:40 2008 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Mon, 10 Mar 2008 23:01:40 +0800 Subject: [Fedora-livecd-list] Problem booting live media Message-ID: <52d26d930803100801m7b9af8f2u874d6be66f9a02cc@mail.gmail.com> Can't get into GUI, instead weird blocky images. Tried booting with "vga=normal" and removing the rhgb, but nothing changed. Any help appreciated. -- Regards, Umarzuki -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at redhat.com Mon Mar 10 15:32:06 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 10 Mar 2008 11:32:06 -0400 Subject: [Fedora-livecd-list] The long-awaited landing of persistence In-Reply-To: <47D1CF44.1060104@shaw.ca> References: <1204685256.25345.12.camel@aglarond.local> <47CE235C.3070807@filteredperception.org> <47D1CF44.1060104@shaw.ca> Message-ID: <1205163126.10582.13.camel@aglarond.local> On Fri, 2008-03-07 at 17:27 -0600, Jerry Vonau wrote: > Anybody else adding swap to their usb? That would be a nice option for > the live2usb script, IMHO, just not sure for the best/right way to add > that... I use a usb2ide adapter, and have a pre-existing swap partition > that "just works" on boot. Swap on a USB stick tends to be less than ideal just due to the write patterns for swap. There's nothing stopping it, though. [snip] > So lets just say that you boot your initrd, have the means to setup the > network, retrieving your "overlay file", could you then merge that into > the base livecd before your really mount sysroot? > > Wow, I'm thinking updates as you boot or just before you install to the > hard-drive.... Or maybe grab my personal mod's from here... Or base live > + overlay = spin... Just some random thoughts... Yep, there's all sorts of things that start to be possible. Although for a lot of things like network setup, etc we really need to get further on merging the needs for live initrds into mkinitrd. What I've done will make it transparent for when we do, but for those that haven't looked, it's definitely a hack for now Jeremy From katzj at redhat.com Mon Mar 10 15:35:04 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 10 Mar 2008 11:35:04 -0400 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <47D29944.9090404@nanotechnologies.qc.ca> References: <1204851064.21839.11.camel@aglarond.local> <47D29944.9090404@nanotechnologies.qc.ca> Message-ID: <1205163304.10582.16.camel@aglarond.local> On Sat, 2008-03-08 at 08:48 -0500, Patrice Guay wrote: > To make isomd5sum optional, it should not be invoked in every case > (live.py, > line 256). It's very intentionally done by default. If you don't want to use it, you have to specify such. Note that livecd-tools does require isomd5sum > At line 200 of livecd-iso-to-disk, it would be better to test the existence > of the $overlaysizemb variable before evaluating if it is greater than > 2047MB. > In certain circumstances (vfat usbkey, overlaysizemb undefined) this error > message is displayed: Fixed Jeremy From katzj at redhat.com Mon Mar 10 15:40:10 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 10 Mar 2008 11:40:10 -0400 Subject: [Fedora-livecd-list] livecd-tools-015 released In-Reply-To: <47D414E5.4070400@nanotechnologies.qc.ca> References: <1204851064.21839.11.camel@aglarond.local> <47D29944.9090404@nanotechnologies.qc.ca> <47D3532B.7060200@nanotechnologies.qc.ca> <47D37BAC.2060706@shaw.ca> <47D414E5.4070400@nanotechnologies.qc.ca> Message-ID: <1205163610.10582.22.camel@aglarond.local> On Sun, 2008-03-09 at 12:48 -0400, Patrice Guay wrote: > Jerry Vonau wrote: > > Patrice Guay wrote: > >> I just found that the iso images created with livecd-tools-015 under > >> CentOS 5 > >> don't boot correctly: [snip] > >> > >> I still can't figure this one. Even a minimal iso image displays this > >> behavior. >> > > Think you'll need to use mkinitrd-6.0.34-1 to work with > > livecd-tools-015, as mayflower is now part of the mkinitrd package. > > I'm not sure if there is an updated mkinitrd package for anything but > > F9. Might have better luck with version 14 in your environment. > > > Then mkinitrd >= 6.0.31 (the version where mkliveinitrd was added) is a > requirement for livecd-tools-015. This should be added to the > SPEC file. It's not a requirement for livecd-tools. But livecd-tools no longer includes or runs mayflower for creating the initrd in the live image, instead depending on the packages that are included in the package set to do so. If you're wanting to build a live image for an older distribution that doesn't include this functionality, then you'll need something like what I added to the Fedora 8 live image configs[1] Jeremy [1] http://git.fedorahosted.org/git/?p=livecd;a=commitdiff;h=11dbd0bb5ba4b845e80109e990e4e780ca402218 From svahl at fedoraproject.org Mon Mar 10 20:22:20 2008 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Mon, 10 Mar 2008 20:22:20 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200803102022.m2AKMKcc014676@hosted1.fedoraproject.org> config/livecd-fedora-kde.ks | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) New commits: commit 6e7dc10398725de73a61a2fe113546c7b503e27c Author: Sebastian Vahl Date: Mon Mar 10 21:17:59 2008 +0100 respect new samba package split and remove amarok again to fit a cd diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 2105b1f..13ea212 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -5,13 +5,14 @@ # unwanted packages from @kde-desktop # don't include these for now to fit on a cd -# digikam (~11 megs), ktorrent (~3 megs), twinkle (~10 megs) -#-amarok +# digikam (~11 megs), ktorrent (~3 megs), amarok (~14 megs), +# kdegames (~23 megs) +-amarok -digikam -kdeedu -scribus #-ktorrent -#-twinkle +#-kdegames # KDE 3 koffice-kword @@ -20,7 +21,8 @@ koffice-kpresenter koffice-filters k3b filelight -#twinkle +# twinkle (~10 megs) +twinkle # some extras fuse From gmml at embarqmail.com Tue Mar 11 02:12:23 2008 From: gmml at embarqmail.com (ergodic) Date: Mon, 10 Mar 2008 22:12:23 -0400 (EDT) Subject: [Fedora-livecd-list] F9 Live USB stick problem Message-ID: <118144961.5466981205201543448.JavaMail.root@md17.embarq.synacor.com> ---An attempt to test F-9 Live from USB Stick failed with the following results: # livecd-iso-to-disk /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso /dev/sdd1 Verifying image... /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso: 1149f84da5e45a818af342498581e0c6 Fragment sums: 9fcbb8dced6ec5174f3b85ac6e85c2f13496d8115cbbb02b6ff1783e9584 Fragment count: 20 Percent complete: 100.0% Fragment[20/20] -> OK 100.0 The media check is complete, the result is: PASS. It is OK to use this media. Copying live image to USB stick Updating boot config file Installing boot loader USB stick set up as live image! ---Then tested with qemu: # qemu -hda /dev/sdd1 -m 256 -std-vga No protocol specified No protocol specified Could not initialize SDL - exiting --- Box is Asus P5K Mobo with Core 2 Quad Q6600 2.4GHZ, 2GB Mem. Running F-8. Your help will be appreciated. Thanks, M. A. MacLain From gmml at embarqmail.com Tue Mar 11 02:15:32 2008 From: gmml at embarqmail.com (ergodic) Date: Mon, 10 Mar 2008 22:15:32 -0400 (EDT) Subject: [Fedora-livecd-list] F9 Live USB stick problem Message-ID: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> ---An attempt to test F-9 Live from USB Stick failed with the following results: # livecd-iso-to-disk /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso /dev/sdd1 Verifying image... /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso: 1149f84da5e45a818af342498581e0c6 Fragment sums: 9fcbb8dced6ec5174f3b85ac6e85c2f13496d8115cbbb02b6ff1783e9584 Fragment count: 20 Percent complete: 100.0% Fragment[20/20] -> OK 100.0 The media check is complete, the result is: PASS. It is OK to use this media. Copying live image to USB stick Updating boot config file Installing boot loader USB stick set up as live image! ---Then tested with qemu: # qemu -hda /dev/sdd1 -m 256 -std-vga No protocol specified No protocol specified Could not initialize SDL - exiting --- Box is Asus P5K Mobo with Core 2 Quad Q6600 2.4GHZ, 2GB Mem. Running F-8. Your help will be appreciated. Thanks, M. A. MacLain From dmc.fedora at filteredperception.org Tue Mar 11 03:02:34 2008 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Mon, 10 Mar 2008 22:02:34 -0500 Subject: [Fedora-livecd-list] F9 Live USB stick problem In-Reply-To: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> References: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> Message-ID: <47D5F64A.1020608@filteredperception.org> ergodic wrote: > ---An attempt to test F-9 Live from USB Stick failed with the following results: > This is a current limitation of qemu (at least). You could try booting on real hardware that is known to work with f8 and livecd-iso-to-disk. Also, what you probably meant to do (if it would have worked, which it won't), is '-hda /dev/sdd', not '-hda /dev/sdd1'. I also really wanted to be able to test liveusb under qemu. I vaguely recall my googling/qemu-devel list searching yielded the fact that it might have even worked on an older version, but has regressed. You might try googling for the issue, and then perhaps posing the question on qemu-devel as to why it doesn't work. Or, a better way to start this response would have been - did you try the same thing with an f8 liveusb and did it work? Probably you should try that before asking qemu-devel, but I'm pretty sure my recollection of the situation was accurate. -dmc > > # livecd-iso-to-disk /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso /dev/sdd1 > Verifying image... > /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso: 1149f84da5e45a818af342498581e0c6 > Fragment sums: 9fcbb8dced6ec5174f3b85ac6e85c2f13496d8115cbbb02b6ff1783e9584 > Fragment count: 20 > Percent complete: 100.0% Fragment[20/20] -> OK > 100.0 > The media check is complete, the result is: PASS. > > It is OK to use this media. > Copying live image to USB stick > Updating boot config file > Installing boot loader > USB stick set up as live image! > > > ---Then tested with qemu: > > # qemu -hda /dev/sdd1 -m 256 -std-vga > No protocol specified > No protocol specified > Could not initialize SDL - exiting > > > --- Box is Asus P5K Mobo with Core 2 Quad Q6600 2.4GHZ, 2GB Mem. Running F-8. > > Your help will be appreciated. > Thanks, > > M. A. MacLain > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From katzj at redhat.com Tue Mar 11 03:14:43 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 10 Mar 2008 23:14:43 -0400 Subject: [Fedora-livecd-list] F9 Live USB stick problem In-Reply-To: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> References: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> Message-ID: <1205205283.10548.0.camel@aglarond.local> On Mon, 2008-03-10 at 22:15 -0400, ergodic wrote: > # qemu -hda /dev/sdd1 -m 256 -std-vga > No protocol specified > No protocol specified > Could not initialize SDL - exiting As dmc says, you'll want to use -hda /dev/sdd but the bigger problem is your last line. The user you're running as can't access X to actually do the display. So you'll either need to give it access via xauth or use -vnc and connect via vnc Jeremy From katzj at redhat.com Tue Mar 11 03:15:04 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 10 Mar 2008 23:15:04 -0400 Subject: [Fedora-livecd-list] F9 Live USB stick problem In-Reply-To: <47D5F64A.1020608@filteredperception.org> References: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> <47D5F64A.1020608@filteredperception.org> Message-ID: <1205205304.10548.2.camel@aglarond.local> On Mon, 2008-03-10 at 22:02 -0500, Douglas McClendon wrote: > ergodic wrote: > > ---An attempt to test F-9 Live from USB Stick failed with the following results: > > This is a current limitation of qemu (at least). You could try booting > on real hardware that is known to work with f8 and livecd-iso-to-disk. > Also, what you probably meant to do (if it would have worked, which it > won't), is '-hda /dev/sdd', not '-hda /dev/sdd1'. It should work -- I do it relatively often to test things out Jeremy From gmml at embarqmail.com Tue Mar 11 03:20:46 2008 From: gmml at embarqmail.com (ergodic) Date: Mon, 10 Mar 2008 23:20:46 -0400 (EDT) Subject: [Fedora-livecd-list] F9 Live USB stick problem In-Reply-To: <47D5F64A.1020608@filteredperception.org> Message-ID: <970793598.5477291205205646528.JavaMail.root@md17.embarq.synacor.com> Douglas thanks for your prompt replay. I just finished testing the stick in the box and it works. As you indicated this must be a "qemu" limitation which I am not going to pursue. I am more interested in F-9. Regards, MAML ----- Original Message ----- From: Douglas McClendon To: fedora-livecd-list at redhat.com Sent: Mon, 10 Mar 2008 23:02:34 -0400 (EDT) Subject: Re: [Fedora-livecd-list] F9 Live USB stick problem ergodic wrote: > ---An attempt to test F-9 Live from USB Stick failed with the following results: > This is a current limitation of qemu (at least). You could try booting on real hardware that is known to work with f8 and livecd-iso-to-disk. Also, what you probably meant to do (if it would have worked, which it won't), is '-hda /dev/sdd', not '-hda /dev/sdd1'. I also really wanted to be able to test liveusb under qemu. I vaguely recall my googling/qemu-devel list searching yielded the fact that it might have even worked on an older version, but has regressed. You might try googling for the issue, and then perhaps posing the question on qemu-devel as to why it doesn't work. Or, a better way to start this response would have been - did you try the same thing with an f8 liveusb and did it work? Probably you should try that before asking qemu-devel, but I'm pretty sure my recollection of the situation was accurate. -dmc > > # livecd-iso-to-disk /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso /dev/sdd1 > Verifying image... > /home/ml/Fedora-9-Alpha-Live-x86_64/Fedora-9-Alpha-Live-x86_64.iso: 1149f84da5e45a818af342498581e0c6 > Fragment sums: 9fcbb8dced6ec5174f3b85ac6e85c2f13496d8115cbbb02b6ff1783e9584 > Fragment count: 20 > Percent complete: 100.0% Fragment[20/20] -> OK > 100.0 > The media check is complete, the result is: PASS. > > It is OK to use this media. > Copying live image to USB stick > Updating boot config file > Installing boot loader > USB stick set up as live image! > > > ---Then tested with qemu: > > # qemu -hda /dev/sdd1 -m 256 -std-vga > No protocol specified > No protocol specified > Could not initialize SDL - exiting > > > --- Box is Asus P5K Mobo with Core 2 Quad Q6600 2.4GHZ, 2GB Mem. Running F-8. > > Your help will be appreciated. > Thanks, > > M. A. MacLain > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list From dmc.fedora at filteredperception.org Tue Mar 11 03:18:40 2008 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Mon, 10 Mar 2008 22:18:40 -0500 Subject: [Fedora-livecd-list] F9 Live USB stick problem In-Reply-To: <1205205304.10548.2.camel@aglarond.local> References: <1432015597.5467651205201732621.JavaMail.root@md17.embarq.synacor.com> <47D5F64A.1020608@filteredperception.org> <1205205304.10548.2.camel@aglarond.local> Message-ID: <47D5FA10.6070902@filteredperception.org> Jeremy Katz wrote: > On Mon, 2008-03-10 at 22:02 -0500, Douglas McClendon wrote: >> ergodic wrote: >>> ---An attempt to test F-9 Live from USB Stick failed with the following results: >> This is a current limitation of qemu (at least). You could try booting >> on real hardware that is known to work with f8 and livecd-iso-to-disk. >> Also, what you probably meant to do (if it would have worked, which it >> won't), is '-hda /dev/sdd', not '-hda /dev/sdd1'. > > It should work -- I do it relatively often to test things out cool. It has definitely been months since I last tried, so presumably they fixed the bug I was running into. Of course, an even better improvement would be :) -dmc From gmml at embarqmail.com Tue Mar 11 14:11:11 2008 From: gmml at embarqmail.com (ergodic) Date: Tue, 11 Mar 2008 10:11:11 -0400 (EDT) Subject: [Fedora-livecd-list] F9 Live USB stick problem In-Reply-To: <1205205304.10548.2.camel@aglarond.local> Message-ID: <760424382.5524321205244671334.JavaMail.root@md17.embarq.synacor.com> Jeremy thanks for your help. I will be away for the next few days. As soon as I return I will try your suggestions. Regards, MAML ----- Original Message ----- From: Jeremy Katz To: fedora-livecd-list at redhat.com Sent: Mon, 10 Mar 2008 23:15:04 -0400 (EDT) Subject: Re: [Fedora-livecd-list] F9 Live USB stick problem On Mon, 2008-03-10 at 22:02 -0500, Douglas McClendon wrote: > ergodic wrote: > > ---An attempt to test F-9 Live from USB Stick failed with the following results: > > This is a current limitation of qemu (at least). You could try booting > on real hardware that is known to work with f8 and livecd-iso-to-disk. > Also, what you probably meant to do (if it would have worked, which it > won't), is '-hda /dev/sdd', not '-hda /dev/sdd1'. It should work -- I do it relatively often to test things out Jeremy -- Fedora-livecd-list mailing list Fedora-livecd-list at redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list From katzj at fedoraproject.org Tue Mar 11 16:49:18 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 11 Mar 2008 16:49:18 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-desktop.ks Message-ID: <200803111649.m2BGnIR5019657@hosted1.fedoraproject.org> config/livecd-fedora-desktop.ks | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 0ea6f75f70999f6ee06c37266cde8c5f2d953813 Author: Jeremy Katz Date: Tue Mar 11 12:45:39 2008 -0400 Some space-saving diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks index a0d24bc..106bf52 100644 --- a/config/livecd-fedora-desktop.ks +++ b/config/livecd-fedora-desktop.ks @@ -124,6 +124,7 @@ gnumeric # more fun with space saving -scim-lang-chinese +-scim-python-chinese scim-chewing scim-pinyin @@ -139,6 +140,8 @@ scim-pinyin -evince-djvu # temporary - drags in many deps -ekiga +-tomboy +-f-spot %end %post From svahl at fedoraproject.org Tue Mar 11 20:27:29 2008 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Tue, 11 Mar 2008 20:27:29 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200803112027.m2BKRTYb024276@hosted1.fedoraproject.org> config/livecd-fedora-kde.ks | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit bf79596294543cced59a43570c031177fd5b7499 Author: Sebastian Vahl Date: Tue Mar 11 21:24:19 2008 +0100 directly depend on nm-applet and remove the dummy package knetworkmanager diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 13ea212..4916336 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -3,6 +3,10 @@ %packages @kde-desktop +# include nm-applet directly +-knetworkmanager +NetworkManager-gnome + # unwanted packages from @kde-desktop # don't include these for now to fit on a cd # digikam (~11 megs), ktorrent (~3 megs), amarok (~14 megs), From katzj at fedoraproject.org Fri Mar 14 22:14:50 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 14 Mar 2008 22:14:50 GMT Subject: [Fedora-livecd-list] 2 commits - imgcreate/live.py tools/livecd-iso-to-disk.sh Message-ID: <200803142214.m2EMEoYi000869@hosted1.fedoraproject.org> imgcreate/live.py | 6 ++++-- tools/livecd-iso-to-disk.sh | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) New commits: commit e128200e1b6b9f2d71681dcd74e8906f8c775c1f Author: Jeremy Katz Date: Fri Mar 14 18:06:30 2008 -0400 Add pcmcia modules (#435903) diff --git a/imgcreate/live.py b/imgcreate/live.py index 0474d59..c6267f7 100644 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -66,7 +66,7 @@ class LiveImageCreatorBase(LoopImageCreator): self.__isodir = None - self.__modules = ["=ata", "sym53c8xx", "aic7xxx", "=usb", "=firewire", "=mmc"] + self.__modules = ["=ata", "sym53c8xx", "aic7xxx", "=usb", "=firewire", "=mmc", "=pcmcia"] self.__modules.extend(kickstart.get_modules(self.ks)) # @@ -209,7 +209,7 @@ class LiveImageCreatorBase(LoopImageCreator): f.write('LIVEOS="yes"\n') f.write('PROBE="no"\n') f.write('MODULES+="squashfs ext3 ext2 vfat msdos "\n') - f.write('MODULES+="sr_mod sd_mod ide-cd "\n') + f.write('MODULES+="sr_mod sd_mod ide-cd cdrom "\n') for module in self.__modules: if module == "=usb": @@ -220,6 +220,8 @@ class LiveImageCreatorBase(LoopImageCreator): f.write('MODULES+="sbp2 ohci1394 ieee1394 "\n') elif module == "=mmc": f.write('MODULES+="mmc_block sdhci "\n') + elif module == "=pcmcia": + f.write('MODULES+="pata_pcmcia "\n') else: f.write('MODULES+="' + module + ' "\n') commit eb2c5c3c5e8a3e78a19d1cc2ac06813ee5a05442 Author: Jeremy Katz Date: Mon Mar 10 11:34:40 2008 -0400 Deal with sillies of bash so that we don't check overlaysizemb unless it exists diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 5aeeca7..0302bcf 100644 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -197,9 +197,11 @@ checkPartActive $USBDEV checkMBR $USBDEV [ -n $resetmbr ] && resetMBR $USBDEV -if [ -n "$overlaysizemb" -a "$USBFS" = "vfat" -a "$overlaysizemb" -gt 2047 ]; then +if [ -n "$overlaysizemb" -a "$USBFS" = "vfat" ]; then + if [ "$overlaysizemb" -gt 2047 ]; then echo "Can't have an overlay greater than 2048MB on VFAT" exitclean + fi fi # FIXME: would be better if we had better mountpoints From andreas.winkelbauer at gmx.at Sun Mar 16 22:22:00 2008 From: andreas.winkelbauer at gmx.at (Andreas Winkelbauer) Date: Sun, 16 Mar 2008 22:22:00 +0000 (UTC) Subject: [Fedora-livecd-list] multiple live images on one usb stick Message-ID: hi, is it possible to have more than one, let's say two, live images on one usb stick (for example F8 and F9-beta)? cheers, andi From valent.turkovic at gmail.com Mon Mar 17 08:16:45 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Mon, 17 Mar 2008 09:16:45 +0100 Subject: [Fedora-livecd-list] F8 Live CD respin without first boot wizard?!? Message-ID: <64b14b300803170116j3602c27bgbfce45f18040acb5@mail.gmail.com> Hi, our local LUG organized Fedora/Ubuntu install fest and I created for that occasion respin of Fedora 8 Live CD with updated packages because I didn't want to have 10 people go and try to get 200MB (or is it even more) of updates all at once. I found out one bug that livecd.creator has or kickstart file, or something else, so please help me because I don't know where to file this bug. I recreated the Fedora 8 Live CD with this command: livecd-creator -c livecd-fedora-8-desktop.ks -f F8Desktop -t /virtual/tmp It boots and it installs to hard disk without problems, but after first boot there is no "first boot wizard" that creates user so all users get is an empty gdm screen to which then can it they know enter root as a user. Has anybody tried making respins for F8 Live CD? Do your lice CDs work as original F8 so that you get first time boot wizard that asks for user name and password so you create user that will log on later? Cheers, Valent. -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From katzj at redhat.com Mon Mar 17 16:04:23 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 17 Mar 2008 12:04:23 -0400 Subject: [Fedora-livecd-list] F8 Live CD respin without first boot wizard?!? In-Reply-To: <64b14b300803170116j3602c27bgbfce45f18040acb5@mail.gmail.com> References: <64b14b300803170116j3602c27bgbfce45f18040acb5@mail.gmail.com> Message-ID: <1205769863.11303.39.camel@aglarond.local> On Mon, 2008-03-17 at 09:16 +0100, Valent Turkovic wrote: > It boots and it installs to hard disk without problems, but after > first boot there is no "first boot wizard" that creates user so all > users get is an empty gdm screen to which then can it they know enter > root as a user. This is probably a bug related to firstboot, not livecd-creator Jeremy From jvonau at shaw.ca Mon Mar 17 16:29:23 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Mon, 17 Mar 2008 11:29:23 -0500 Subject: [Fedora-livecd-list] F8 Live CD respin without first boot wizard?!? In-Reply-To: <1205769863.11303.39.camel@aglarond.local> References: <64b14b300803170116j3602c27bgbfce45f18040acb5@mail.gmail.com> <1205769863.11303.39.camel@aglarond.local> Message-ID: <47DE9C63.5000206@shaw.ca> Jeremy Katz wrote: > On Mon, 2008-03-17 at 09:16 +0100, Valent Turkovic wrote: >> It boots and it installs to hard disk without problems, but after >> first boot there is no "first boot wizard" that creates user so all >> users get is an empty gdm screen to which then can it they know enter >> root as a user. > > This is probably a bug related to firstboot, not livecd-creator > Check /etc/sysconfig/firstboot on the newly installed system, I'll bet that it's set to "NO", (a'la the livecd's ks file) change that to YES and also ensure that firstboot is enabled via chkconfig. Hope it helps, Jerry From ml at deadbabylon.de Mon Mar 17 20:32:39 2008 From: ml at deadbabylon.de (Sebastian Vahl) Date: Mon, 17 Mar 2008 21:32:39 +0100 Subject: [Fedora-livecd-list] Boot options for liveins and textinst? Message-ID: <200803172132.46290.ml@deadbabylon.de> Hi. The boot options "liveinst" and "textinst" are existing quite some time in the livecd-creator source. Are there plans to put them into the isolinux menu for easier access at boot time? Or are they not ready yet? Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From katzj at redhat.com Mon Mar 17 22:11:06 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 17 Mar 2008 18:11:06 -0400 Subject: [Fedora-livecd-list] Boot options for liveins and textinst? In-Reply-To: <200803172132.46290.ml@deadbabylon.de> References: <200803172132.46290.ml@deadbabylon.de> Message-ID: <1205791866.11067.6.camel@aglarond.local> On Mon, 2008-03-17 at 21:32 +0100, Sebastian Vahl wrote: > The boot options "liveinst" and "textinst" are existing quite some time in the > livecd-creator source. Are there plans to put them into the isolinux menu for > easier access at boot time? Or are they not ready yet? No. It's much much much more recommended that you actually go into the desktop environment to start the installation. I only added them because I was tired of people asking and it was trivial to do. But the testing they get is nearly none Jeremy From tim.wood at datawranglers.com Mon Mar 17 22:27:22 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Mon, 17 Mar 2008 16:27:22 -0600 Subject: [Fedora-livecd-list] Boot options for liveins and textinst? In-Reply-To: <1205791866.11067.6.camel@aglarond.local> References: <200803172132.46290.ml@deadbabylon.de> <1205791866.11067.6.camel@aglarond.local> Message-ID: <47DEF04A.5030700@datawranglers.com> If someone wanted to live way out on the edge, they could append the items they wanted to $LIVE_ROOT/isolinux/isolinux.cfg in %post nochroot .. Tim Jeremy Katz wrote: > On Mon, 2008-03-17 at 21:32 +0100, Sebastian Vahl wrote: > >> The boot options "liveinst" and "textinst" are existing quite some time in the >> livecd-creator source. Are there plans to put them into the isolinux menu for >> easier access at boot time? Or are they not ready yet? >> > > No. It's much much much more recommended that you actually go into the > desktop environment to start the installation. I only added them > because I was tired of people asking and it was trivial to do. But the > testing they get is nearly none > > Jeremy > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ml at deadbabylon.de Mon Mar 17 23:05:30 2008 From: ml at deadbabylon.de (Sebastian Vahl) Date: Tue, 18 Mar 2008 00:05:30 +0100 Subject: [Fedora-livecd-list] Boot options for liveins and textinst? In-Reply-To: <1205791866.11067.6.camel@aglarond.local> References: <200803172132.46290.ml@deadbabylon.de> <1205791866.11067.6.camel@aglarond.local> Message-ID: <20080318000530.0c9ca1ab@deadbabylon.de> Am Mon, 17 Mar 2008 18:11:06 -0400 schrieb Jeremy Katz : > On Mon, 2008-03-17 at 21:32 +0100, Sebastian Vahl wrote: > > The boot options "liveinst" and "textinst" are existing quite some > > time in the livecd-creator source. Are there plans to put them into > > the isolinux menu for easier access at boot time? Or are they not > > ready yet? > > No. It's much much much more recommended that you actually go into > the desktop environment to start the installation. I only added them > because I was tired of people asking and it was trivial to do. But > the testing they get is nearly none Ok. Thanks for the explanation. Although it would be a great feature if usuable. Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From gary at mlbassoc.com Mon Mar 17 23:50:30 2008 From: gary at mlbassoc.com (Gary Thomas) Date: Mon, 17 Mar 2008 17:50:30 -0600 Subject: [Fedora-livecd-list] Build LiveCD for another architecture Message-ID: <47DF03C6.6060809@mlbassoc.com> I'm trying to see if I can get the LiveCD tools to work in a pseudo-cross environment (using qemu as a helper). I have a lot of it working, down to the point where it's ready to install the actual packages. Then I get this error: Error creating Live CD : Unable to install: [('package filesystem-2.4.11-1.fc8.ppc is intended for a ppc architecture' I can't seem to figure out where this message comes from, nor how it is coming to this conclusion. n.b. I am running this on an x86, trying to force it to build for ppc. I've hacked things such that os.uname() always returns 'ppc' for the machine name which is how I got this far. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From katzj at redhat.com Tue Mar 18 03:57:08 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 17 Mar 2008 23:57:08 -0400 Subject: [Fedora-livecd-list] Build LiveCD for another architecture In-Reply-To: <47DF03C6.6060809@mlbassoc.com> References: <47DF03C6.6060809@mlbassoc.com> Message-ID: <1205812628.10427.8.camel@aglarond.local> On Mon, 2008-03-17 at 17:50 -0600, Gary Thomas wrote: > I'm trying to see if I can get the LiveCD tools to work > in a pseudo-cross environment (using qemu as a helper). > I have a lot of it working, down to the point where it's > ready to install the actual packages. Then I get this > error: > Error creating Live CD : > Unable to install: > [('package filesystem-2.4.11-1.fc8.ppc is intended for a ppc architecture' > > I can't seem to figure out where this message comes from, nor > how it is coming to this conclusion. It's going to be coming from rpm -- I forget exactly which specific part of rpm, though. One notable problem you're going to have is all of the %post scripts aren't going to run properly Jeremy From valent.turkovic at gmail.com Tue Mar 18 09:02:11 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Tue, 18 Mar 2008 10:02:11 +0100 Subject: [Fedora-livecd-list] F8 Live CD respin without first boot wizard?!? In-Reply-To: <47DE9C63.5000206@shaw.ca> References: <64b14b300803170116j3602c27bgbfce45f18040acb5@mail.gmail.com> <1205769863.11303.39.camel@aglarond.local> <47DE9C63.5000206@shaw.ca> Message-ID: <64b14b300803180202r16dde30asd3832fb3cc20994e@mail.gmail.com> On Mon, Mar 17, 2008 at 5:29 PM, Jerry Vonau wrote: > Jeremy Katz wrote: > > On Mon, 2008-03-17 at 09:16 +0100, Valent Turkovic wrote: > >> It boots and it installs to hard disk without problems, but after > >> first boot there is no "first boot wizard" that creates user so all > >> users get is an empty gdm screen to which then can it they know enter > >> root as a user. > > > > This is probably a bug related to firstboot, not livecd-creator > > > > Check /etc/sysconfig/firstboot on the newly installed system, I'll bet > that it's set to "NO", (a'la the livecd's ks file) change that to YES > and also ensure that firstboot is enabled via chkconfig. > > Hope it helps, > > Jerry There is no /etc/sysconfig/firstboot file or directory when I do an ls firstboot is started as a service for levels 3 and 5. here is a BZ entry: https://bugzilla.redhat.com/show_bug.cgi?id=437765 -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From valent.turkovic at gmail.com Tue Mar 18 09:32:36 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Tue, 18 Mar 2008 10:32:36 +0100 Subject: [Fedora-livecd-list] OpenOffice on F9 Live CD? Message-ID: <64b14b300803180232i63152ba5o9fe2f5b097617292@mail.gmail.com> Hi, there has been a push to remove some odd langunages (mine is also on the list), in order to make room for OpenOffice.org Is F9 Live CD going to have OpenOffice on it? Cheers, Valent. -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From cnegus at rucls.net Tue Mar 18 12:00:21 2008 From: cnegus at rucls.net (Chris Negus) Date: Tue, 18 Mar 2008 07:00:21 -0500 Subject: [Fedora-livecd-list] multiple live images on one usb stick In-Reply-To: References: Message-ID: <1205841621.2301.178.camel@einstein> On Sun, 2008-03-16 at 22:22 +0000, Andreas Winkelbauer wrote: > hi, > > is it possible to have more than one, let's say two, live images on one usb > stick (for example F8 and F9-beta)? Yes, that is possible, but I doubt that livecd-creator will let you do that. I make live CDs/DVDs all the time that have multiple live/install images on a single medium. You just have to make sure the compressed images are named differently and that the isolinux.cfg file points to the right initrds, kernels and images. -- Chris Negus From sundaram at fedoraproject.org Tue Mar 18 12:10:04 2008 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Tue, 18 Mar 2008 17:40:04 +0530 Subject: [Fedora-livecd-list] OpenOffice on F9 Live CD? In-Reply-To: <64b14b300803180232i63152ba5o9fe2f5b097617292@mail.gmail.com> References: <64b14b300803180232i63152ba5o9fe2f5b097617292@mail.gmail.com> Message-ID: <47DFB11C.2010201@fedoraproject.org> Valent Turkovic wrote: > Hi, > there has been a push to remove some odd langunages (mine is also on > the list), in order to make room for OpenOffice.org > > Is F9 Live CD going to have OpenOffice on it? No plans to. The languages were removed just to accommodate more or less the same set of packages because software has grown in size meanwhile. Rahul From svahl at fedoraproject.org Tue Mar 18 14:44:02 2008 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Tue, 18 Mar 2008 14:44:02 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200803181444.m2IEi2Xm013834@hosted1.fedoraproject.org> config/livecd-fedora-kde.ks | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) New commits: commit 27adc6d1bd0d403c668d868403298fbf0294f8bd Author: Sebastian Vahl Date: Tue Mar 18 15:37:53 2008 +0100 make sure, pirut isn't on the beta; remove twinkle to save space diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index 4916336..a4550ff 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -26,7 +26,7 @@ koffice-filters k3b filelight # twinkle (~10 megs) -twinkle +#twinkle # some extras fuse @@ -57,6 +57,9 @@ tibetan-machine-uni-fonts # save some space -autofs +# make sure, pirut isn't on the beta +-pirut + %end %post From gary at mlbassoc.com Tue Mar 18 15:28:23 2008 From: gary at mlbassoc.com (Gary Thomas) Date: Tue, 18 Mar 2008 09:28:23 -0600 Subject: [Fedora-livecd-list] Build LiveCD for another architecture In-Reply-To: <1205812628.10427.8.camel@aglarond.local> References: <47DF03C6.6060809@mlbassoc.com> <1205812628.10427.8.camel@aglarond.local> Message-ID: <47DFDF97.80006@mlbassoc.com> Jeremy Katz wrote: > On Mon, 2008-03-17 at 17:50 -0600, Gary Thomas wrote: >> I'm trying to see if I can get the LiveCD tools to work >> in a pseudo-cross environment (using qemu as a helper). >> I have a lot of it working, down to the point where it's >> ready to install the actual packages. Then I get this >> error: >> Error creating Live CD : >> Unable to install: >> [('package filesystem-2.4.11-1.fc8.ppc is intended for a ppc architecture' >> >> I can't seem to figure out where this message comes from, nor >> how it is coming to this conclusion. > > It's going to be coming from rpm -- I forget exactly which specific part > of rpm, though. One notable problem you're going to have is all of the > %post scripts aren't going to run properly That's what qemu is there for :-) I found a way to pass [the equivalent of] --ignorearch to rpm when yum runs and now it installs my packages. There are still a couple of rough spots when the %post scripts run (these run as emulated PPC code via qemu), but I'm getting close to making all of this work. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From gary at mlbassoc.com Tue Mar 18 15:38:27 2008 From: gary at mlbassoc.com (Gary Thomas) Date: Tue, 18 Mar 2008 09:38:27 -0600 Subject: [Fedora-livecd-list] Image options Message-ID: <47DFE1F3.7090404@mlbassoc.com> Are there image options other than squashFS for the LiveCD? I ask because building squashFS images on the PowerPC is excruciatingly slow :-( -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ From jvonau at shaw.ca Tue Mar 18 16:19:54 2008 From: jvonau at shaw.ca (Jerry Vonau) Date: Tue, 18 Mar 2008 11:19:54 -0500 Subject: [Fedora-livecd-list] Image options In-Reply-To: <47DFE1F3.7090404@mlbassoc.com> References: <47DFE1F3.7090404@mlbassoc.com> Message-ID: <47DFEBAA.8080509@shaw.ca> Gary Thomas wrote: > Are there image options other than squashFS for the LiveCD? > I ask because building squashFS images on the PowerPC is > excruciatingly slow :-( > There is an undocumented option --skip-compression that should leave the ext3fs.img file in LiveOS instead of placing it within squashfs.img. Think that would be a dvd only trick... or a barebones install on a cd. Hope it helps, Jerry From tim.wood at datawranglers.com Wed Mar 19 06:10:24 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Wed, 19 Mar 2008 00:10:24 -0600 Subject: [Fedora-livecd-list] latest update version of livecd-tools In-Reply-To: <47DFEBAA.8080509@shaw.ca> References: <47DFE1F3.7090404@mlbassoc.com> <47DFEBAA.8080509@shaw.ca> Message-ID: <47E0AE50.5060401@datawranglers.com> FWIW, the latest version of livecd-tools in update (as opposed to rawhide) is working great for me with my various kickstart files under f8 with all updates/no rawhide. Woo hoo! Good work! Tim From dmc.fedora at filteredperception.org Wed Mar 19 07:31:12 2008 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Wed, 19 Mar 2008 02:31:12 -0500 Subject: [Fedora-livecd-list] Image options In-Reply-To: <47DFEBAA.8080509@shaw.ca> References: <47DFE1F3.7090404@mlbassoc.com> <47DFEBAA.8080509@shaw.ca> Message-ID: <47E0C140.3090607@filteredperception.org> Jerry Vonau wrote: > Gary Thomas wrote: >> Are there image options other than squashFS for the LiveCD? >> I ask because building squashFS images on the PowerPC is >> excruciatingly slow :-( >> > There is an undocumented option --skip-compression that should leave the > ext3fs.img file in LiveOS instead of placing it within squashfs.img. > Think that would be a dvd only trick... or a barebones install on a cd. Also relevant, is that iso9660 doesn't support sparse files, so there is some nasty overhead there. Though there are ways to work around that if you were really interested (using squashfs but without compression, or nesting a sparse ext3 image in an unsparse one). But now that I'm a full-time workin' man again, I certainly won't have time to implement any of that real soon. :) peace... -dmc From lars.bjorndal at broadpark.no Wed Mar 19 08:23:52 2008 From: lars.bjorndal at broadpark.no (Lars =?iso-8859-1?Q?Bj=F8rndal?=) Date: Wed, 19 Mar 2008 09:23:52 +0100 Subject: [Fedora-livecd-list] latest update version of livecd-tools In-Reply-To: <47E0AE50.5060401@datawranglers.com> (Tim Wood's message of "Wed, 19 Mar 2008 00:10:24 -0600") References: <47DFE1F3.7090404@mlbassoc.com> <47DFEBAA.8080509@shaw.ca> <47E0AE50.5060401@datawranglers.com> Message-ID: Tim Wood writes: > FWIW, the latest version of livecd-tools in update (as opposed to > rawhide) is working great for me with my various kickstart files under > f8 with all updates/no rawhide. Woo hoo! What about revisor, does that work as well? Lars From valent.turkovic at gmail.com Wed Mar 19 10:02:00 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Wed, 19 Mar 2008 11:02:00 +0100 Subject: [Fedora-livecd-list] Re: OpenOffice on F9 Live CD? In-Reply-To: <64b14b300803180232i63152ba5o9fe2f5b097617292@mail.gmail.com> References: <64b14b300803180232i63152ba5o9fe2f5b097617292@mail.gmail.com> Message-ID: <64b14b300803190302m6e9a6eya665290c1dfb2cc@mail.gmail.com> This email was a error. Please ignore it. On Tue, Mar 18, 2008 at 10:32 AM, Valent Turkovic wrote: > Hi, > there has been a push to remove some odd langunages (mine is also on > the list), in order to make room for OpenOffice.org > > Is F9 Live CD going to have OpenOffice on it? > > Cheers, > Valent. > > -- > http://kernelreloaded.blog385.com/ > linux, blog, anime, spirituality, windsurf, wireless > registered as user #367004 with the Linux Counter, http://counter.li.org. > ICQ: 2125241, Skype: valent.turkovic > -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From valent.turkovic at gmail.com Wed Mar 19 11:43:35 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Wed, 19 Mar 2008 12:43:35 +0100 Subject: [Fedora-livecd-list] livecd-creator fails on rawhide Message-ID: <64b14b300803190443r5acfe9aet7c4430cbd6f80ce5@mail.gmail.com> I have selinux in permissive mode, and I get this error. Is this a bug I should file with livecd-tools or selinux? Cheers, Valent. # livecd-creator -c /usr/share/livecd-tools/livecd-fedora-8-base-desktop.ks -f Fedora8-LinuxOsijek -t /media/sda8/ Traceback (most recent call last): File "/usr/bin/livecd-creator", line 132, in sys.exit(main()) File "/usr/bin/livecd-creator", line 108, in main creator = imgcreate.LiveImageCreator(ks, name, fs_label) File "/usr/lib/python2.5/site-packages/imgcreate/live.py", line 46, in __init__ LoopImageCreator.__init__(self, *args) File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 716, in __init__ ImageCreator.__init__(self, ks, name) File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 74, in __init__ self.__sanity_check() File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 398, in __sanity_check raise CreatorError("SELinux requested but not enabled on host") imgcreate.errors.CreatorError: SELinux requested but not enabled on host -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From ml at deadbabylon.de Wed Mar 19 11:49:42 2008 From: ml at deadbabylon.de (Sebastian Vahl) Date: Wed, 19 Mar 2008 12:49:42 +0100 Subject: [Fedora-livecd-list] livecd-creator fails on rawhide In-Reply-To: <64b14b300803190443r5acfe9aet7c4430cbd6f80ce5@mail.gmail.com> References: <64b14b300803190443r5acfe9aet7c4430cbd6f80ce5@mail.gmail.com> Message-ID: <200803191249.48661.ml@deadbabylon.de> Please have a look at the error message: > imgcreate.errors.CreatorError: SELinux requested but not enabled on host You don't have selinux enabled on your host machine but want to create a live image which has selinux enabled (and the default configs do have it enabled). Solutions: a) enable selinux on your host machine (either enforcing or permissive) b) disable selinux in the kickstart Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From valent.turkovic at gmail.com Wed Mar 19 15:12:57 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Wed, 19 Mar 2008 16:12:57 +0100 Subject: [Fedora-livecd-list] livecd-creator fails on rawhide In-Reply-To: <200803191249.48661.ml@deadbabylon.de> References: <64b14b300803190443r5acfe9aet7c4430cbd6f80ce5@mail.gmail.com> <200803191249.48661.ml@deadbabylon.de> Message-ID: <64b14b300803190812o3cb74574u767da02925b5e937@mail.gmail.com> On Wed, Mar 19, 2008 at 12:49 PM, Sebastian Vahl wrote: > Please have a look at the error message: > > > > imgcreate.errors.CreatorError: SELinux requested but not enabled on host > > You don't have selinux enabled on your host machine but want to create a live > image which has selinux enabled (and the default configs do have it enabled). > > Solutions: > a) enable selinux on your host machine (either enforcing or permissive) > b) disable selinux in the kickstart > > Sebastian Jup, my bad, sorry, I was almost sure that it was in permissive mode. Valent. -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From rjones at redhat.com Wed Mar 19 18:06:12 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Wed, 19 Mar 2008 18:06:12 +0000 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? Message-ID: <20080319180612.GA32488@amd.home.annexia.org> Maybe this is a kickstart question, I don't know. I've discovered that you can't specify versions of packages in the live CD kickstart file, eg the following doesn't work: %packages dhclient >= 4.0.0 For my application I really do need to specify minimum package versions, otherwise users will end up with a live CD that definitely won't work. Any suggestions about how to enforce this? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top From notting at redhat.com Wed Mar 19 18:52:16 2008 From: notting at redhat.com (Bill Nottingham) Date: Wed, 19 Mar 2008 14:52:16 -0400 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <20080319180612.GA32488@amd.home.annexia.org> References: <20080319180612.GA32488@amd.home.annexia.org> Message-ID: <20080319185216.GA14568@nostromo.devel.redhat.com> Richard W.M. Jones (rjones at redhat.com) said: > > Maybe this is a kickstart question, I don't know. > > I've discovered that you can't specify versions of packages in the > live CD kickstart file, eg the following doesn't work: > > %packages > dhclient >= 4.0.0 > > For my application I really do need to specify minimum package > versions, otherwise users will end up with a live CD that definitely > won't work. Any suggestions about how to enforce this? Point the config at a proper repo that has the packages you know work? Bill From tim.wood at datawranglers.com Wed Mar 19 19:41:55 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Wed, 19 Mar 2008 13:41:55 -0600 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <20080319185216.GA14568@nostromo.devel.redhat.com> References: <20080319180612.GA32488@amd.home.annexia.org> <20080319185216.GA14568@nostromo.devel.redhat.com> Message-ID: <47E16C83.8090105@datawranglers.com> You could create a RPM that requires what you want. The RPM doesn't have to do anything else. The RPM build script should be pretty short ;-) . Tim >> Maybe this is a kickstart question, I don't know. >> >> I've discovered that you can't specify versions of packages in the >> live CD kickstart file, eg the following doesn't work: >> >> %packages >> dhclient >= 4.0.0 >> >> For my application I really do need to specify minimum package >> versions, otherwise users will end up with a live CD that definitely >> won't work. Any suggestions about how to enforce this? >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From jkeating at redhat.com Wed Mar 19 20:07:06 2008 From: jkeating at redhat.com (Jesse Keating) Date: Wed, 19 Mar 2008 16:07:06 -0400 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <20080319180612.GA32488@amd.home.annexia.org> References: <20080319180612.GA32488@amd.home.annexia.org> Message-ID: <1205957226.3218.2.camel@localhost.localdomain> On Wed, 2008-03-19 at 18:06 +0000, Richard W.M. Jones wrote: > I've discovered that you can't specify versions of packages in the > live CD kickstart file, eg the following doesn't work: > > %packages > dhclient >= 4.0.0 > > For my application I really do need to specify minimum package > versions, otherwise users will end up with a live CD that definitely > won't work. Any suggestions about how to enforce this? > Yum isn't going to pull in arbitrary versions, it's going to pull in the latest version. Are you envisioning a scenario where the latest version isn't available to the user and you want the tool to bark about it and not compose their image? Why aren't your package Requires setup properly to handle this? -- Jesse Keating Fedora -- All my bits are free, are yours? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From devrim at CommandPrompt.com Thu Mar 20 08:31:23 2008 From: devrim at CommandPrompt.com (Devrim =?ISO-8859-1?Q?G=DCND=DCZ?=) Date: Thu, 20 Mar 2008 01:31:23 -0700 Subject: [Fedora-livecd-list] Inserting custom kernel parameter to live CD Message-ID: <1206001884.16612.197.camel@localhost.localdomain> Hi, I am building a live CD based on Fedora 8. I added this line to kickstart file: bootloader --append="selinux=0" --location=mbr I'm assuming that this will add a "selinux=0" line to grub. Am I wrong? I can't see this parameter in grub splash screen, and I still need to manually edit it to boot fine for some machines. Some of the users had a problem using my live CD, and using this parameter solves their problem (and yes, I don't care about selinux for this live CD). What is the way to add this parameter to kernel before booting? Regards, -- Devrim G?ND?Z , RHCE PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From msairam at intoto.com Thu Mar 20 09:44:35 2008 From: msairam at intoto.com (M P Sairam) Date: Thu, 20 Mar 2008 15:14:35 +0530 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen Message-ID: <47E23203.9030308@intoto.com> Hi, I want to create a live CD which can work in Xen. can any one help me? I googled it but i didn't get good enough material. Thanks in advance, -- Sairam ******************************************************************************** This email message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential, proprietary and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and destroy all copies of the original message. Thank you. Intoto Inc. From rjones at redhat.com Thu Mar 20 10:46:52 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Thu, 20 Mar 2008 10:46:52 +0000 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <20080319185216.GA14568@nostromo.devel.redhat.com> References: <20080319180612.GA32488@amd.home.annexia.org> <20080319185216.GA14568@nostromo.devel.redhat.com> Message-ID: <20080320104652.GB32488@amd.home.annexia.org> On Wed, Mar 19, 2008 at 02:52:16PM -0400, Bill Nottingham wrote: > Richard W.M. Jones (rjones at redhat.com) said: > > > > Maybe this is a kickstart question, I don't know. > > > > I've discovered that you can't specify versions of packages in the > > live CD kickstart file, eg the following doesn't work: > > > > %packages > > dhclient >= 4.0.0 > > > > For my application I really do need to specify minimum package > > versions, otherwise users will end up with a live CD that definitely > > won't work. Any suggestions about how to enforce this? > > Point the config at a proper repo that has the packages you > know work? Such a repo doesn't yet exist. I'm still working on getting the right versions into Fedora. I'll do the "meta RPM" thing as suggested in another reply. That'll also let me remove some hackish stuff in the %post script so it's a win all round. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v From rjones at redhat.com Thu Mar 20 10:48:04 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Thu, 20 Mar 2008 10:48:04 +0000 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen In-Reply-To: <47E23203.9030308@intoto.com> References: <47E23203.9030308@intoto.com> Message-ID: <20080320104804.GC32488@amd.home.annexia.org> On Thu, Mar 20, 2008 at 03:14:35PM +0530, M P Sairam wrote: > Hi, > I want to create a live CD which can work in Xen. can any one help me? > I googled it but i didn't get good enough material. You mean a live CD which can be booted as a Xen guest? Or a live CD which contains (eg) a Xen hypervisor? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top From msairam at intoto.com Thu Mar 20 11:55:41 2008 From: msairam at intoto.com (M P Sairam) Date: Thu, 20 Mar 2008 17:25:41 +0530 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen In-Reply-To: <20080320104804.GC32488@amd.home.annexia.org> References: <47E23203.9030308@intoto.com> <20080320104804.GC32488@amd.home.annexia.org> Message-ID: <47E250BD.6090408@intoto.com> Richard W.M. Jones wrote: > On Thu, Mar 20, 2008 at 03:14:35PM +0530, M P Sairam wrote: > >> Hi, >> I want to create a live CD which can work in Xen. can any one help me? >> I googled it but i didn't get good enough material. >> > > You mean a live CD which can be booted as a Xen guest? Or a live CD > which contains (eg) a Xen hypervisor? > > Rich. > > I mean a live CD which can be booted as a Xen guest Sairam ******************************************************************************** This email message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential, proprietary and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and destroy all copies of the original message. Thank you. Intoto Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From katzj at redhat.com Thu Mar 20 12:44:49 2008 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 20 Mar 2008 08:44:49 -0400 Subject: [Fedora-livecd-list] Inserting custom kernel parameter to live CD In-Reply-To: <1206001884.16612.197.camel@localhost.localdomain> References: <1206001884.16612.197.camel@localhost.localdomain> Message-ID: <1206017089.10400.10.camel@aglarond.local> On Thu, 2008-03-20 at 01:31 -0700, Devrim G?ND?Z wrote: > I am building a live CD based on Fedora 8. I added this line to > kickstart file: > > bootloader --append="selinux=0" --location=mbr bootloader --append isn't supported with the Fedora 8 version of livecd-tools Jeremy From rjones at redhat.com Thu Mar 20 13:28:27 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Thu, 20 Mar 2008 13:28:27 +0000 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen In-Reply-To: <47E250BD.6090408@intoto.com> References: <47E23203.9030308@intoto.com> <20080320104804.GC32488@amd.home.annexia.org> <47E250BD.6090408@intoto.com> Message-ID: <20080320132827.GD32488@amd.home.annexia.org> On Thu, Mar 20, 2008 at 05:25:41PM +0530, M P Sairam wrote: > Richard W.M. Jones wrote: >> On Thu, Mar 20, 2008 at 03:14:35PM +0530, M P Sairam wrote: >> >>> Hi, >>> I want to create a live CD which can work in Xen. can any one help me? >>> I googled it but i didn't get good enough material. >>> >> You mean a live CD which can be booted as a Xen guest? Or a live CD >> which contains (eg) a Xen hypervisor? >> > I mean a live CD which can be booted as a Xen guest I haven't tried it for Xen (only for QEMU/KVM where it definitely works), but you should just be able to boot the CDROM directly. Try creating XML configuration following this example: http://libvirt.org/format.html#Fully1 and set the cdrom source file to point to the ISO file. You can leave out the hard disk, or point it at an empty file or existing image depending on what you want. Then do: virsh define my.xml virsh start fv0 (where fv0 is whatever you chose as the domain name within the XML file). Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v From berrange at redhat.com Thu Mar 20 13:32:01 2008 From: berrange at redhat.com (Daniel P. Berrange) Date: Thu, 20 Mar 2008 13:32:01 +0000 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen In-Reply-To: <20080320132827.GD32488@amd.home.annexia.org> References: <47E23203.9030308@intoto.com> <20080320104804.GC32488@amd.home.annexia.org> <47E250BD.6090408@intoto.com> <20080320132827.GD32488@amd.home.annexia.org> Message-ID: <20080320133201.GC16821@redhat.com> On Thu, Mar 20, 2008 at 01:28:27PM +0000, Richard W.M. Jones wrote: > On Thu, Mar 20, 2008 at 05:25:41PM +0530, M P Sairam wrote: > > Richard W.M. Jones wrote: > >> On Thu, Mar 20, 2008 at 03:14:35PM +0530, M P Sairam wrote: > >> > >>> Hi, > >>> I want to create a live CD which can work in Xen. can any one help me? > >>> I googled it but i didn't get good enough material. > >>> > >> You mean a live CD which can be booted as a Xen guest? Or a live CD > >> which contains (eg) a Xen hypervisor? > >> > > I mean a live CD which can be booted as a Xen guest > > I haven't tried it for Xen (only for QEMU/KVM where it definitely > works), but you should just be able to boot the CDROM directly. > > Try creating XML configuration following this example: You can do this more directly with virt-install [quote src="virt-install(1)"] Run a Live CD image under Xen fullyvirt, in diskless environment # virt-install \ --hvm \ --name demo \ --ram 500 \ --nodisk \ --livecd \ --vnc \ --cdrom /root/fedora7live.iso [/quote] Regards, Dan. -- |: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| From msairam at intoto.com Thu Mar 20 14:07:42 2008 From: msairam at intoto.com (M P Sairam) Date: Thu, 20 Mar 2008 19:37:42 +0530 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen In-Reply-To: <20080320133201.GC16821@redhat.com> References: <47E23203.9030308@intoto.com> <20080320104804.GC32488@amd.home.annexia.org> <47E250BD.6090408@intoto.com> <20080320132827.GD32488@amd.home.annexia.org> <20080320133201.GC16821@redhat.com> Message-ID: <47E26FAE.3070801@intoto.com> Daniel P. Berrange wrote: > On Thu, Mar 20, 2008 at 01:28:27PM +0000, Richard W.M. Jones wrote: > >> On Thu, Mar 20, 2008 at 05:25:41PM +0530, M P Sairam wrote: >> >>> Richard W.M. Jones wrote: >>> >>>> On Thu, Mar 20, 2008 at 03:14:35PM +0530, M P Sairam wrote: >>>> >>>> >>>>> Hi, >>>>> I want to create a live CD which can work in Xen. can any one help me? >>>>> I googled it but i didn't get good enough material. >>>>> >>>>> >>>> You mean a live CD which can be booted as a Xen guest? Or a live CD >>>> which contains (eg) a Xen hypervisor? >>>> >>>> >>> I mean a live CD which can be booted as a Xen guest >>> >> I haven't tried it for Xen (only for QEMU/KVM where it definitely >> works), but you should just be able to boot the CDROM directly. >> >> Try creating XML configuration following this example: >> > > You can do this more directly with virt-install > > [quote src="virt-install(1)"] > Run a Live CD image under Xen fullyvirt, in diskless environment > > # virt-install \ > --hvm \ > --name demo \ > --ram 500 \ > --nodisk \ > --livecd \ > --vnc \ > --cdrom /root/fedora7live.iso > [/quote] > > Regards, > Dan. > Thanks for the reply, does booting a live CD requires hardware support in Xen? My processor is pentium 2.8GHz Sairam ******************************************************************************** This email message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential, proprietary and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and destroy all copies of the original message. Thank you. Intoto Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjones at redhat.com Thu Mar 20 14:08:45 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Thu, 20 Mar 2008 14:08:45 +0000 Subject: [Fedora-livecd-list] How To Create a LiveCD for Xen In-Reply-To: <47E26FAE.3070801@intoto.com> References: <47E23203.9030308@intoto.com> <20080320104804.GC32488@amd.home.annexia.org> <47E250BD.6090408@intoto.com> <20080320132827.GD32488@amd.home.annexia.org> <20080320133201.GC16821@redhat.com> <47E26FAE.3070801@intoto.com> Message-ID: <20080320140845.GE32488@amd.home.annexia.org> On Thu, Mar 20, 2008 at 07:37:42PM +0530, M P Sairam wrote: > Thanks for the reply, does booting a live CD requires hardware support in > Xen? In Xen yes: >> # virt-install \ >> --hvm \ However QEMU will happily boot a CD-ROM ISO without hardware support. > My processor is pentium 2.8GHz That's not enough to tell. Have a look at /proc/cpuinfo, flags, which should contain 'vmx' if hardware-assisted fullvirt is supported. (For Intel you may also need to enable it in the BIOS). Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top From devrim at CommandPrompt.com Thu Mar 20 15:08:32 2008 From: devrim at CommandPrompt.com (Devrim =?ISO-8859-1?Q?G=DCND=DCZ?=) Date: Thu, 20 Mar 2008 08:08:32 -0700 Subject: [Fedora-livecd-list] Inserting custom kernel parameter to live CD In-Reply-To: <1206017089.10400.10.camel@aglarond.local> References: <1206001884.16612.197.camel@localhost.localdomain> <1206017089.10400.10.camel@aglarond.local> Message-ID: <1206025712.16612.215.camel@localhost.localdomain> Hi, On Thu, 2008-03-20 at 08:44 -0400, Jeremy Katz wrote: > bootloader --append isn't supported with the Fedora 8 version of > livecd-tools So how can I solve the problem? Regards, -- Devrim G?ND?Z , RHCE PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From skunkworx at verizon.net Sat Mar 22 01:02:43 2008 From: skunkworx at verizon.net (Skunk Worx) Date: Fri, 21 Mar 2008 18:02:43 -0700 Subject: [Fedora-livecd-list] f7 livecd-creator cannot umount image after recent yum updates Message-ID: <47E45AB3.4080201@verizon.net> I ran yum updates two days ago and now the iso created by livecd-creator has a few issues. This is a Fedora 7 machine. 1) The tool complains that it cannot umount busy device : ... Building an initramfs at /boot/livecd-initramfs.img for kernel 2.6.23.15-80.fc7 FATAL: Module ide_cd not found. FATAL: Module usbhid not found. Done; initramfs is 4.3M. umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy ioctl: LOOP_CLR_FD: Device or resource busy ... (otherwise completes successfully) 2) If I examine the final iso, mounting the squash image and then the os.img, I find the ext3 fs is inconsistent : mount -o loop /tmp/foo_sqsh/os.img /tmp/foo_img EXT3-fs: write access unavailable, cannot proceed. mount: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so dmesg : loop: module loaded EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access unavailable, cannot proceed. # file /tmp/foo_sqsh/os.img /tmp/foo_sqsh/os.img: Linux rev 1.0 ext3 filesystem data (needs journal recovery) (large files) (If I copy the os.img out to a r/w location I can fsck.ext3 it) 3) The /etc/mtab in the os.img ends up errant so sysfs mount on boot of media complains : Remounting root filesystem in read-write mode: [ OK ] Mounting local filesystems: mount: sysfs already mounted or /sys busy mount: according to mtab, /sys is already mounted on /sys [FAILED] For now I am fixing the iso with a script : 1) copy out/fsck.ext3 the os.img file 2) remove the errant /etc/mtab 3) rebuild the squashfs with the new os.img using mksquashfs 4) rebuild the iso I thought this was obviously a kernel problem, but reverting to an older kernel on the build host did not fix it. TIA, John From tim.wood at datawranglers.com Sat Mar 22 03:18:01 2008 From: tim.wood at datawranglers.com (Tim Wood) Date: Fri, 21 Mar 2008 21:18:01 -0600 Subject: [Fedora-livecd-list] f7 livecd-creator cannot umount image after recent yum updates In-Reply-To: <47E45AB3.4080201@verizon.net> References: <47E45AB3.4080201@verizon.net> Message-ID: <47E47A69.3010305@datawranglers.com> FWIW and YMMV, but I started swearing by using a virtual machine (under vmware) as my LiveCD development machine because of situations like this. I can't speak to Xen and qemu, but vmware does have a snapshot feature. I always snapshot a machine then run yum. Then if an update causes problems with iso creation, I go back to the snapshot. Nothing like having weird problems with iso creation hit when you're on a deadline. It's also the primary motivation behind my slowly plugging away at a LiveCD creation LiveCD... Can't get hosed if it doesn't update... Tim Skunk Worx wrote: > I ran yum updates two days ago and now the iso created by > livecd-creator has a few issues. This is a Fedora 7 machine. > > 1) The tool complains that it cannot umount busy device : > > ... > Building an initramfs at /boot/livecd-initramfs.img for kernel > 2.6.23.15-80.fc7 > FATAL: Module ide_cd not found. > FATAL: Module usbhid not found. > Done; initramfs is 4.3M. > > umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy > umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy > ioctl: LOOP_CLR_FD: Device or resource busy > ... > > (otherwise completes successfully) > > 2) If I examine the final iso, mounting the squash image and then the > os.img, I find the ext3 fs is inconsistent : > > mount -o loop /tmp/foo_sqsh/os.img /tmp/foo_img > EXT3-fs: write access unavailable, cannot proceed. > mount: wrong fs type, bad option, bad superblock on /dev/loop3, > missing codepage or other error > In some cases useful info is found in syslog - try > dmesg | tail or so > > dmesg : > > loop: module loaded > EXT3-fs: INFO: recovery required on readonly filesystem. > EXT3-fs: write access unavailable, cannot proceed. > > # file /tmp/foo_sqsh/os.img > /tmp/foo_sqsh/os.img: Linux rev 1.0 ext3 filesystem data (needs > journal recovery) (large files) > > (If I copy the os.img out to a r/w location I can fsck.ext3 it) > > 3) The /etc/mtab in the os.img ends up errant so sysfs mount on boot > of media complains : > > Remounting root filesystem in read-write mode: [ OK ] > Mounting local filesystems: mount: sysfs already mounted or /sys busy > mount: according to mtab, /sys is already mounted on /sys > [FAILED] > > For now I am fixing the iso with a script : > > 1) copy out/fsck.ext3 the os.img file > 2) remove the errant /etc/mtab > 3) rebuild the squashfs with the new os.img using mksquashfs > 4) rebuild the iso > > I thought this was obviously a kernel problem, but reverting to an > older kernel on the build host did not fix it. > > TIA, > John > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > -- _________________________________ Tim Wood, CLP, RHCT 719.338.7484 (tel) The Data Wranglers Web, Database & more since since 1994 www.datawranglers.com From skunkworx at verizon.net Sat Mar 22 16:20:58 2008 From: skunkworx at verizon.net (Skunk Worx) Date: Sat, 22 Mar 2008 09:20:58 -0700 Subject: [Fedora-livecd-list] f7 livecd-creator cannot umount image after recent yum updates In-Reply-To: <47E47A69.3010305@datawranglers.com> References: <47E45AB3.4080201@verizon.net> <47E47A69.3010305@datawranglers.com> Message-ID: <47E531EA.1030307@verizon.net> All of our work is under strict CM so I can roll back the local yum repo next week if I have to, then k/s the machines. Sorry about the top post. --- John Tim Wood wrote: > FWIW and YMMV, but I started swearing by using a virtual machine (under > vmware) as my LiveCD development machine because of situations like > this. I can't speak to Xen and qemu, but vmware does have a snapshot > feature. I always snapshot a machine then run yum. Then if an update > causes problems with iso creation, I go back to the snapshot. Nothing > like having weird problems with iso creation hit when you're on a > deadline. It's also the primary motivation behind my slowly plugging > away at a LiveCD creation LiveCD... Can't get hosed if it doesn't > update... > > Tim > > > Skunk Worx wrote: >> I ran yum updates two days ago and now the iso created by >> livecd-creator has a few issues. This is a Fedora 7 machine. >> >> 1) The tool complains that it cannot umount busy device : >> >> ... >> Building an initramfs at /boot/livecd-initramfs.img for kernel >> 2.6.23.15-80.fc7 >> FATAL: Module ide_cd not found. >> FATAL: Module usbhid not found. >> Done; initramfs is 4.3M. >> >> umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy >> umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy >> ioctl: LOOP_CLR_FD: Device or resource busy >> ... >> >> (otherwise completes successfully) >> >> 2) If I examine the final iso, mounting the squash image and then the >> os.img, I find the ext3 fs is inconsistent : >> >> mount -o loop /tmp/foo_sqsh/os.img /tmp/foo_img >> EXT3-fs: write access unavailable, cannot proceed. >> mount: wrong fs type, bad option, bad superblock on /dev/loop3, >> missing codepage or other error >> In some cases useful info is found in syslog - try >> dmesg | tail or so >> >> dmesg : >> >> loop: module loaded >> EXT3-fs: INFO: recovery required on readonly filesystem. >> EXT3-fs: write access unavailable, cannot proceed. >> >> # file /tmp/foo_sqsh/os.img >> /tmp/foo_sqsh/os.img: Linux rev 1.0 ext3 filesystem data (needs >> journal recovery) (large files) >> >> (If I copy the os.img out to a r/w location I can fsck.ext3 it) >> >> 3) The /etc/mtab in the os.img ends up errant so sysfs mount on boot >> of media complains : >> >> Remounting root filesystem in read-write mode: [ OK ] >> Mounting local filesystems: mount: sysfs already mounted or /sys busy >> mount: according to mtab, /sys is already mounted on /sys >> [FAILED] >> >> For now I am fixing the iso with a script : >> >> 1) copy out/fsck.ext3 the os.img file >> 2) remove the errant /etc/mtab >> 3) rebuild the squashfs with the new os.img using mksquashfs >> 4) rebuild the iso >> >> I thought this was obviously a kernel problem, but reverting to an >> older kernel on the build host did not fix it. >> >> TIA, >> John >> >> -- >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> > > From rjones at redhat.com Sat Mar 22 16:39:14 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Sat, 22 Mar 2008 16:39:14 +0000 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <47E16C83.8090105@datawranglers.com> References: <20080319180612.GA32488@amd.home.annexia.org> <20080319185216.GA14568@nostromo.devel.redhat.com> <47E16C83.8090105@datawranglers.com> Message-ID: <20080322163914.GA32624@amd.home.annexia.org> On Wed, Mar 19, 2008 at 01:41:55PM -0600, Tim Wood wrote: > You could create a RPM that requires what you want. The RPM doesn't have > to do anything else. The RPM build script should be pretty short ;-) . Unfortunately this doesn't work. It seems like kickstart will happily install an inconsistent set of packages, as in this screenshot from a live CD booted under qemu: http://www.annexia.org/tmp/livecd.png Note that my meta-package, virt-p2v, is set to require ocaml-gettext, but this package isn't installed (because I missed it out of my local repository by accident), nor is that dependency provided by any other package. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v From katzj at redhat.com Mon Mar 24 01:08:06 2008 From: katzj at redhat.com (Jeremy Katz) Date: Sun, 23 Mar 2008 21:08:06 -0400 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <20080322163914.GA32624@amd.home.annexia.org> References: <20080319180612.GA32488@amd.home.annexia.org> <20080319185216.GA14568@nostromo.devel.redhat.com> <47E16C83.8090105@datawranglers.com> <20080322163914.GA32624@amd.home.annexia.org> Message-ID: <1206320886.10475.22.camel@aglarond.local> On Sat, 2008-03-22 at 16:39 +0000, Richard W.M. Jones wrote: > On Wed, Mar 19, 2008 at 01:41:55PM -0600, Tim Wood wrote: > > You could create a RPM that requires what you want. The RPM doesn't have > > to do anything else. The RPM build script should be pretty short ;-) . > > Unfortunately this doesn't work. It seems like kickstart will happily > install an inconsistent set of packages, as in this screenshot from a > live CD booted under qemu: Which version of livecd-tools are you using? And did you specify any arguments to %packages? Jeremy From rjones at redhat.com Mon Mar 24 22:58:41 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Mon, 24 Mar 2008 22:58:41 +0000 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <1206320886.10475.22.camel@aglarond.local> References: <20080319180612.GA32488@amd.home.annexia.org> <20080319185216.GA14568@nostromo.devel.redhat.com> <47E16C83.8090105@datawranglers.com> <20080322163914.GA32624@amd.home.annexia.org> <1206320886.10475.22.camel@aglarond.local> Message-ID: <20080324225841.GA4936@amd.home.annexia.org> On Sun, Mar 23, 2008 at 09:08:06PM -0400, Jeremy Katz wrote: > On Sat, 2008-03-22 at 16:39 +0000, Richard W.M. Jones wrote: > > On Wed, Mar 19, 2008 at 01:41:55PM -0600, Tim Wood wrote: > > > You could create a RPM that requires what you want. The RPM doesn't have > > > to do anything else. The RPM build script should be pretty short ;-) . > > > > Unfortunately this doesn't work. It seems like kickstart will happily > > install an inconsistent set of packages, as in this screenshot from a > > live CD booted under qemu: > > Which version of livecd-tools are you using? And did you specify any > arguments to %packages? livecd-tools-013 on F8. I think that's quite old isn't it? I notice the newest version in Fedora is 015. No arguments to %packages on that particular CD, but I am going to add --excludedocs in future versions. It didn't give any warnings about the missing package during the build. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v From katzj at redhat.com Mon Mar 24 23:07:32 2008 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 24 Mar 2008 19:07:32 -0400 Subject: [Fedora-livecd-list] How to ensure minimum versions of packages? In-Reply-To: <20080324225841.GA4936@amd.home.annexia.org> References: <20080319180612.GA32488@amd.home.annexia.org> <20080319185216.GA14568@nostromo.devel.redhat.com> <47E16C83.8090105@datawranglers.com> <20080322163914.GA32624@amd.home.annexia.org> <1206320886.10475.22.camel@aglarond.local> <20080324225841.GA4936@amd.home.annexia.org> Message-ID: <1206400052.12597.5.camel@aglarond.local> On Mon, 2008-03-24 at 22:58 +0000, Richard W.M. Jones wrote: > On Sun, Mar 23, 2008 at 09:08:06PM -0400, Jeremy Katz wrote: > > On Sat, 2008-03-22 at 16:39 +0000, Richard W.M. Jones wrote: > > > On Wed, Mar 19, 2008 at 01:41:55PM -0600, Tim Wood wrote: > > > > You could create a RPM that requires what you want. The RPM doesn't have > > > > to do anything else. The RPM build script should be pretty short ;-) . > > > > > > Unfortunately this doesn't work. It seems like kickstart will happily > > > install an inconsistent set of packages, as in this screenshot from a > > > live CD booted under qemu: > > > > Which version of livecd-tools are you using? And did you specify any > > arguments to %packages? > > livecd-tools-013 on F8. I think that's quite old isn't it? I notice > the newest version in Fedora is 015. It's the Fedora 8 version. Lots of changes afoot in Fedora 9 :-) In theory, we should be aborting if building the transaction shows unresolved deps. But, I know I've accidentally done a release or two with that disabled because it made my testing simpler and then I forgot to remove that when committing :-/ Jeremy From katzj at fedoraproject.org Mon Mar 24 23:39:10 2008 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 24 Mar 2008 23:39:10 GMT Subject: [Fedora-livecd-list] imgcreate/yuminst.py Message-ID: <200803242339.m2ONdAWO011315@hosted1.fedoraproject.org> imgcreate/yuminst.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) New commits: commit a965dabed43fc3325bd097bdcd2c0559da147e46 Author: Jeremy Katz Date: Wed Mar 12 09:46:30 2008 -0400 If ordering fails, don't let the image build diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py index 4c9ae40..a8dd6cd 100644 --- a/imgcreate/yuminst.py +++ b/imgcreate/yuminst.py @@ -162,7 +162,10 @@ class LiveCDYum(yum.YumBase): self.initActionTs() self.populateTs(keepold=0) self.ts.check() - self.ts.order() + rc = self.ts.order() + if rc != 0: + raise CreatorError("ordering packages for installation failed!") + # FIXME: callback should be refactored a little in yum sys.path.append('/usr/share/yum-cli') import callback From rjones at redhat.com Tue Mar 25 15:30:19 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Tue, 25 Mar 2008 15:30:19 +0000 Subject: [Fedora-livecd-list] Console fonts Message-ID: <20080325153019.GA13456@amd.home.annexia.org> I'm trying to enable a broad range of languages in virt-p2v, and to do that, understand how to enable a broad Unicode console font. I notice that Anaconda does this already, but I'm having a bit of trouble understanding exactly how. Anyway, first of all I discovered that if one adds the 'kbd' package to the live CD, then you get a UTF-8 console (/bin/unicode_start runs early on) and the default font is 'latarcyrheb-sun16'. The font, as the name may suggest, supports Latin-1, Arabic(?), Cyrillic and Hebrew characters. Example tests (shows error message in exotic characters): LANG=fr_FR.UTF-8 ls /nothere LANG=ru_RU.UTF-8 ls /nothere But note that these fail (square blocks displayed instead of characters): LANG=zh_CN.UTF-8 ls /nothere LANG=ja_JP.UTF-8 ls /nothere This doesn't give me any Asian language support, and I couldn't see a console font which does. Note I'd like to display all languages at the same time, because the first screen lets the user pick their language. Anaconda seems to do some trickery where it saves something (a character map??) by issuing a KD_FONT_OP_GET ioctl, and then restores this when the CD boots. I'm not sure when the saving occurs, or the relationship between these rather small maps (about 5K each) and the presumably much larger fonts that are required to support them. So can anyone help? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v From katzj at redhat.com Tue Mar 25 15:47:45 2008 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 25 Mar 2008 11:47:45 -0400 Subject: [Fedora-livecd-list] Console fonts In-Reply-To: <20080325153019.GA13456@amd.home.annexia.org> References: <20080325153019.GA13456@amd.home.annexia.org> Message-ID: <1206460065.12158.2.camel@aglarond.local> On Tue, 2008-03-25 at 15:30 +0000, Richard W.M. Jones wrote: > I'm trying to enable a broad range of languages in virt-p2v, and to do > that, understand how to enable a broad Unicode console font. I notice > that Anaconda does this already, but I'm having a bit of trouble > understanding exactly how. The Linux console, on its own, doesn't actually support it. You have to use a framebuffer and something like bogl and one of its fonts. But that way lies lots and lots of madness... you still won't properly support things like RTL text, etc. So if you really want full locale support, use X. Note: anaconda no longer uses bogl and hasn't for quite a while now. If you want anything that can't be displayed by latarcyrheb-sun16, then use X. Jeremy From rjones at redhat.com Tue Mar 25 15:52:22 2008 From: rjones at redhat.com (Richard W.M. Jones) Date: Tue, 25 Mar 2008 15:52:22 +0000 Subject: [Fedora-livecd-list] Console fonts In-Reply-To: <1206460065.12158.2.camel@aglarond.local> References: <20080325153019.GA13456@amd.home.annexia.org> <1206460065.12158.2.camel@aglarond.local> Message-ID: <20080325155222.GB13456@amd.home.annexia.org> On Tue, Mar 25, 2008 at 11:47:45AM -0400, Jeremy Katz wrote: > Note: anaconda no longer uses bogl and hasn't for quite a while now. If > you want anything that can't be displayed by latarcyrheb-sun16, then use > X. What's the level of support like for X? I quite often find Fedora installs in text mode, for reasons which aren't usually very clear. It seems that Anaconda supports two parallel UIs (newt & Gtk) which must be quite an overhead for development. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top From katzj at redhat.com Tue Mar 25 16:01:31 2008 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 25 Mar 2008 12:01:31 -0400 Subject: [Fedora-livecd-list] Console fonts In-Reply-To: <20080325155222.GB13456@amd.home.annexia.org> References: <20080325153019.GA13456@amd.home.annexia.org> <1206460065.12158.2.camel@aglarond.local> <20080325155222.GB13456@amd.home.annexia.org> Message-ID: <1206460891.12158.5.camel@aglarond.local> On Tue, 2008-03-25 at 15:52 +0000, Richard W.M. Jones wrote: > On Tue, Mar 25, 2008 at 11:47:45AM -0400, Jeremy Katz wrote: > > Note: anaconda no longer uses bogl and hasn't for quite a while now. If > > you want anything that can't be displayed by latarcyrheb-sun16, then use > > X. > > What's the level of support like for X? I quite often find Fedora > installs in text mode, for reasons which aren't usually very clear. X works great... and installs should happen graphically unless you have "low"[1] memory systems or weirdo graphics hardware. And then there's vnc, etc, etc. > It seems that Anaconda supports two parallel UIs (newt & Gtk) which > must be quite an overhead for development. Yep, welcome to one of my own personal hells. Jeremy [1] Depends on the install method for what counts as "low" as well as arch From diegobz at gmail.com Wed Mar 26 16:40:30 2008 From: diegobz at gmail.com (=?ISO-8859-1?Q?Diego_B=FArigo_Zacar=E3o?=) Date: Wed, 26 Mar 2008 13:40:30 -0300 Subject: [Fedora-livecd-list] Requirements for F9 Beta KDE Live Image Message-ID: <6600c1b10803260940l49d1b169qe2636f22391d5244@mail.gmail.com> Hi, Anyone knows what are the minimum hardware requirements for Fedora 9 Beta KDE Live Image? Thank you. -- Diego B?rigo Zacar?o Linux User #402589 USE SOFTWARE LIVRE -------------- next part -------------- An HTML attachment was scrubbed... URL: From luc.desfosses at atosorigin.com Thu Mar 27 12:34:09 2008 From: luc.desfosses at atosorigin.com (Luc Desfosses) Date: Thu, 27 Mar 2008 13:34:09 +0100 Subject: [Fedora-livecd-list] No Text in X Message-ID: <47EB9441.70003@atosorigin.com> Hi all. First, I want to say "thanks" for all the fedora's livecd you made who help me to install fedora everywhere. :) I have a problem with the two livecd ( KDE and normal ) of the 9beta. I have no text when the X start. My laptop is a Dell D630, the GPU is an Intel i965GM with no problems under FC8. What can i do ? From valent.turkovic at gmail.com Thu Mar 27 12:52:44 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Thu, 27 Mar 2008 13:52:44 +0100 Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? Message-ID: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> Hi, is it possible to keep rpm/yum cache between builds. This is very useful when somebody is building multiple spins that are marginally different (language, few packages that are installed/removed) and not to download all the packages if they haven't changed. Does this make sense to you? Cheers, Valent. -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From katzj at redhat.com Thu Mar 27 13:27:34 2008 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 27 Mar 2008 09:27:34 -0400 Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> Message-ID: <1206624454.10445.7.camel@aglarond.local> On Thu, 2008-03-27 at 13:52 +0100, Valent Turkovic wrote: > is it possible to keep rpm/yum cache between builds. This is very > useful when somebody is building multiple spins that are marginally > different (language, few packages that are installed/removed) and not > to download all the packages if they haven't changed. See the --cache option. By default, we clean up after ourselves because otherwise, you'd have an ever-growing drain on your available disk space Jeremy From valent.turkovic at gmail.com Thu Mar 27 14:09:26 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Thu, 27 Mar 2008 15:09:26 +0100 Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: <1206624454.10445.7.camel@aglarond.local> References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> <1206624454.10445.7.camel@aglarond.local> Message-ID: <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> On Thu, Mar 27, 2008 at 2:27 PM, Jeremy Katz wrote: > On Thu, 2008-03-27 at 13:52 +0100, Valent Turkovic wrote: > > is it possible to keep rpm/yum cache between builds. This is very > > useful when somebody is building multiple spins that are marginally > > different (language, few packages that are installed/removed) and not > > to download all the packages if they haven't changed. > > See the --cache option. By default, we clean up after ourselves because > otherwise, you'd have an ever-growing drain on your available disk space > > Jeremy I know about --cache option but I guess I have miss understood it. I understood that that option only defines where cache files are temporary kept and that they are also deleted from that location after iso file is build. I thought what I need is a new option --keep-cache what would complement --cache option. I also found a bug in --help option, can you spot it? $ livecd-creator --help Usage: livecd-creator [options] Options: -h, --help show this help message and exit Image options: These options define the created image. -c KSCFG, --config=KSCFG Path to kickstart config file -b BASE_ON, --base-on=BASE_ON Add packages to an existing live CD iso9660 image. -f FS_LABEL, --fslabel=FS_LABEL File system label (default based on config name) System directory options: These options define directories used on your system for creating the live image -t TMPDIR, --tmpdir=TMPDIR Temporary directory to use (default: /var/tmp) --cache=CACHEDIR Cache directory to use (default: private cache -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From gdk at redhat.com Thu Mar 27 14:15:03 2008 From: gdk at redhat.com (Greg DeKoenigsberg) Date: Thu, 27 Mar 2008 10:15:03 -0400 (EDT) Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> <1206624454.10445.7.camel@aglarond.local> <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> Message-ID: On Thu, 27 Mar 2008, Valent Turkovic wrote: > I also found a bug in --help option, can you spot it? Is it the missing close parenthesis at the very end? :) --g > $ livecd-creator --help > Usage: livecd-creator [options] > > Options: > -h, --help show this help message and exit > > Image options: > These options define the created image. > > -c KSCFG, --config=KSCFG > Path to kickstart config file > -b BASE_ON, --base-on=BASE_ON > Add packages to an existing live CD iso9660 image. > -f FS_LABEL, --fslabel=FS_LABEL > File system label (default based on config name) > > System directory options: > These options define directories used on your system for creating the > live image > > -t TMPDIR, --tmpdir=TMPDIR > Temporary directory to use (default: /var/tmp) > --cache=CACHEDIR Cache directory to use (default: private cache > > > -- Greg DeKoenigsberg Community Development Manager Red Hat, Inc. :: 1-919-754-4255 "To whomsoever much hath been given... ...from him much shall be asked" From valent.turkovic at gmail.com Thu Mar 27 14:27:26 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Thu, 27 Mar 2008 15:27:26 +0100 Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> <1206624454.10445.7.camel@aglarond.local> <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> Message-ID: <64b14b300803270727u58093eafl38edd37be336bcc@mail.gmail.com> On Thu, Mar 27, 2008 at 3:15 PM, Greg DeKoenigsberg wrote: > On Thu, 27 Mar 2008, Valent Turkovic wrote: > > > I also found a bug in --help option, can you spot it? > > Is it the missing close parenthesis at the very end? :) > > --g Yes :) From gdk at redhat.com Thu Mar 27 14:30:54 2008 From: gdk at redhat.com (Greg DeKoenigsberg) Date: Thu, 27 Mar 2008 10:30:54 -0400 (EDT) Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: <64b14b300803270727u58093eafl38edd37be336bcc@mail.gmail.com> References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> <1206624454.10445.7.camel@aglarond.local> <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> <64b14b300803270727u58093eafl38edd37be336bcc@mail.gmail.com> Message-ID: On Thu, 27 Mar 2008, Valent Turkovic wrote: > On Thu, Mar 27, 2008 at 3:15 PM, Greg DeKoenigsberg wrote: >> On Thu, 27 Mar 2008, Valent Turkovic wrote: >> >> > I also found a bug in --help option, can you spot it? >> >> Is it the missing close parenthesis at the very end? :) >> >> --g > > Yes :) What do I win? --g -- Greg DeKoenigsberg Community Development Manager Red Hat, Inc. :: 1-919-754-4255 "To whomsoever much hath been given... ...from him much shall be asked" From valent.turkovic at gmail.com Thu Mar 27 15:12:20 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Thu, 27 Mar 2008 16:12:20 +0100 Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> <1206624454.10445.7.camel@aglarond.local> <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> <64b14b300803270727u58093eafl38edd37be336bcc@mail.gmail.com> Message-ID: <64b14b300803270812sdc1c225wc840d0b348c2550d@mail.gmail.com> On Thu, Mar 27, 2008 at 3:30 PM, Greg DeKoenigsberg wrote: > On Thu, 27 Mar 2008, Valent Turkovic wrote: > > > On Thu, Mar 27, 2008 at 3:15 PM, Greg DeKoenigsberg wrote: > >> On Thu, 27 Mar 2008, Valent Turkovic wrote: > >> > >> > I also found a bug in --help option, can you spot it? > >> > >> Is it the missing close parenthesis at the very end? :) > >> > >> --g > > > > Yes :) > > What do I win? > > --g You win this great prize: Privilege to enter this bug in BZ or tell me to do it :) Cheers, Valent. From gdk at redhat.com Thu Mar 27 15:25:08 2008 From: gdk at redhat.com (Greg DeKoenigsberg) Date: Thu, 27 Mar 2008 11:25:08 -0400 (EDT) Subject: [Fedora-livecd-list] keep rpm/yum cache between builds? In-Reply-To: <64b14b300803270812sdc1c225wc840d0b348c2550d@mail.gmail.com> References: <64b14b300803270552h3ef3ebe8ufaa819f1b5c38e8a@mail.gmail.com> <1206624454.10445.7.camel@aglarond.local> <64b14b300803270709j32ae19fj745fed2088bbeda8@mail.gmail.com> <64b14b300803270727u58093eafl38edd37be336bcc@mail.gmail.com> <64b14b300803270812sdc1c225wc840d0b348c2550d@mail.gmail.com> Message-ID: On Thu, 27 Mar 2008, Valent Turkovic wrote: > You win this great prize: Privilege to enter this bug in BZ or tell me > to do it :) I choose to tell you to do it. :) --g -- Greg DeKoenigsberg Community Development Manager Red Hat, Inc. :: 1-919-754-4255 "To whomsoever much hath been given... ...from him much shall be asked" From the_selected_one at hotmail.com Thu Mar 27 16:49:47 2008 From: the_selected_one at hotmail.com (Syed Mujtaba Ahmed Razvi) Date: Thu, 27 Mar 2008 16:49:47 +0000 Subject: [Fedora-livecd-list] Fedora Core 4 Live USB creation Message-ID: Hello! I have successfully finished working on one of Fedora core 4 kernel module. It is working fine on my internal hard disk. Now i need to replace my internal Hard disk with any usb flash using the concept of live usb/live cd. So, i want to create a live image of the current fedora core 4 running on my internal hard disk. Is there a possibility to create live usb just as we can did in fedora 8 http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo ? Regards, Syed Mujtaba _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE -------------- next part -------------- An HTML attachment was scrubbed... URL: From valent.turkovic at gmail.com Fri Mar 28 11:52:45 2008 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Fri, 28 Mar 2008 12:52:45 +0100 Subject: [Fedora-livecd-list] Howto wiki page and selinux Message-ID: <64b14b300803280452o2a424712pb48683a37407318a@mail.gmail.com> Hi, I saw howto page [1] and noticed that there is no mention of selinux there. If you have selinux disabled you can't even start livecd-creator and if you don't reload selinux policy after creating of respin then you have lots of selinux alerts. I got this tip from selinux mailing list: If you have your selinux put in Enforcing mode then do this: # setenforce 0 # livecd-creator ... # load_policy # setenforce 1 if you have your selinux in Permissive mode than yust this: # livecd-creator ... # load_policy I have 0 time because of moving to a new apartment so please if anybody can edit howto page. Cheers, Valent. [1] http://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo -- http://kernelreloaded.blog385.com/ linux, blog, anime, spirituality, windsurf, wireless registered as user #367004 with the Linux Counter, http://counter.li.org. ICQ: 2125241, Skype: valent.turkovic From danjde at msw.it Sun Mar 30 06:57:19 2008 From: danjde at msw.it (Davide Marchi) Date: Sun, 30 Mar 2008 08:57:19 +0200 Subject: [Fedora-livecd-list] customizing layout Message-ID: <47EF39CF.2090305@msw.it> Hello! I'm Davide from Italy (wonderful monnezza, do yu know?:) I would like to customize the look amd feel on mine livecd Fedora Core 8; for example, desktop background, greeter, desktop theme, etc, etc.. i don't know the better pratique, but i suppose that stopping, at certain moment the build, i could make this changes could you suggest the better way and how make it? many many thanks!! -- cosmogoniA noprovarenofareononfarenonc'?provare -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3271 bytes Desc: S/MIME Cryptographic Signature URL: From svahl at fedoraproject.org Sun Mar 30 22:40:08 2008 From: svahl at fedoraproject.org (Sebastian Vahl) Date: Sun, 30 Mar 2008 22:40:08 GMT Subject: [Fedora-livecd-list] config/livecd-fedora-kde.ks Message-ID: <200803302240.m2UMe8ZX019186@hosted1.fedoraproject.org> config/livecd-fedora-kde.ks | 1 + 1 file changed, 1 insertion(+) New commits: commit 510a342ec5ad1d9a8aa58f755480907f26ec83b9 Author: Sebastian Vahl Date: Mon Mar 31 00:32:16 2008 +0200 add dvd+rw-tools for k3b diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks index a4550ff..9b24fc4 100644 --- a/config/livecd-fedora-kde.ks +++ b/config/livecd-fedora-kde.ks @@ -30,6 +30,7 @@ filelight # some extras fuse +dvd+rw-tools # additional fonts @fonts