From wangjihai at huawei.com Tue Jun 2 02:44:57 2009 From: wangjihai at huawei.com (Arthur Wang) Date: Tue, 02 Jun 2009 10:44:57 +0800 Subject: [Fedora-livecd-list] livecd-creator problem in use Message-ID: <200906021044565142399@huawei.com> Hello, I built a open-source project--virt-p2v, and it uses livecd-creator. At the last step of building, an error occur, the error log is as follows: Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/strace-4.5.18-1.fc10.i386.rpm ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/slang-2.1.4-1.fc10.i386.rpm ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/cyrus-sasl-lib-2.1.22-19.fc10.i386.rpm ...OK Retrieving http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/Packages/libx86-1.1-3.fc10.i386.rpm ...OK Traceback (most recent call last): File "/usr/share/yum-cli/callback.py", line 124, in callback fd = os.open(rpmloc, os.O_RDONLY) OSError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-FmND9q/install_root/var/cache/yum/updates/packages/setup-2.7.4-4.fc10.noarch.rpm' error: python callback > failed, aborting! make: *** [build] error 1 the author of the open-source project is Richard Jones , and he got a result that "This looks a lot like a livecd-creator problem ", is there anyone had meet this problem? My build entironment is fedora 10. Arthur Wang Research Department, CPD Huawei Technologies Co., Ltd. Phone: 86-755-28976096 Email: wangjihai at huawei.com 2009-06-02 -------------- next part -------------- An HTML attachment was scrubbed... URL: From valent.turkovic at gmail.com Tue Jun 2 16:24:19 2009 From: valent.turkovic at gmail.com (Valent Turkovic) Date: Tue, 2 Jun 2009 18:24:19 +0200 Subject: [Fedora-livecd-list] Custom Fedora Remix Message-ID: <64b14b300906020924j5fd1a0e7wfd164b98551bae05@mail.gmail.com> http://kernelreloaded.blog385.com/index.php/archives/fedora-remix/ In our local LUG we have been brewing a custom distro based upon Fedora and Omega linux distributions. We also added a lot of applications from many categories; like gps, astronomy, office and multimedia software. What makes it apart from distributions that it is based upon are these points: # Much more pre-installed software # Latest updated packages # Bonus (proprietary) software (Skype, Flash?) # Support for broadcom wireless chipset (via firmware) # Multiple desktop environments: Gnome, KDE, Enlightenment, LXDE? Why did we make this distribution? Because there are just too many things missing by default in current Fedora. Due to laws in US and because the software in question isn?t licenced under open source licence Fedora can?t provide things like skype and flash that most of users are just too depended upon and can?t work without them. Any comments and suggestions are welcome, tell us what we are doing wrong and how to make this distro better. -- 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 fedoraproject.org Tue Jun 9 19:14:41 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 9 Jun 2009 19:14:41 +0000 (UTC) Subject: [Fedora-livecd-list] imgcreate/creator.py Message-ID: <20090609191441.71A7412022C@lists.fedorahosted.org> imgcreate/creator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 553761bd6a5ad1ac672319bad5d873a39386424d Author: Jeremy Katz Date: Tue Jun 9 15:14:27 2009 -0400 Bind mount /dev/shm also (#502921) diff --git a/imgcreate/creator.py b/imgcreate/creator.py index 823afc5..1f8971f 100644 --- a/imgcreate/creator.py +++ b/imgcreate/creator.py @@ -517,7 +517,7 @@ class ImageCreator(object): # bind mount system directories into _instroot for (f, dest) in [("/sys", None), ("/proc", None), - ("/dev/pts", None), + ("/dev/pts", None), ("/dev/shm", None), (cachesrc, "/var/cache/yum")]: self.__bindmounts.append(BindChrootMount(f, self._instroot, dest)) From cjohnstonwork at gmail.com Thu Jun 11 14:58:20 2009 From: cjohnstonwork at gmail.com (Christopher Johnston) Date: Thu, 11 Jun 2009 10:58:20 -0400 Subject: [Fedora-livecd-list] F10 issues Message-ID: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> I seem to be having a number of issues when I attempt to create a livecd in F10. I have noticed when creating a livecd the app is having issues umounting the temp filesystem during the build which is kind of annoying as I have to manually umount the filesystem each time I create a livecd. Is anyone noticing this same behavior? I thought it may have something to do with my ks.cfg I am using but to make sure it wasnt that I use minimal kickstart configuration that comes packed with the RPM and got the same results. Another thing I am noticing are some filesystem errors coming up when the FSCK is done which is causing issues for me when I attempt to insert a file into the livecd. Notice the output below for the deleted/unused inode? When I boot the livecd the file is generally missing or corrupted. Unmounting directory /root/LIVECD/imgcreate-1OWjfU/install_root umount: /root/LIVECD/imgcreate-1OWjfU/install_root: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) Losetup remove /dev/loop4 ioctl: LOOP_CLR_FD: Device or resource busy Unmounting directory /root/LIVECD/imgcreate-1OWjfU/install_root umount: /root/LIVECD/imgcreate-1OWjfU/install_root: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) Checking filesystem /root/LIVECD/imgcreate-1OWjfU/tmp-9HElVv/ext3fs.img e2fsck 1.41.3 (12-Oct-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Entry 'testfile' in /usr/local/bin (8199) has deleted/unused inode 8204. Clear? yes Pass 3: Checking directory connectivity Pass 3A: Optimizing directories Pass 4: Checking reference counts Inode 32769 ref count is 52, should be 53. Fix? yes Unattached inode 32812 Connect to /lost+found? yes Inode 32812 ref count is 2, should be 1. Fix? yes Pass 5: Checking group summary information Block bitmap differences: +132014 Fix? yes Free blocks count wrong for group #4 (28170, counted=28169). Fix? yes Free blocks count wrong (194301, counted=194300). Fix? yes Inode bitmap differences: +32812 Fix? yes Free inodes count wrong for group #4 (4559, counted=4558). Fix? yes Free inodes count wrong (55120, counted=55119). Fix? yes -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno at wolff.to Sat Jun 13 15:25:02 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Sat, 13 Jun 2009 10:25:02 -0500 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> Message-ID: <20090613152502.GC20578@wolff.to> On Thu, Jun 11, 2009 at 10:58:20 -0400, Christopher Johnston wrote: > I seem to be having a number of issues when I attempt to create a livecd in > F10. I have noticed when creating a livecd the app is having issues > umounting the temp filesystem during the build which is kind of annoying as > I have to manually umount the filesystem each time I create a livecd. Is > anyone noticing this same behavior? I thought it may have something to do > with my ks.cfg I am using but to make sure it wasnt that I use minimal > kickstart configuration that comes packed with the RPM and got the same > results. I saw some similar things in the run up to the Fedora 11 release. Things work well on Fedora 11. I don't have an easy way to test on Fedora 10 any more. Though at one time livecd-creator was working OK on 10. From katzj at fedoraproject.org Mon Jun 15 19:39:37 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 15 Jun 2009 19:39:37 +0000 (UTC) Subject: [Fedora-livecd-list] docs/livecd-iso-to-disk.pod Message-ID: <20090615193937.E23F31201B7@lists.fedorahosted.org> docs/livecd-iso-to-disk.pod | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) New commits: commit d4c5e39d9898ced0ef8fd0ebe41938d1460a78cf Author: Jeremy Katz Date: Mon Jun 15 15:38:50 2009 -0400 Update for current options (#505742) Update for current options based on a patch from Michel Duquaine (michelduquaine AT gmail DOT com) diff --git a/docs/livecd-iso-to-disk.pod b/docs/livecd-iso-to-disk.pod index 7449c17..9274ab8 100644 --- a/docs/livecd-iso-to-disk.pod +++ b/docs/livecd-iso-to-disk.pod @@ -6,7 +6,7 @@ livecd-iso-to-disk - installs bootable CD images on a USB storage devices. =head1 SYNOPSIS -B [--reset-mbr] [--noverify] [--overlay-size-mb ] +B [--format] [--reset-mbr] [--noverify] [--overlay-size-mb ] [\-\-home\-size\-mb ] [\-\-unencrypted\-home] [\-\-skipcopy] =head1 DESCRIPTION @@ -18,6 +18,10 @@ B is not a destructive process; any data you currently have =over 4 +=item --format + +Formats the USB stick and creates a GPT partition table. + =item --reset-mbr Sets the Master Boot Record(MBR) of the USB storage device to the mbr.bin file from the image's syslinux directory. @@ -30,6 +34,18 @@ Disables the image validation process which occurs before the image is installed This option sets the overlay size in megabytes. The overlay is additional storage available to the live operating system if the operating system supports it. The USB storage device must have enough free space for the image and the overlay. +=item --home-size-mb + +Sets the home directory size in megabytes. + +=item --unencrypted-home + +Disables the encryption of the home directory. + +=item --skipcopy + +Skips the copy of the live image to the USB stick. + =back =head1 CONTRIBUTORS From katzj at fedoraproject.org Wed Jun 17 15:13:49 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 17 Jun 2009 15:13:49 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090617151349.49F431202FA@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) New commits: commit 8f7d47f50ab4b21e0fa36dfd8325a75b896936ef Author: Matthias Clasen Date: Wed Jun 17 11:13:23 2009 -0400 Switch to using blkid instead of vol_id (#506360) Newer udev dropped vol_id diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 4ed16c1..de439d5 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -153,7 +153,7 @@ createGPTLayout() { sleep 5 umount $USBDEV &> /dev/null /sbin/mkdosfs -n LIVE $USBDEV - USBLABEL="UUID=$(/lib/udev/vol_id -u $USBDEV)" + USBLABEL="UUID=$(/sbin/blkid -s UUID -o value $USBDEV)" } createMSDOSLayout() { @@ -175,7 +175,7 @@ createMSDOSLayout() { sleep 5 umount $USBDEV &> /dev/null /sbin/mkdosfs -n LIVE $USBDEV - USBLABEL="UUID=$(/lib/udev/vol_id -u $USBDEV)" + USBLABEL="UUID=$(/sbin/blkid -s UUID -o value $USBDEV)" } checkGPT() { @@ -209,17 +209,17 @@ checkGPT() { checkFilesystem() { dev=$1 - USBFS=$(/lib/udev/vol_id -t $dev) + USBFS=$(/sbin/blkid -s TYPE -o value $dev) if [ "$USBFS" != "vfat" -a "$USBFS" != "msdos" -a "$USBFS" != "ext2" -a "$USBFS" != "ext3" ]; then echo "USB filesystem must be vfat or ext[23]" exitclean fi - USBLABEL=$(/lib/udev/vol_id -u $dev) + USBLABEL=$(/sbin/blkid -s UUID -o value $dev) if [ -n "$USBLABEL" ]; then USBLABEL="UUID=$USBLABEL" ; else - USBLABEL=$(/lib/udev/vol_id -l $dev) + USBLABEL=$(/sbin/blkid -s LABEL -o value $dev) if [ -n "$USBLABEL" ]; then USBLABEL="LABEL=$USBLABEL" else @@ -546,7 +546,7 @@ if [ "$LIVEOS" != "LiveOS" ]; then sed -i -e "s;liveimg;liveimg live_dir=$LIVEOS if [ "$overlaysizemb" -gt 0 ]; then echo "Initializing persistent overlay file" - OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )" + OVERFILE="overlay-$( /sbin/blkid -s LABEL -o value $USBDEV )-$( /sbin/blkid -s UUID -o value $USBDEV )" if [ "$USBFS" = "vfat" ]; then # vfat can't handle sparse files dd if=/dev/zero of=$USBMNT/$LIVEOS/$OVERFILE count=$overlaysizemb bs=1M From cjohnstonwork at gmail.com Wed Jun 17 18:26:47 2009 From: cjohnstonwork at gmail.com (Christopher Johnston) Date: Wed, 17 Jun 2009 14:26:47 -0400 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <20090613152502.GC20578@wolff.to> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> Message-ID: <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> I am having issues on both F10 and F11. -Chris On Sat, Jun 13, 2009 at 11:25 AM, Bruno Wolff III wrote: > On Thu, Jun 11, 2009 at 10:58:20 -0400, > Christopher Johnston wrote: > > I seem to be having a number of issues when I attempt to create a livecd > in > > F10. I have noticed when creating a livecd the app is having issues > > umounting the temp filesystem during the build which is kind of annoying > as > > I have to manually umount the filesystem each time I create a livecd. Is > > anyone noticing this same behavior? I thought it may have something to > do > > with my ks.cfg I am using but to make sure it wasnt that I use minimal > > kickstart configuration that comes packed with the RPM and got the same > > results. > > I saw some similar things in the run up to the Fedora 11 release. Things > work well on Fedora 11. I don't have an easy way to test on Fedora 10 > any more. Though at one time livecd-creator was working OK on 10. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno at wolff.to Wed Jun 17 20:34:46 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Wed, 17 Jun 2009 15:34:46 -0500 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> Message-ID: <20090617203446.GB19672@wolff.to> On Wed, Jun 17, 2009 at 14:26:47 -0400, Christopher Johnston wrote: > I am having issues on both F10 and F11. Are you up to date with F11? It's possible that the fix might have been in zero day updates and not the released version. I'll be doing a custom games spin build tonight or tomorrow and can let you know if I see this occur. From cjohnstonwork at gmail.com Wed Jun 17 21:15:13 2009 From: cjohnstonwork at gmail.com (Christopher Johnston) Date: Wed, 17 Jun 2009 17:15:13 -0400 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <20090617203446.GB19672@wolff.to> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> <20090617203446.GB19672@wolff.to> Message-ID: <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> Yea, I pulled down the DVD F11 iso and used that but grabbed the latest livecd creator from rawhide. -Chris On Wed, Jun 17, 2009 at 4:34 PM, Bruno Wolff III wrote: > On Wed, Jun 17, 2009 at 14:26:47 -0400, > Christopher Johnston wrote: > > I am having issues on both F10 and F11. > > Are you up to date with F11? It's possible that the fix might have been in > zero day updates and not the released version. > > I'll be doing a custom games spin build tonight or tomorrow and can let you > know if I see this occur. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From farrellj at gmail.com Wed Jun 17 23:28:54 2009 From: farrellj at gmail.com (Jason Farrell) Date: Wed, 17 Jun 2009 19:28:54 -0400 Subject: [Fedora-livecd-list] [PATCH] Make overlay space requirements clearer Message-ID: My biggest annoyance with the livecd-iso-to-disk script has simply been having to do a little math in my head when trying to fit the largest possible overlay combo onto my liveusb. The script should be doing this work - it should tell you by how much you're over so you can free it and/or quickly adjust your sizes. BEFORE: [root at nano livecd-foo]# livecd-iso-to-disk --noverify --overlay-size-mb 12000 --home-size-mb 8000 --swap-size-mb 1024 --delete-home Fedora-11-i686-Live.iso /dev/loop0 Unable to fit live image + overlay on available space on USB stick Size of live image: 679 Overlay size: 12000 Home overlay size: 8000 Home overlay size: 1024 Available space: 15947 Cleaning up to exit... AFTER: [root at nano livecd-foo]# ./livecd-iso-to-disk.sh --noverify --overlay-size-mb 12000 --home-size-mb 8000 --swap-size-mb 1024 --delete-home Fedora-11-i686-Live.iso /dev/loop0 Unable to fit live image + overlay on available space on USB stick + Size of live image: 679 + Overlay size: 12000 + Home overlay size: 8000 + Swap overlay size: 1024 --------------------------- = Requested: 21703 - Available: 15947 --------------------------- = To fit, free or decrease requested size total by: 9296 Cleaning up to exit... diff -Naur livecd-iso-to-disk.sh.orig livecd-iso-to-disk.sh --- livecd-iso-to-disk.sh.orig 2009-06-17 17:57:21.000000000 -0400 +++ livecd-iso-to-disk.sh 2009-06-17 19:12:33.897509289 -0400 @@ -476,13 +476,18 @@ fi free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'}) -if [ $(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) -gt $(($free + $tbd)) ]; then +tba=$(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) +if [ $tba -gt $(($free + $tbd)) ]; then echo "Unable to fit live image + overlay on available space on USB stick" - echo "Size of live image: $livesize" - [ "$overlaysizemb" -gt 0 ] && echo "Overlay size: $overlaysizemb" - [ "$homesizemb" -gt 0 ] && echo "Home overlay size: $homesizemb" - [ "$swapsizemb" -gt 0 ] && echo "Home overlay size: $swapsizemb" - echo "Available space: $(($free + $tbd))" + echo "+ Size of live image: $livesize" + [ "$overlaysizemb" -gt 0 ] && echo "+ Overlay size: $overlaysizemb" + [ "$homesizemb" -gt 0 ] && echo "+ Home overlay size: $homesizemb" + [ "$swapsizemb" -gt 0 ] && echo "+ Swap overlay size: $swapsizemb" + echo "---------------------------" + echo "= Requested: $tba" + echo "- Available: $(($free + $tbd))" + echo "---------------------------" + echo "= To fit, free or decrease requested size total by: $(($tba - $free + $tbd))" exitclean fi -- Jason "zcat" Farrell From farrellj at gmail.com Wed Jun 17 23:53:15 2009 From: farrellj at gmail.com (Jason Farrell) Date: Wed, 17 Jun 2009 19:53:15 -0400 Subject: [Fedora-livecd-list] [PATCH] small fix for --multi mode Message-ID: One other tiny patch for the mostly unused "--multi" mode. The "initrd=" in isolinux.cfg wasn't getting replaced, and, it's easier if the $LIVEOS/$SYSLINUXPATH paths are absolute when editing the "main" /syslinux/syslinux.cfg or /syslinux/extlinux.conf menu entries to add them for multibooting. I had a larger ambition for expanding upon the "--multi" mode creation, but I read in an earlier message that the livecd-iso-to-disk script is eventually going to be phased out in favor of a better CLI interface on the python liveusb-creator. So, looking forward to seeing live image + *installer image* multiboot creator capability soon, as it currently takes a bit too much manual syslinux hackery to do it. Fedora Ambassadors, and many others, could definitely use an easier way to create a multi-image bootable usbkey. 8GB+ keys are only around $20 these days... [root at nano livecd-foo]# diff -Naur livecd-iso-to-disk.sh.orig livecd-iso-to-disk.sh --- livecd-iso-to-disk.sh.orig 2009-06-17 17:57:21.000000000 -0400 +++ livecd-iso-to-disk.sh 2009-06-17 19:33:20.109631051 -0400 @@ -691,8 +696,8 @@ fi else # we need to do some more config file tweaks for multi-image mode - sed -i -e "s;kernel vm;kernel $LIVEOS/syslinux/vm;" $USBMNT/$SYSLINUXPATH/isolinux.cfg - sed -i -e "s;initrd i;initrd $LIVEOS/syslinux/i;" $USBMNT/$SYSLINUXPATH/isolinux.cfg + sed -i -e "s;kernel vm;kernel /$LIVEOS/syslinux/vm;" $USBMNT/$SYSLINUXPATH/isolinux.cfg + sed -i -e "s;initrd=i;initrd=/$LIVEOS/syslinux/i;" $USBMNT/$SYSLINUXPATH/isolinux.cfg mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg cleanup fi -- Jason "zcat" Farrell From bruno at wolff.to Wed Jun 17 23:34:45 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Wed, 17 Jun 2009 18:34:45 -0500 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> <20090617203446.GB19672@wolff.to> <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> Message-ID: <20090617233445.GA16553@wolff.to> On Wed, Jun 17, 2009 at 17:15:13 -0400, Christopher Johnston wrote: > Yea, I pulled down the DVD F11 iso and used that but grabbed the latest > livecd creator from rawhide. > > -Chris > > On Wed, Jun 17, 2009 at 4:34 PM, Bruno Wolff III wrote: > > > On Wed, Jun 17, 2009 at 14:26:47 -0400, > > Christopher Johnston wrote: > > > I am having issues on both F10 and F11. > > > > Are you up to date with F11? It's possible that the fix might have been in > > zero day updates and not the released version. > > > > I'll be doing a custom games spin build tonight or tomorrow and can let you > > know if I see this occur. > > I am seeing the problem. It wasn't there two weeks ago. At this point I don't know what broke things. I lost track, have you already filed a bug about this? From katzj at redhat.com Thu Jun 18 14:09:09 2009 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 18 Jun 2009 10:09:09 -0400 Subject: [Fedora-livecd-list] [PATCH] small fix for --multi mode In-Reply-To: References: Message-ID: <20090618140908.GB87291@redhat.com> Thanks for the patches; applied Jeremy From katzj at fedoraproject.org Thu Jun 18 14:08:57 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Thu, 18 Jun 2009 14:08:57 +0000 (UTC) Subject: [Fedora-livecd-list] 2 commits - tools/livecd-iso-to-disk.sh Message-ID: <20090618140857.EB2BB120194@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) New commits: commit a3227625a1317026fbbd331fcbca560716b6cfa8 Author: Jason Farrell Date: Wed Jun 17 19:53:15 2009 -0400 small fix for --multi mode One other tiny patch for the mostly unused "--multi" mode. The "initrd=" in isolinux.cfg wasn't getting replaced, and, it's easier if the $LIVEOS/$SYSLINUXPATH paths are absolute when editing the "main" /syslinux/syslinux.cfg or /syslinux/extlinux.conf menu entries to add them for multibooting. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 01dadb3..672e6db 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -696,8 +696,8 @@ if [ -z "$multi" ]; then fi else # we need to do some more config file tweaks for multi-image mode - sed -i -e "s;kernel vm;kernel $LIVEOS/syslinux/vm;" $USBMNT/$SYSLINUXPATH/isolinux.cfg - sed -i -e "s;initrd i;initrd $LIVEOS/syslinux/i;" $USBMNT/$SYSLINUXPATH/isolinux.cfg + sed -i -e "s;kernel vm;kernel /$LIVEOS/syslinux/vm;" $USBMNT/$SYSLINUXPATH/isolinux.cfg + sed -i -e "s;initrd=i;initrd=/$LIVEOS/syslinux/i;" $USBMNT/$SYSLINUXPATH/isolinux.cfg mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg cleanup fi commit dd2f7eccd287932b1d84287877997a9cf94a0d33 Author: Jason Farrell Date: Wed Jun 17 19:28:54 2009 -0400 Make overlay space requirements clearer My biggest annoyance with the livecd-iso-to-disk script has simply been having to do a little math in my head when trying to fit the largest possible overlay combo onto my liveusb. The script should be doing this work - it should tell you by how much you're over so you can free it and/or quickly adjust your sizes. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index de439d5..01dadb3 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -476,13 +476,18 @@ if [ -n "$skipcompress" ]; then fi free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'}) -if [ $(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) -gt $(($free + $tbd)) ]; then + tba=$(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) +if [ $tba -gt $(($free + $tbd)) ]; then echo "Unable to fit live image + overlay on available space on USB stick" - echo "Size of live image: $livesize" - [ "$overlaysizemb" -gt 0 ] && echo "Overlay size: $overlaysizemb" - [ "$homesizemb" -gt 0 ] && echo "Home overlay size: $homesizemb" - [ "$swapsizemb" -gt 0 ] && echo "Home overlay size: $swapsizemb" - echo "Available space: $(($free + $tbd))" + echo "+ Size of live image: $livesize" + [ "$overlaysizemb" -gt 0 ] && echo "+ Overlay size: $overlaysizemb" + [ "$homesizemb" -gt 0 ] && echo "+ Home overlay size: $homesizemb" + [ "$swapsizemb" -gt 0 ] && echo "+ Swap overlay size: $swapsizemb" + echo "---------------------------" + echo "= Requested: $tba" + echo "- Available: $(($free + $tbd))" + echo "---------------------------" + echo "= To fit, free or decrease requested size total by: $(($tba - $free + $tbd))" exitclean fi From cjohnstonwork at gmail.com Thu Jun 18 12:15:00 2009 From: cjohnstonwork at gmail.com (Christopher Johnston) Date: Thu, 18 Jun 2009 08:15:00 -0400 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <20090617233445.GA16553@wolff.to> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> <20090617203446.GB19672@wolff.to> <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> <20090617233445.GA16553@wolff.to> Message-ID: <63aeb0300906180515o15e64a6cm80dedbc2d14631ea@mail.gmail.com> No I have not file a bug yet, I was grokking a bit of the code and trying a few things out to see if I could resolve the issue or if it was something that I was doing wrong in my kickstart config. Wanted to hit the lists first to make sure it wasn't just me having the issue. -Chris On Wed, Jun 17, 2009 at 7:34 PM, Bruno Wolff III wrote: > On Wed, Jun 17, 2009 at 17:15:13 -0400, > Christopher Johnston wrote: > > Yea, I pulled down the DVD F11 iso and used that but grabbed the latest > > livecd creator from rawhide. > > > > -Chris > > > > On Wed, Jun 17, 2009 at 4:34 PM, Bruno Wolff III wrote: > > > > > On Wed, Jun 17, 2009 at 14:26:47 -0400, > > > Christopher Johnston wrote: > > > > I am having issues on both F10 and F11. > > > > > > Are you up to date with F11? It's possible that the fix might have been > in > > > zero day updates and not the released version. > > > > > > I'll be doing a custom games spin build tonight or tomorrow and can let > you > > > know if I see this occur. > > > > > I am seeing the problem. It wasn't there two weeks ago. At this point I > don't > know what broke things. > > I lost track, have you already filed a bug about this? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cjohnstonwork at gmail.com Thu Jun 18 16:29:47 2009 From: cjohnstonwork at gmail.com (Christopher Johnston) Date: Thu, 18 Jun 2009 12:29:47 -0400 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <20090618131710.GA25396@wolff.to> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> <20090617203446.GB19672@wolff.to> <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> <20090618131710.GA25396@wolff.to> Message-ID: <63aeb0300906180929w8626441n75ad1946e668aee1@mail.gmail.com> Thank you very much! On Thu, Jun 18, 2009 at 9:17 AM, Bruno Wolff III wrote: > On Wed, Jun 17, 2009 at 17:15:13 -0400, > Christopher Johnston wrote: > > Yea, I pulled down the DVD F11 iso and used that but grabbed the latest > > livecd creator from rawhide. > > I had the problem occur on a x86_64 machine and filed bug 506644. > However when I retested it on an i386 machine I didn't see the problem. > I'll get at least one more test done today. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno at wolff.to Thu Jun 18 13:17:10 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Thu, 18 Jun 2009 08:17:10 -0500 Subject: [Fedora-livecd-list] F10 issues In-Reply-To: <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> References: <63aeb0300906110758x21a5765esc91fd24df3596ffa@mail.gmail.com> <20090613152502.GC20578@wolff.to> <63aeb0300906171126i33c1b254u9899a0b44cdc6388@mail.gmail.com> <20090617203446.GB19672@wolff.to> <63aeb0300906171415u2872c053g84ea6dd16c44cc5e@mail.gmail.com> Message-ID: <20090618131710.GA25396@wolff.to> On Wed, Jun 17, 2009 at 17:15:13 -0400, Christopher Johnston wrote: > Yea, I pulled down the DVD F11 iso and used that but grabbed the latest > livecd creator from rawhide. I had the problem occur on a x86_64 machine and filed bug 506644. However when I retested it on an i386 machine I didn't see the problem. I'll get at least one more test done today. From jan.kratochvil at redhat.com Sun Jun 21 10:05:13 2009 From: jan.kratochvil at redhat.com (Jan Kratochvil) Date: Sun, 21 Jun 2009 12:05:13 +0200 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO Message-ID: <20090621100513.GA11430@host0.dyn.jankratochvil.net> Hi, finally created a LiveDVD ISO automatically booting x86_64 OS on x86_64 (and i686 otherwise). Regular users will not notice there exists any new arch while they will benefit from the full performance of their PC: http://people.redhat.com/jkratoch/x86bilive-2009062000.tar.gz (71KB) It uses live_dir=LiveOS-x86_64 vs. live_dir=LiveOS-i686 to boot the image. The syslinux patch provides "default-{x86_64,i386}" keywords in isolinux.cfg. livecd-iso-to-disk is not patched/compatible with such image. livecd-creator should create such ISO on a single run, not by merging the output of two livecd-creator runs by a 3rd party app. Regards, Jan Reasons: * I still did not understand why I have to carry with me two media - both x86_64 and i386 - when all the data perfectly fit on a single media. * Why I have to try to boot x86_64 first to find out if the specific machine is x86_64? Even common programmers do not know it, "Windows XP works here". * The OS must "just work", it must be fun and easy. Requiring a special technical decision before even starting the OS download is a showstopper. * Checked that a regular user will on http://fedoraproject.org/get-fedora still download terrible performance degradation of 32-bit OS although her hadware is in 70%-95%(?) of cases x86_64. x86_64 is here for 6 years now. * Arguing x86 may be faster than x86_64... I did not find any such case, x86_64 is a more modern arch (more registers, PIC for free, better ABI). We already hit the 2GB address space limitations. x86_64 is the future. * All the friends of mine have 8Mbit+ ADSL and TB disks downloading many DVD disks so some several more hundreds of MB are not something to notice. -------------- next part -------------- mkisofs -f -J -r -hide-rr-moved -hide-joliet-trans-tbl -V Fedora-11-x86bi-Live -o ../x86bilive.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-info-table -boot-load-size 4 . mount -r -o loop Fedora-11-x86_64-Live.iso x86_64/ mount -r -o loop Fedora-11-i686-Live.iso i686/ x86bilive: total 4 lrwxrwxrwx 1 root root 13 2009-06-18 21:10 GPL -> ../x86_64/GPL lrwxrwxrwx 1 root root 14 2009-06-18 21:11 LiveOS-i686 -> ../i686/LiveOS/ lrwxrwxrwx 1 root root 16 2009-06-18 21:10 LiveOS-x86_64 -> ../x86_64/LiveOS/ lrwxrwxrwx 1 root root 16 2009-06-18 21:10 README -> ../x86_64/README drwxr-xr-x 2 root root 4096 2009-06-20 21:44 isolinux/ x86bilive/isolinux: total 184 lrwxrwxrwx 1 root root 30 2009-06-18 21:13 boot.cat -> ../../x86_64/isolinux/boot.cat lrwxrwxrwx 1 root root 31 2009-06-18 21:17 ii686 -> ../../i686/isolinux/initrd0.img -rw-r--r-- 1 root root 14336 2009-06-20 21:45 isolinux.bin -r--r--r-- 1 root root 1411 2009-06-20 21:44 isolinux.cfg lrwxrwxrwx 1 root root 33 2009-06-18 21:13 ix8664 -> ../../x86_64/isolinux/initrd0.img lrwxrwxrwx 1 root root 28 2009-06-18 21:17 ki686 -> ../../i686/isolinux/vmlinuz0 lrwxrwxrwx 1 root root 30 2009-06-18 21:13 kx8664 -> ../../x86_64/isolinux/vmlinuz0 lrwxrwxrwx 1 root root 29 2009-06-18 21:13 memtest -> ../../x86_64/isolinux/memtest lrwxrwxrwx 1 root root 32 2009-06-18 21:13 splash.jpg -> ../../x86_64/isolinux/splash.jpg -r--r--r-- 1 root root 159888 2009-06-20 20:48 vesamenu.c32 isolinux.cfg: default vesamenu.c32 timeout 100 menu background splash.jpg menu title Welcome to Fedora-11-x86bi-Live! menu color border 0 #ffffffff #00000000 menu color sel 7 #ffffffff #ff000000 menu color title 0 #ffffffff #00000000 menu color tabmsg 0 #ffffffff #00000000 menu color unsel 0 #ffffffff #00000000 menu color hotsel 0 #ff000000 #ffffffff menu color hotkey 7 #ffffffff #ff000000 menu color timeout_msg 0 #ffffffff #00000000 menu color timeout 0 #ffffffff #00000000 menu color cmdline 0 #ffffffff #00000000 menu hidden menu hiddenrow 5 label linux0 menu label x86_64 Boot kernel kx8664 append initrd=ix8664 root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto live_dir=LiveOS-x86_64 ro liveimg quiet rhgb menu default-x86_64 label check0 menu label x86_64 Verify and Boot kernel kx8664 append initrd=ix8664 root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto live_dir=LiveOS-x86_64 ro liveimg quiet rhgb check label linux1 menu label i686 Boot kernel ki686 append initrd=ii686 root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto live_dir=LiveOS-i686 ro liveimg quiet rhgb menu default-i386 label check1 menu label i686 Verify and Boot kernel ki686 append initrd=ii686 root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto live_dir=LiveOS-i686 ro liveimg quiet rhgb check label memtest menu label Memory Test kernel memtest label local menu label Boot from local drive localboot 0xffff -------------- next part -------------- --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ defaults.patch 20 Jun 2009 20:10:46 -0000 @@ -0,0 +1,175 @@ +--- syslinux-3.75-orig/com32/menu/Makefile 2009-04-16 06:42:14.000000000 +0200 ++++ syslinux-3.75-defaults/com32/menu/Makefile 2009-06-20 19:21:32.000000000 +0200 +@@ -24,7 +24,7 @@ MODULES = menu.c32 vesamenu.c32 + TESTFILES = + + COMMONOBJS = menumain.o readconfig.o passwd.o drain.o printmsg.o colors.o \ +- background.o refstr.o execute.o ++ background.o refstr.o execute.o verify_cpu.o + + all: $(MODULES) $(TESTFILES) + +--- syslinux-3.75-orig/com32/menu/menu.h 2009-04-16 06:42:14.000000000 +0200 ++++ syslinux-3.75-defaults/com32/menu/menu.h 2009-06-20 19:21:32.000000000 +0200 +@@ -224,4 +224,9 @@ void execute(const char *cmdline, enum k + /* drain.c */ + void drain_keyboard(void); + ++/* verify_cpu.S */ ++#if defined(__i386__) || defined(__x86_64__) ++int verify_cpu(void); ++#endif ++ + #endif /* MENU_H */ +--- syslinux-3.75-orig/com32/menu/readconfig.c 2009-04-16 06:42:14.000000000 +0200 ++++ syslinux-3.75-defaults/com32/menu/readconfig.c 2009-06-20 20:23:24.000000000 +0200 +@@ -656,11 +656,22 @@ static void parse_config_file(FILE *f) + m->parent_entry->displayname = refstr_get(m->title); + } + } +- } else if ( looking_at(p, "default") ) { +- if (ld.label) { +- ld.menudefault = 1; +- } else if (m->parent_entry) { +- m->parent->defentry = m->parent_entry->entry; ++ } else if ( looking_at(p, "default") ++#if defined(__i386__) || defined(__x86_64__) ++ || looking_at(p, "default-i386") ++ || looking_at(p, "default-x86_64") ++#endif ++ ) { ++#if defined(__i386__) || defined(__x86_64__) ++ if (! ( ( looking_at(p, "default-i386") && verify_cpu () == 0 ) || ++ ( looking_at(p, "default-x86_64") && verify_cpu () != 0 ) ) ) ++#endif ++ { ++ if (ld.label) { ++ ld.menudefault = 1; ++ } else if (m->parent_entry) { ++ m->parent->defentry = m->parent_entry->entry; ++ } + } + } else if ( looking_at(p, "hide") ) { + ld.menuhide = 1; +--- syslinux-3.75-orig/com32/menu/verify_cpu.S 1970-01-01 01:00:00.000000000 +0100 ++++ syslinux-3.75-defaults/com32/menu/verify_cpu.S 2009-06-20 20:30:27.000000000 +0200 +@@ -0,0 +1,119 @@ ++/* https://lists.linux-foundation.org/pipermail/fastboot/2006-November/011885.html */ ++#if defined(__i386__) || defined(__x86_64__) ++ .globl verify_cpu ++verify_cpu: ++ push %ebx ++ push %esi ++ push %edi ++ push %ebp ++ call Xverify_cpu ++ pop %ebp ++ pop %edi ++ pop %esi ++ pop %ebx ++ ret ++ ++/* ++ * ++ * verify_cpu.S ++ * ++ * 14 Nov 2006 Vivek Goyal: Created the file ++ * ++ * This is a common code for verification whether CPU supports ++ * long mode and SSE or not. It is not called directly instead this ++ * file is included at various places and compiled in that context. ++ * Following are the current usage. ++ * ++ * This file is included by both 16bit and 32bit code. ++ * ++ * arch/x86_64/boot/setup.S : Boot cpu verification (16bit) ++ * arch/x86_64/boot/compressed/head.S: Boot cpu verification (32bit) ++ * arch/x86_64/kernel/trampoline.S: secondary processor verfication (16bit) ++ * arch/x86_64/kernel/acpi/wakeup.S:Verfication at resume (16bit) ++ * ++ * verify_cpu, returns the status of cpu check in register %eax. ++ * 0: Success 1: Failure ++ * ++ * The caller needs to check for the error code and take the action ++ * appropriately. Either display a message or halt. ++ */ ++ ++Xverify_cpu: ++ ++ pushfl # Save caller passed flags ++ pushl $0 # Kill any dangerous flags ++ popfl ++ ++ /* minimum CPUID flags for x86-64 */ ++ /* see http://www.x86-64.org/lists/discuss/msg02971.html */ ++#define SSE_MASK ((1<<25)|(1<<26)) ++#define REQUIRED_MASK1 ((1<<0)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<8)|\ ++ (1<<13)|(1<<15)|(1<<24)) ++#define REQUIRED_MASK2 (1<<29) ++ pushfl # standard way to check for cpuid ++ popl %eax ++ movl %eax,%ebx ++ xorl $0x200000,%eax ++ pushl %eax ++ popfl ++ pushfl ++ popl %eax ++ cmpl %eax,%ebx ++ jz verify_cpu_no_longmode # cpu has no cpuid ++ ++ movl $0x0,%eax # See if cpuid 1 is implemented ++ cpuid ++ cmpl $0x1,%eax ++ jb verify_cpu_no_longmode # no cpuid 1 ++ ++ xor %di,%di ++ cmpl $0x68747541,%ebx # AuthenticAMD ++ jnz verify_cpu_noamd ++ cmpl $0x69746e65,%edx ++ jnz verify_cpu_noamd ++ cmpl $0x444d4163,%ecx ++ jnz verify_cpu_noamd ++ mov $1,%di # cpu is from AMD ++ ++verify_cpu_noamd: ++ movl $0x1,%eax # Does the cpu have what it takes ++ cpuid ++ andl $REQUIRED_MASK1,%edx ++ xorl $REQUIRED_MASK1,%edx ++ jnz verify_cpu_no_longmode ++ ++ movl $0x80000000,%eax # See if extended cpuid is implemented ++ cpuid ++ cmpl $0x80000001,%eax ++ jb verify_cpu_no_longmode # no extended cpuid ++ ++ movl $0x80000001,%eax # Does the cpu have what it takes ++ cpuid ++ andl $REQUIRED_MASK2,%edx ++ xorl $REQUIRED_MASK2,%edx ++ jnz verify_cpu_no_longmode ++ ++verify_cpu_sse_test: ++ movl $1,%eax ++ cpuid ++ andl $SSE_MASK,%edx ++ cmpl $SSE_MASK,%edx ++ je verify_cpu_sse_ok ++ test %di,%di ++ jz verify_cpu_no_longmode # only try to force SSE on AMD ++ movl $0xc0010015,%ecx # HWCR ++ rdmsr ++ btr $15,%eax # enable SSE ++ wrmsr ++ xor %di,%di # don't loop ++ jmp verify_cpu_sse_test # try again ++ ++verify_cpu_no_longmode: ++ popfl # Restore caller passed flags ++ movl $1,%eax ++ ret ++verify_cpu_sse_ok: ++ popfl # Restore caller passed flags ++ xorl %eax, %eax ++ ret ++#endif --- syslinux.spec 16 Apr 2009 18:11:30 -0000 1.59 +++ syslinux.spec 20 Jun 2009 20:10:46 -0000 @@ -7,6 +7,7 @@ License: GPLv2+ Group: Applications/System URL: http://syslinux.zytor.com/ Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{tarball_version}.tar.bz2 +Patch9: defaults.patch ExclusiveArch: %{ix86} x86_64 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nasm >= 0.98.38-1, perl, netpbm-progs @@ -33,12 +34,18 @@ MEMDISK, which loads legacy operating sy %prep %setup -q -n syslinux-%{tarball_version} +%patch9 -p1 %build CFLAGS="-Werror -Wno-unused -finline-limit=2000" export CFLAGS # If you make clean here, we lose the provided syslinux.exe #make clean +rm -f com32/menu/vesamenu.c32 +make -C com32/lib libcom32.a +make -C com32/gpllib libcom32gpl.a +make -C com32/menu vesamenu.c32 +test -f com32/menu/vesamenu.c32 make installer make -C sample tidy From kanarip at kanarip.com Sun Jun 21 17:53:58 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Sun, 21 Jun 2009 19:53:58 +0200 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <20090621100513.GA11430@host0.dyn.jankratochvil.net> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> Message-ID: <4A3E73B6.6080907@kanarip.com> On 06/21/2009 12:05 PM, Jan Kratochvil wrote: > Hi, > > finally created a LiveDVD ISO automatically booting x86_64 OS on x86_64 > (and i686 otherwise). Regular users will not notice there exists any new arch > while they will benefit from the full performance of their PC: > http://people.redhat.com/jkratoch/x86bilive-2009062000.tar.gz (71KB) > > It uses live_dir=LiveOS-x86_64 vs. live_dir=LiveOS-i686 to boot the image. > > The syslinux patch provides "default-{x86_64,i386}" keywords in isolinux.cfg. > > livecd-iso-to-disk is not patched/compatible with such image. > > livecd-creator should create such ISO on a single run, not by merging the > output of two livecd-creator runs by a 3rd party app. > It does not make much sense to me, so maybe you can explain it: Isn't syslinux 3.72 or later itself capable of choosing one or the other menu entry using ifcpu64.c32? Would that not be a better option? -Jeroen From jan.kratochvil at redhat.com Sun Jun 21 18:35:56 2009 From: jan.kratochvil at redhat.com (Jan Kratochvil) Date: Sun, 21 Jun 2009 20:35:56 +0200 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <4A3E73B6.6080907@kanarip.com> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> <4A3E73B6.6080907@kanarip.com> Message-ID: <20090621183556.GA18677@host0.dyn.jankratochvil.net> On Sun, 21 Jun 2009 19:53:58 +0200, Jeroen van Meeuwen wrote: > On 06/21/2009 12:05 PM, Jan Kratochvil wrote: >> The syslinux patch provides "default-{x86_64,i386}" keywords in isolinux.cfg. ... > It does not make much sense to me, so maybe you can explain it: > > Isn't syslinux 3.72 or later itself capable of choosing one or the other > menu entry using ifcpu64.c32? > > Would that not be a better option? yes, definitely, my syslinux patch is useless. I did not expect such option exists when such ISO still has not been released while waiting for it the recent years. Thanks for the notice, Jan From jdogalt at yahoo.com Mon Jun 22 04:12:47 2009 From: jdogalt at yahoo.com (Jane Dogalt) Date: Sun, 21 Jun 2009 21:12:47 -0700 (PDT) Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO Message-ID: <836948.94123.qm@web56905.mail.re3.yahoo.com> Very cool. Now if only you can go tri-arch with ppc. Actually I'm just kidding, I don't care about that unless I can get fixstars to hire me, or someone to give me a ps3. Out of curiosity- has anybody yet mastered a good spin that also plays video when inserted into a typical dvd player? I don't think there are any issues with that, but wonder why I haven't seen that before. It seems like packing in a kickass intro-to-fedora video that people could play on their DVD player, would be a great feature, that might help a certain class of new users feel more comfortable with the process. I.e. it feels pretty safe to watch a DVD, versus running some strange software on your computer. Thanks again Jan, very cool feature. -dmc --- On Sun, 6/21/09, Jan Kratochvil wrote: > From: Jan Kratochvil > Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO > To: fedora-livecd-list at redhat.com > Date: Sunday, June 21, 2009, 5:05 AM > Hi, > > finally created a LiveDVD ISO automatically booting x86_64 > OS on x86_64 > (and i686 otherwise).? Regular users will not notice > there exists any new arch > while they will benefit from the full performance of their > PC: > ??? http://people.redhat.com/jkratoch/x86bilive-2009062000.tar.gz > (71KB) > > It uses live_dir=LiveOS-x86_64 vs. live_dir=LiveOS-i686 to > boot the image. > > The syslinux patch provides "default-{x86_64,i386}" > keywords in isolinux.cfg. > > livecd-iso-to-disk is not patched/compatible with such > image. > > livecd-creator should create such ISO on a single run, not > by merging the > output of two livecd-creator runs by a 3rd party app. > > > Regards, > Jan > > Reasons: > > * I still did not understand why I have to carry with me > two media - both > ? x86_64 and i386 - when all the data perfectly fit on > a single media. > > * Why I have to try to boot x86_64 first to find out if the > specific machine > ? is x86_64?? Even common programmers do not know > it, "Windows XP works here". > > * The OS must "just work", it must be fun and easy.? > Requiring a special > ? technical decision before even starting the OS > download is a showstopper. > > * Checked that a regular user will on http://fedoraproject.org/get-fedora > ? still download terrible performance degradation of > 32-bit OS although her > ? hadware is in 70%-95%(?) of cases x86_64.? > x86_64 is here for 6 years now. > > ? * Arguing x86 may be faster than x86_64... I did not > find any such case, > ? ? x86_64 is a more modern arch (more registers, > PIC for free, better ABI). > ? ? We already hit the 2GB address space > limitations.? x86_64 is the future. > > * All the friends of mine have 8Mbit+ ADSL and TB disks > downloading many DVD > ? disks so some several more hundreds of MB are not > something to notice. > > -----Inline Attachment Follows----- > > mkisofs -f -J -r -hide-rr-moved > -hide-joliet-trans-tbl -V Fedora-11-x86bi-Live -o > ../x86bilive.iso -b isolinux/isolinux.bin -c > isolinux/boot.cat -no-emul-boot -boot-info-table > -boot-load-size 4 . > > mount -r -o loop Fedora-11-x86_64-Live.iso x86_64/ > mount -r -o loop Fedora-11-i686-Live.iso i686/ > > x86bilive: > total 4 > lrwxrwxrwx 1 root root???13 2009-06-18 21:10 > GPL -> ../x86_64/GPL > lrwxrwxrwx 1 root root???14 2009-06-18 21:11 > LiveOS-i686 -> ../i686/LiveOS/ > lrwxrwxrwx 1 root root???16 2009-06-18 21:10 > LiveOS-x86_64 -> ../x86_64/LiveOS/ > lrwxrwxrwx 1 root root???16 2009-06-18 21:10 > README -> ../x86_64/README > drwxr-xr-x 2 root root 4096 2009-06-20 21:44 isolinux/ > > x86bilive/isolinux: > total 184 > lrwxrwxrwx 1 root root? ???30 > 2009-06-18 21:13 boot.cat -> > ../../x86_64/isolinux/boot.cat > lrwxrwxrwx 1 root root? ???31 > 2009-06-18 21:17 ii686 -> > ../../i686/isolinux/initrd0.img > -rw-r--r-- 1 root root? 14336 2009-06-20 21:45 > isolinux.bin > -r--r--r-- 1 root root???1411 2009-06-20 > 21:44 isolinux.cfg > lrwxrwxrwx 1 root root? ???33 > 2009-06-18 21:13 ix8664 -> > ../../x86_64/isolinux/initrd0.img > lrwxrwxrwx 1 root root? ???28 > 2009-06-18 21:17 ki686 -> ../../i686/isolinux/vmlinuz0 > lrwxrwxrwx 1 root root? ???30 > 2009-06-18 21:13 kx8664 -> > ../../x86_64/isolinux/vmlinuz0 > lrwxrwxrwx 1 root root? ???29 > 2009-06-18 21:13 memtest -> > ../../x86_64/isolinux/memtest > lrwxrwxrwx 1 root root? ???32 > 2009-06-18 21:13 splash.jpg -> > ../../x86_64/isolinux/splash.jpg > -r--r--r-- 1 root root 159888 2009-06-20 20:48 > vesamenu.c32 > > isolinux.cfg: > > default vesamenu.c32 > timeout 100 > > menu background splash.jpg > menu title Welcome to Fedora-11-x86bi-Live! > menu color border 0 #ffffffff #00000000 > menu color sel 7 #ffffffff #ff000000 > menu color title 0 #ffffffff #00000000 > menu color tabmsg 0 #ffffffff #00000000 > menu color unsel 0 #ffffffff #00000000 > menu color hotsel 0 #ff000000 #ffffffff > menu color hotkey 7 #ffffffff #ff000000 > menu color timeout_msg 0 #ffffffff #00000000 > menu color timeout 0 #ffffffff #00000000 > menu color cmdline 0 #ffffffff #00000000 > menu hidden > menu hiddenrow 5 > label linux0 > ? menu label x86_64 Boot > ? kernel kx8664 > ? append initrd=ix8664 > root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto > live_dir=LiveOS-x86_64 ro liveimg quiet? rhgb > menu default-x86_64 > label check0 > ? menu label x86_64 Verify and Boot > ? kernel kx8664 > ? append initrd=ix8664 > root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto > live_dir=LiveOS-x86_64 ro liveimg quiet? rhgb check > label linux1 > ? menu label i686 Boot > ? kernel ki686 > ? append initrd=ii686 > root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto > live_dir=LiveOS-i686 ro liveimg quiet? rhgb > menu default-i386 > label check1 > ? menu label i686 Verify and Boot > ? kernel ki686 > ? append initrd=ii686 > root=CDLABEL=Fedora-11-x86bi-Live rootfstype=auto > live_dir=LiveOS-i686 ro liveimg quiet? rhgb check > label memtest > ? menu label Memory Test > ? kernel memtest > label local > ? menu label Boot from local drive > ? localboot 0xffff > > -----Inline Attachment Follows----- > > --- /dev/null??? 1 > Jan 1970 00:00:00 -0000 > +++ defaults.patch??? 20 Jun 2009 20:10:46 > -0000 > @@ -0,0 +1,175 @@ > +--- > syslinux-3.75-orig/com32/menu/Makefile??? > 2009-04-16 06:42:14.000000000 +0200 > ++++ > syslinux-3.75-defaults/com32/menu/Makefile??? > 2009-06-20 19:21:32.000000000 +0200 > +@@ -24,7 +24,7 @@ MODULES??? ? = > menu.c32 vesamenu.c32 > + TESTFILES = > + > + COMMONOBJS = menumain.o readconfig.o passwd.o drain.o > printmsg.o colors.o \ > +-??? background.o refstr.o execute.o > ++??? background.o refstr.o execute.o > verify_cpu.o > + > + all: $(MODULES) $(TESTFILES) > + > +--- syslinux-3.75-orig/com32/menu/menu.h??? > 2009-04-16 06:42:14.000000000 +0200 > ++++ > syslinux-3.75-defaults/com32/menu/menu.h??? > 2009-06-20 19:21:32.000000000 +0200 > +@@ -224,4 +224,9 @@ void execute(const char *cmdline, enum > k > + /* drain.c */ > + void drain_keyboard(void); > + > ++/* verify_cpu.S */ > ++#if defined(__i386__) || defined(__x86_64__) > ++int verify_cpu(void); > ++#endif > ++ > + #endif /* MENU_H */ > +--- > syslinux-3.75-orig/com32/menu/readconfig.c??? > 2009-04-16 06:42:14.000000000 +0200 > ++++ > syslinux-3.75-defaults/com32/menu/readconfig.c??? > 2009-06-20 20:23:24.000000000 +0200 > +@@ -656,11 +656,22 @@ static void parse_config_file(FILE > *f) > + ??? ? ? > m->parent_entry->displayname = > refstr_get(m->title); > + ??? ? } > + ??? } > +-? ? ? } else if ( looking_at(p, "default") > ) { > +-??? if (ld.label) { > +-??? ? ld.menudefault = 1; > +-??? } else if (m->parent_entry) { > +-??? ? m->parent->defentry = > m->parent_entry->entry; > ++? ? ? } else if ( looking_at(p, > "default") > ++#if defined(__i386__) || defined(__x86_64__) > ++??? ??? ? || > looking_at(p, "default-i386") > ++??? ??? ? || > looking_at(p, "default-x86_64") > ++#endif > ++??? ??? ? ) { > ++#if defined(__i386__) || defined(__x86_64__) > ++? ? ? ? if (! ( ( looking_at(p, > "default-i386") && verify_cpu () == 0 ) || > ++??? ? ? ? ? ( > looking_at(p, "default-x86_64") && verify_cpu () != > 0 ) ) ) > ++#endif > ++??? { > ++??? ? if (ld.label) { > ++??? ? ? ld.menudefault = 1; > ++??? ? } else if (m->parent_entry) > { > ++??? ? ? > m->parent->defentry = m->parent_entry->entry; > ++??? ? } > + ??? } > +? ? ???} else if ( looking_at(p, > "hide") ) { > + ??? ld.menuhide = 1; > +--- > syslinux-3.75-orig/com32/menu/verify_cpu.S??? > 1970-01-01 01:00:00.000000000 +0100 > ++++ > syslinux-3.75-defaults/com32/menu/verify_cpu.S??? > 2009-06-20 20:30:27.000000000 +0200 > +@@ -0,0 +1,119 @@ > ++/* https://lists.linux-foundation.org/pipermail/fastboot/2006-November/011885.html > */ > ++#if defined(__i386__) || defined(__x86_64__) > ++??? .globl??? verify_cpu > ++verify_cpu: > ++??? push??? %ebx > ++??? push??? %esi > ++??? push??? %edi > ++??? push??? %ebp > ++??? call??? Xverify_cpu > ++??? pop??? %ebp > ++??? pop??? %edi > ++??? pop??? %esi > ++??? pop??? %ebx > ++??? ret > ++ > ++/* > ++ * > ++ *??? verify_cpu.S > ++ * > ++ * ??? 14 Nov 2006? Vivek Goyal: > Created the file > ++ * > ++ *??? This is a common code for > verification whether CPU supports > ++ * ??? long mode and SSE or not. It is not > called directly instead this > ++ *??? file is included at various places > and compiled in that context. > ++ * ??? Following are the current usage. > ++ * > ++ * ??? This file is included by both 16bit > and 32bit code. > ++ * > ++ *??? arch/x86_64/boot/setup.S : Boot cpu > verification (16bit) > ++ *??? arch/x86_64/boot/compressed/head.S: > Boot cpu verification (32bit) > ++ *??? arch/x86_64/kernel/trampoline.S: > secondary processor verfication (16bit) > ++ *??? > arch/x86_64/kernel/acpi/wakeup.S:Verfication at resume > (16bit) > ++ * > ++ *??? verify_cpu, returns the status of > cpu check in register %eax. > ++ *??? ??? 0: Success? > ? 1: Failure > ++ * > ++ * ??? The caller needs to check for the > error code and take the action > ++ * ??? appropriately. Either display a > message or halt. > ++ */ > ++ > ++Xverify_cpu: > ++ > ++??? pushfl??? > ??? ??? ??? # > Save caller passed flags > ++??? pushl??? > $0??? ??? ??? # > Kill any dangerous flags > ++??? popfl > ++ > ++??? /* minimum CPUID flags for x86-64 */ > ++??? /* see http://www.x86-64.org/lists/discuss/msg02971.html */ > ++#define SSE_MASK ((1<<25)|(1<<26)) > ++#define REQUIRED_MASK1 > ((1<<0)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<8)|\ > ++??? ??? ??? > ??? ??? > ???(1<<13)|(1<<15)|(1<<24)) > ++#define REQUIRED_MASK2 (1<<29) > ++??? pushfl??? > ??? ??? ??? # > standard way to check for cpuid > ++??? popl??? %eax > ++??? movl??? %eax,%ebx > ++??? xorl??? $0x200000,%eax > ++??? pushl??? %eax > ++??? popfl > ++??? pushfl > ++??? popl??? %eax > ++??? cmpl??? %eax,%ebx > ++??? jz??? > verify_cpu_no_longmode??? # cpu has no cpuid > ++ > ++??? movl??? > $0x0,%eax??? ??? # See if > cpuid 1 is implemented > ++??? cpuid > ++??? cmpl??? $0x1,%eax > ++??? jb??? > verify_cpu_no_longmode??? # no cpuid 1 > ++ > ++??? xor??? %di,%di > ++??? cmpl??? > $0x68747541,%ebx??? # AuthenticAMD > ++??? jnz??? > verify_cpu_noamd > ++??? cmpl??? > $0x69746e65,%edx > ++??? jnz??? > verify_cpu_noamd > ++??? cmpl??? > $0x444d4163,%ecx > ++??? jnz??? > verify_cpu_noamd > ++??? mov??? > $1,%di??? ??? > ??? # cpu is from AMD > ++ > ++verify_cpu_noamd: > ++??? movl? ? > $0x1,%eax??? ??? # Does the > cpu have what it takes > ++??? cpuid > ++??? andl??? > $REQUIRED_MASK1,%edx > ++??? xorl??? > $REQUIRED_MASK1,%edx > ++??? jnz??? > verify_cpu_no_longmode > ++ > ++??? movl? ? > $0x80000000,%eax??? # See if extended cpuid > is implemented > ++??? cpuid > ++??? cmpl? ? $0x80000001,%eax > ++??? jb? ? ? > verify_cpu_no_longmode??? # no extended > cpuid > ++ > ++??? movl? ? > $0x80000001,%eax??? # Does the cpu have what > it takes > ++??? cpuid > ++??? andl? ? > $REQUIRED_MASK2,%edx > ++??? xorl? ? > $REQUIRED_MASK2,%edx > ++??? jnz? > ???verify_cpu_no_longmode > ++ > ++verify_cpu_sse_test: > ++??? movl??? $1,%eax > ++??? cpuid > ++??? andl??? $SSE_MASK,%edx > ++??? cmpl??? $SSE_MASK,%edx > ++??? je??? > verify_cpu_sse_ok > ++??? test??? %di,%di > ++??? jz??? > verify_cpu_no_longmode??? # only try to force > SSE on AMD > ++??? movl??? > $0xc0010015,%ecx??? # HWCR > ++??? rdmsr > ++??? btr??? > $15,%eax??? ??? # enable SSE > ++??? wrmsr > ++??? xor??? > %di,%di??? ??? > ??? # don't loop > ++??? jmp??? > verify_cpu_sse_test??? # try again > ++ > ++verify_cpu_no_longmode: > ++??? popfl??? > ??? ??? ??? # > Restore caller passed flags > ++??? movl $1,%eax > ++??? ret > ++verify_cpu_sse_ok: > ++??? popfl??? > ??? ??? ??? # > Restore caller passed flags > ++??? xorl %eax, %eax > ++??? ret > ++#endif > --- syslinux.spec??? 16 Apr 2009 18:11:30 > -0000??? 1.59 > +++ syslinux.spec??? 20 Jun 2009 20:10:46 > -0000 > @@ -7,6 +7,7 @@ License: GPLv2+ > Group: Applications/System > URL: http://syslinux.zytor.com/ > Source0: ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{tarball_version}.tar.bz2 > +Patch9: defaults.patch > ExclusiveArch: %{ix86} x86_64 > Buildroot: > %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} > -n) > BuildRequires: nasm >= 0.98.38-1, perl, netpbm-progs > @@ -33,12 +34,18 @@ MEMDISK, which loads legacy operating > sy > > %prep > %setup -q -n syslinux-%{tarball_version} > +%patch9 -p1 > > %build > CFLAGS="-Werror -Wno-unused -finline-limit=2000" > export CFLAGS > # If you make clean here, we lose the provided > syslinux.exe > #make clean > +rm -f com32/menu/vesamenu.c32 > +make -C com32/lib libcom32.a > +make -C com32/gpllib libcom32gpl.a > +make -C com32/menu vesamenu.c32 > +test -f com32/menu/vesamenu.c32 > make installer > make -C sample tidy > > > -----Inline Attachment Follows----- > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From kanarip at kanarip.com Tue Jun 23 12:51:33 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Tue, 23 Jun 2009 14:51:33 +0200 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <20090621183556.GA18677@host0.dyn.jankratochvil.net> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> <4A3E73B6.6080907@kanarip.com> <20090621183556.GA18677@host0.dyn.jankratochvil.net> Message-ID: <4A40CFD5.7020704@kanarip.com> On 06/21/2009 08:35 PM, Jan Kratochvil wrote: > On Sun, 21 Jun 2009 19:53:58 +0200, Jeroen van Meeuwen wrote: >> On 06/21/2009 12:05 PM, Jan Kratochvil wrote: >>> The syslinux patch provides "default-{x86_64,i386}" keywords in isolinux.cfg. > ... >> It does not make much sense to me, so maybe you can explain it: >> >> Isn't syslinux 3.72 or later itself capable of choosing one or the other >> menu entry using ifcpu64.c32? >> >> Would that not be a better option? > > yes, definitely, my syslinux patch is useless. > > I did not expect such option exists when such ISO still has not been released > while waiting for it the recent years. > So yeah, the problem we get with i386/x86_64 hybrids is more that we would reduce the available size to either of the Live images to half a CD or half a DVD. Some of our spins fit on half a DVD, but not half a CD. If some spins have separate media for each arch, and others do not, then that may work confusing. That said though, I don't think we've had this kinda thing discussed or decided upon... so it's a good point ;-) -Jeroen From notting at redhat.com Tue Jun 23 14:22:07 2009 From: notting at redhat.com (Bill Nottingham) Date: Tue, 23 Jun 2009 10:22:07 -0400 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <4A40CFD5.7020704@kanarip.com> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> <4A3E73B6.6080907@kanarip.com> <20090621183556.GA18677@host0.dyn.jankratochvil.net> <4A40CFD5.7020704@kanarip.com> Message-ID: <20090623142207.GB27911@nostromo.devel.redhat.com> Jeroen van Meeuwen (kanarip at kanarip.com) said: > So yeah, the problem we get with i386/x86_64 hybrids is more that we > would reduce the available size to either of the Live images to half a > CD or half a DVD. Some of our spins fit on half a DVD, but not half a > CD. If some spins have separate media for each arch, and others do not, > then that may work confusing. > > That said though, I don't think we've had this kinda thing discussed or > decided upon... so it's a good point ;-) I think it's safe to assume that attempting to fit any 'real' biarch spin on CD would be a futile exercise. DVD shouldn't be an issue for the non-Games live spins yet, should it? Bill From jan.kratochvil at redhat.com Tue Jun 23 14:47:11 2009 From: jan.kratochvil at redhat.com (Jan Kratochvil) Date: Tue, 23 Jun 2009 16:47:11 +0200 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <20090623142207.GB27911@nostromo.devel.redhat.com> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> <4A3E73B6.6080907@kanarip.com> <20090621183556.GA18677@host0.dyn.jankratochvil.net> <4A40CFD5.7020704@kanarip.com> <20090623142207.GB27911@nostromo.devel.redhat.com> Message-ID: <20090623144711.GA6514@host0.dyn.jankratochvil.net> On Tue, 23 Jun 2009 16:22:07 +0200, Bill Nottingham wrote: > DVD shouldn't be an issue for the non-Games live spins yet, should it? * FireFox + OpenOffice.org are (IMO) the two most visible F/OSS applications. * LiveCD is there (also / primarily?) to make a preview of what is F/OSS. => The major F/OSS application success is omitted because of ... why? There ware recent discussions people no longer download CD media; but to say the truth I do not find a clear consensus. BitTorrent downloaders of the split CD sets have been decreasing. F9: 6.32%. F10 4.58% F11 so far: 2.2%. + Do we need split media CDs for F12? https://www.redhat.com/archives/fedora-devel-list/2009-June/thread.html#00953 + https://fedoraproject.org/wiki/F12_No_Split_CDs_Proposal Regards, Jan From bruno at wolff.to Tue Jun 23 16:14:10 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Tue, 23 Jun 2009 11:14:10 -0500 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <20090623142207.GB27911@nostromo.devel.redhat.com> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> <4A3E73B6.6080907@kanarip.com> <20090621183556.GA18677@host0.dyn.jankratochvil.net> <4A40CFD5.7020704@kanarip.com> <20090623142207.GB27911@nostromo.devel.redhat.com> Message-ID: <20090623161410.GB28128@wolff.to> On Tue, Jun 23, 2009 at 10:22:07 -0400, Bill Nottingham wrote: > Jeroen van Meeuwen (kanarip at kanarip.com) said: > > So yeah, the problem we get with i386/x86_64 hybrids is more that we > > would reduce the available size to either of the Live images to half a > > CD or half a DVD. Some of our spins fit on half a DVD, but not half a > > CD. If some spins have separate media for each arch, and others do not, > > then that may work confusing. > > > > That said though, I don't think we've had this kinda thing discussed or > > decided upon... so it's a good point ;-) > > I think it's safe to assume that attempting to fit any 'real' biarch > spin on CD would be a futile exercise. DVD shouldn't be an issue for > the non-Games live spins yet, should it? A biarch rescue image would be useful. For some kinds of recoveries you need to use a rescue image matching the arch of the system you are trying to fix. I got bit by this during the F11 devel cycle. From martin at martindengler.com Tue Jun 23 20:59:16 2009 From: martin at martindengler.com (Martin Dengler) Date: Tue, 23 Jun 2009 21:59:16 +0100 Subject: [Fedora-livecd-list] [PATCH] don't need to checkMBR() for loop devices Message-ID: <1245790756-23521-1-git-send-email-martin@martindengler.com> livecd-iso-to-disk.sh doesn't do the right thing w.r.t. loop devices and MBR detection. I don't think this is intentional, but it currently requires loop devices to start with an MBR, by virtue of getdisk() being a NOOP for loop devices and checkMBR assuming that the disk must need an MBR. checkMBR() should just ignore loop devices like other key functions do. --- livecd-iso-to-disk.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/livecd-iso-to-disk.sh b/livecd-iso-to-disk.sh index 672e6db..0efef58 100755 --- a/livecd-iso-to-disk.sh +++ b/livecd-iso-to-disk.sh @@ -93,6 +93,9 @@ resetMBR() { } checkMBR() { + if [[ "$DEV" =~ "/dev/loop*" ]]; then + return 0 + fi getdisk $1 bs=$(mktemp /tmp/bs.XXXXXX) -- 1.6.0.6 From katzj at fedoraproject.org Tue Jun 23 21:06:57 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 23 Jun 2009 21:06:57 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090623210657.E042D120255@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 3 +++ 1 file changed, 3 insertions(+) New commits: commit d2de65a9ee73af0d001660ee8b2939d88f4f83fe Author: Martin Dengler Date: Tue Jun 23 21:59:16 2009 +0100 don't need to checkMBR() for loop devices livecd-iso-to-disk.sh doesn't do the right thing w.r.t. loop devices and MBR detection. I don't think this is intentional, but it currently requires loop devices to start with an MBR, by virtue of getdisk() being a NOOP for loop devices and checkMBR assuming that the disk must need an MBR. checkMBR() should just ignore loop devices like other key functions do. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 672e6db..0efef58 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -93,6 +93,9 @@ resetMBR() { } checkMBR() { + if [[ "$DEV" =~ "/dev/loop*" ]]; then + return 0 + fi getdisk $1 bs=$(mktemp /tmp/bs.XXXXXX) From katzj at redhat.com Tue Jun 23 21:07:17 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 23 Jun 2009 17:07:17 -0400 Subject: [Fedora-livecd-list] [PATCH] don't need to checkMBR() for loop devices In-Reply-To: <1245790756-23521-1-git-send-email-martin@martindengler.com> References: <1245790756-23521-1-git-send-email-martin@martindengler.com> Message-ID: <20090623210716.GB95037@redhat.com> On Tuesday, June 23 2009, Martin Dengler said: > livecd-iso-to-disk.sh doesn't do the right thing w.r.t. loop devices > and MBR detection. I don't think this is intentional, but it > currently requires loop devices to start with an MBR, by virtue of > getdisk() being a NOOP for loop devices and checkMBR assuming that the > disk must need an MBR. checkMBR() should just ignore loop devices > like other key functions do. Thanks, applied Jeremy From kanarip at kanarip.com Wed Jun 24 12:58:32 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Wed, 24 Jun 2009 14:58:32 +0200 Subject: [Fedora-livecd-list] auto-biarch (x86_64 + i686) LiveDVD patch + ISO In-Reply-To: <20090623161410.GB28128@wolff.to> References: <20090621100513.GA11430@host0.dyn.jankratochvil.net> <4A3E73B6.6080907@kanarip.com> <20090621183556.GA18677@host0.dyn.jankratochvil.net> <4A40CFD5.7020704@kanarip.com> <20090623142207.GB27911@nostromo.devel.redhat.com> <20090623161410.GB28128@wolff.to> Message-ID: <4A4222F8.7090107@kanarip.com> On 06/23/2009 06:14 PM, Bruno Wolff III wrote: > On Tue, Jun 23, 2009 at 10:22:07 -0400, > Bill Nottingham wrote: >> Jeroen van Meeuwen (kanarip at kanarip.com) said: >>> So yeah, the problem we get with i386/x86_64 hybrids is more that we >>> would reduce the available size to either of the Live images to half a >>> CD or half a DVD. Some of our spins fit on half a DVD, but not half a >>> CD. If some spins have separate media for each arch, and others do not, >>> then that may work confusing. >>> >>> That said though, I don't think we've had this kinda thing discussed or >>> decided upon... so it's a good point ;-) >> I think it's safe to assume that attempting to fit any 'real' biarch >> spin on CD would be a futile exercise. DVD shouldn't be an issue for >> the non-Games live spins yet, should it? > > A biarch rescue image would be useful. For some kinds of recoveries you need > to use a rescue image matching the arch of the system you are trying to fix. > I got bit by this during the F11 devel cycle. > This would actually fit on a CD, too. I'm interested in exploring this. Would this most suitably fit within the Fedora Project as a spin, or maybe something else (a Fedora 12 Feature??)? -Jeroen From gemini_ma71 at rocketmail.com Fri Jun 26 10:56:06 2009 From: gemini_ma71 at rocketmail.com (Girish Srivatsa) Date: Fri, 26 Jun 2009 03:56:06 -0700 (PDT) Subject: [Fedora-livecd-list] Request for free Fedora Livecd Message-ID: <958312.3742.qm@web43507.mail.sp1.yahoo.com> Hello, I am received a mail Thank you, Girish M A Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From kalabharath at gmail.com Sat Jun 27 07:31:30 2009 From: kalabharath at gmail.com (kala) Date: Sat, 27 Jun 2009 03:31:30 -0400 Subject: [Fedora-livecd-list] Install to hard-disk option missing in custom livecd Message-ID: <7edc9ec40906270031o165f2a1i5a1e763202921f55@mail.gmail.com> Dear friends I had made a custom live cd with fedora 9 with packages from a fedora-9-dvd.iso and it worked like a charm with option which installs to hard disk and now i have tried similar with F11 with packages from fedora-11-dvd.iso , it also worked but the " install to hard disk " option is missing , I am sure that i have missed a particular package, can you please tell me the list of packages ( main + deps) which allows me to enable this option with regards kala bharath -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmc.fedora at filteredperception.org Sat Jun 27 12:52:30 2009 From: dmc.fedora at filteredperception.org (Douglas McClendon) Date: Sat, 27 Jun 2009 05:52:30 -0700 Subject: [Fedora-livecd-list] rebootless liveos installer - rliveinst v0.3 for f11 Message-ID: <4A46160E.7080702@filteredperception.org> I've been working on a pygtk-glade GUI for my rebootless liveos installer that I posted here nearly 2 years ago. It should be ready any day now. In the meantime, I updated my bash version for fedora-11. Just in case somebody at fudcon wants to play around, here is the possibly working update- http://filteredperception.org/downloads/rliveinst-0.3 and here are screenshots of the imminent GUI http://filteredperception.org/smiley/stuff/gallery/zyxrli happy hacking... -dmc From jdogalt at yahoo.com Sat Jun 27 10:31:42 2009 From: jdogalt at yahoo.com (Jane Dogalt) Date: Sat, 27 Jun 2009 03:31:42 -0700 (PDT) Subject: [Fedora-livecd-list] rebootless liveos installer - rliveinst v0.3 for f11 Message-ID: <50099.15121.qm@web56901.mail.re3.yahoo.com> Also, this does not yet work with a --home style liveusb, and overlays might not work either. And it doesn't play well with the automatic swap enabling, so before running the script, do 'swapoff -a'. And what the heck, for good measure you may want to do a 'umount /mnt/live' for good measure beforehand as well. But other than all those caveats- it did just actually do its job on a real hardware test (acer aspire one). Obviously much work remains to be done, but it's rapidly approaching where I've always wanted to see it. -dmc --- On Sat, 6/27/09, Douglas McClendon wrote: > From: Douglas McClendon > Subject: [Fedora-livecd-list] rebootless liveos installer - rliveinst v0.3 for f11 > To: fedora-livecd-list at redhat.com > Date: Saturday, June 27, 2009, 7:52 AM > I've been working on a pygtk-glade > GUI for my rebootless liveos installer that I posted here > nearly 2 years ago.? It should be ready any day > now.? In the meantime, I updated my bash version for > fedora-11. Just in case somebody at fudcon wants to play > around, here is the possibly working update- > > http://filteredperception.org/downloads/rliveinst-0.3 > > and here are screenshots of the imminent GUI > > http://filteredperception.org/smiley/stuff/gallery/zyxrli > > happy hacking... > > -dmc > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > From bruno at wolff.to Sat Jun 27 14:04:01 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Sat, 27 Jun 2009 09:04:01 -0500 Subject: [Fedora-livecd-list] Install to hard-disk option missing in custom livecd In-Reply-To: <7edc9ec40906270031o165f2a1i5a1e763202921f55@mail.gmail.com> References: <7edc9ec40906270031o165f2a1i5a1e763202921f55@mail.gmail.com> Message-ID: <20090627140401.GB25277@wolff.to> On Sat, Jun 27, 2009 at 03:31:30 -0400, kala wrote: > Dear friends > I had made a custom live cd with fedora 9 with packages from a > fedora-9-dvd.iso and it worked like a charm with option which installs to > hard disk and now i have tried similar with F11 with packages from > fedora-11-dvd.iso , it also worked but the " install to hard disk " option > is missing , I am sure that i have missed a particular package, can you > please tell me the list of packages ( main + deps) which allows me to enable > this option How are you building the image? If you use livecd-creator and use a ks file that eventually includes fedora-live-base.ks you should get that feature. From bruno at wolff.to Sat Jun 27 19:17:13 2009 From: bruno at wolff.to (Bruno Wolff III) Date: Sat, 27 Jun 2009 14:17:13 -0500 Subject: [Fedora-livecd-list] Install to hard-disk option missing in custom livecd In-Reply-To: <7edc9ec40906270948u5de45e5epdd33a2a0b4da4924@mail.gmail.com> References: <7edc9ec40906270031o165f2a1i5a1e763202921f55@mail.gmail.com> <20090627140401.GB25277@wolff.to> <7edc9ec40906270948u5de45e5epdd33a2a0b4da4924@mail.gmail.com> Message-ID: <20090627191713.GB3236@wolff.to> On Sat, Jun 27, 2009 at 12:48:59 -0400, kala wrote: > Yes i did it in that way only, it didnt work :-( > kala bharath You should get a desktop icon, but if you don't and just need to install, you can run liveinst from a shell. liveinst comes from anaconda, so it pretty much has to be there. From sundaram at fedoraproject.org Mon Jun 29 07:00:43 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Mon, 29 Jun 2009 12:30:43 +0530 Subject: [Fedora-livecd-list] Request for free Fedora Livecd In-Reply-To: <958312.3742.qm@web43507.mail.sp1.yahoo.com> References: <958312.3742.qm@web43507.mail.sp1.yahoo.com> Message-ID: <4A48669B.6090106@fedoraproject.org> On 06/26/2009 04:26 PM, Girish Srivatsa wrote: > Hello, > I am received a mail > Hello Girish, If you are looking for free media, refer t http://fedoraproject.org/wiki/Distribution/FreeMedia Rahul From thiago.braga.santana at gmail.com Tue Jun 30 18:20:25 2009 From: thiago.braga.santana at gmail.com (Thiago Braga Santana) Date: Tue, 30 Jun 2009 15:20:25 -0300 Subject: [Fedora-livecd-list] How I do to use livecd-creator in CentOS 3 (kernel 2.4) ? Message-ID: Hello. I relly need build a CentOS 3 (or similar with kernel version 2.4) livecd. I already have installed the "livecd-tools". But I get problems in moment of mount the ext3 image, because "/sys" does exist. Somebody can help me? Exist any version of livecd-creator for kernel 2.4? Regards Thiago Santana -------------- next part -------------- An HTML attachment was scrubbed... URL: