From katzj at fedoraproject.org Tue Mar 3 01:39:46 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Tue, 3 Mar 2009 01:39:46 +0000 (UTC) Subject: [Fedora-livecd-list] imgcreate/live.py Message-ID: <20090303013946.F306C1201BD@lists.fedorahosted.org> imgcreate/live.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) New commits: commit 1ab1603c70b8e5ca0c54e701618208fc66278f40 Author: Jeremy Katz Date: Mon Mar 2 20:39:36 2009 -0500 Support syslinux having moved to /usr/share diff --git a/imgcreate/live.py b/imgcreate/live.py index c75cc92..7b07d22 100644 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -308,12 +308,13 @@ class x86LiveImageCreator(LiveImageCreatorBase): return "" def __find_syslinux_menu(self): - for menu in ["vesamenu.c32", "menu.c32"]: - if os.path.isfile(self._instroot + "/usr/lib/syslinux/" + menu): - return menu + for menu in ("vesamenu.c32", "menu.c32"): + for dir in ("/usr/lib/syslinux/", "/usr/share/syslinux/"): + if os.path.isfile(self._instroot + dir + menu): + return menu raise CreatorError("syslinux not installed : " - "no suitable /usr/lib/syslinux/*menu.c32 found") + "no suitable *menu.c32 found") def __find_syslinux_mboot(self): # @@ -330,8 +331,10 @@ class x86LiveImageCreator(LiveImageCreatorBase): files += [mboot] for f in files: - path = self._instroot + "/usr/lib/syslinux/" + f - + if os.path.exists(self._instroot + "/usr/lib/syslinux/" + f): + path = self._instroot + "/usr/lib/syslinux/" + f + elif os.path.exists(self._instroot + "/usr/share/syslinux/" + f): + path = self._instroot + "/usr/share/syslinux/" + f if not os.path.isfile(path): raise CreatorError("syslinux not installed : " "%s not found" % path) From traxtopel at gmail.com Tue Mar 3 08:03:17 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Tue, 3 Mar 2009 09:03:17 +0100 Subject: [Fedora-livecd-list] Questions on livecd-iso-to-disk Message-ID: <014521FB-DD20-4605-A819-87CD2BBD3AD4@gmail.com> Hi all, a couple of questions. Has anyone created a simple process to turn a livecd/livedvd directly to a compressed usb image, i.e. bypassing the need to have a usb key itself. Reasoning I am asking, I want to build and maintain usb images on a remote server. Has anyone already implemented full liveusb encryption(not just home) with overlay, home. Or is the performance just too slow? Thanks to all who have worked on these tools. From katzj at redhat.com Tue Mar 3 19:32:58 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 3 Mar 2009 14:32:58 -0500 Subject: [Fedora-livecd-list] Questions on livecd-iso-to-disk In-Reply-To: <014521FB-DD20-4605-A819-87CD2BBD3AD4@gmail.com> References: <014521FB-DD20-4605-A819-87CD2BBD3AD4@gmail.com> Message-ID: <20090303193258.GA96429@redhat.com> On Tuesday, March 03 2009, Williamson Grant said: > Has anyone created a simple process to turn a livecd/livedvd directly to > a compressed usb image, i.e. bypassing the need > to have a usb key itself. Reasoning I am asking, I want to build and > maintain usb images on a remote server. You can certainly just create an image with dd, losetup it and then use that instead of an actual usb key. > Has anyone already implemented full liveusb encryption(not just home) > with overlay, home. Or is the performance just too slow? Encryption of the overlay is ... odd at best. I guess that it's probably doable, but the performance and risk of corruption is going to increase exponentially. Jeremy From christoph.wickert at googlemail.com Wed Mar 4 20:15:37 2009 From: christoph.wickert at googlemail.com (Christoph Wickert) Date: Wed, 04 Mar 2009 21:15:37 +0100 Subject: [Fedora-livecd-list] What to do if a package requires fedora-logos? Message-ID: <1236197737.3456.7.camel@localhost.localdomain> I'm stuck with my LXDE spin for weeks now and nobody was able to help me. According to the spin submission process I have to de-brand the spin by replacing fedora-logos with system-logos. But this wont work as one of my packages requires fedora-logos. Rahul said that the dependency is wrong, it should require only system-logos. Wont work ether: 1. The icon I need is not provided by system-logos. 2. Even if I provide a neutral icon ether in system-logos or in my package itself, I need to specify the icon with it's full path. Ideas? Regards, Christoph From muayyad.alsadi at ojuba.org Wed Mar 4 20:51:50 2009 From: muayyad.alsadi at ojuba.org (=?UTF-8?Q?=D9=85=D8=A4=D9=8A=D8=AF_=D8=A7=D9=84=D8=B3=D8=B9=D8=AF=D9=8A?=) Date: Wed, 04 Mar 2009 22:51:50 +0200 Subject: [Fedora-livecd-list] What to do if a package requires =?UTF-8?Q?fedora-logos=3F?= In-Reply-To: <1236197737.3456.7.camel@localhost.localdomain> References: <1236197737.3456.7.camel@localhost.localdomain> Message-ID: <0fbda2bc2643b68678ef2fbf83f24d58@localhost> use system-logs which will be either generic-logos or fedora-logos if the icon needed by lxde is not provided by generic-logos, file a bug report against generic-logos > 2. Even if I provide a neutral icon ether in system-logos or in my > package itself, I need to specify the icon with it's full path. in both cases the needed icon should be provided by both generic-logos or fedora-logos let's say "generic-logos" should provide a desktop independent icon for main menu in less famous desktops XFCE had a similar problem at some point when F10 was in rawhide later they provide the icon, another approach is file a bug report against lxde On Wed, 04 Mar 2009 21:15:37 +0100, Christoph Wickert wrote: > I'm stuck with my LXDE spin for weeks now and nobody was able to help > me. According to the spin submission process I have to de-brand the spin > by replacing fedora-logos with system-logos. But this wont work as one > of my packages requires fedora-logos. Rahul said that the dependency is > wrong, it should require only system-logos. Wont work ether: > 1. The icon I need is not provided by system-logos. > 2. Even if I provide a neutral icon ether in system-logos or in my > package itself, I need to specify the icon with it's full path. > > Ideas? > > Regards, > Christoph > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From christoph.wickert at googlemail.com Wed Mar 4 21:09:42 2009 From: christoph.wickert at googlemail.com (Christoph Wickert) Date: Wed, 04 Mar 2009 22:09:42 +0100 Subject: [Fedora-livecd-list] What to do if a package requires fedora-logos? In-Reply-To: <0fbda2bc2643b68678ef2fbf83f24d58@localhost> References: <1236197737.3456.7.camel@localhost.localdomain> <0fbda2bc2643b68678ef2fbf83f24d58@localhost> Message-ID: <1236200982.3456.20.camel@localhost.localdomain> Am Mittwoch, den 04.03.2009, 22:51 +0200 schrieb ???? ??????: > use system-logs which will be either generic-logos or fedora-logos > > if the icon needed by lxde is not provided by generic-logos, file a bug > report against generic-logos This will take too much time and it wont help me anyway because of 2. > > 2. Even if I provide a neutral icon ether in system-logos or in my > > package itself, I need to specify the icon with it's full path. > in both cases the needed icon should be provided by both generic-logos or > fedora-logos > > let's say "generic-logos" should provide a desktop independent icon for > main menu in less famous desktops And how would this help me? Let's say we include icon-panel-menu.png also in generic-logos, what do we gain? I still need an absolute path like in /usr/share/icons/Bluecurve/24x24/apps/icon-panel-menu.png. If I don't specify the full path it is not predictable which size the panel chooses. > XFCE had a similar problem at some point when F10 was in rawhide > later they provide the icon, Yes, and it nearly took a wohle release until they finally shipped the icon in system-logos. :( > another approach is file a bug report against lxde I'm the LXDE maintainer as well as member of LXDE upstream, so I can (nearly) change anything you suggest, but I still don't see how an icon in generic-logos solves my problem. Regards, Christoph From wtogami at redhat.com Wed Mar 4 22:49:26 2009 From: wtogami at redhat.com (Warren Togami) Date: Wed, 04 Mar 2009 17:49:26 -0500 Subject: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device Message-ID: <49AF0576.7050706@redhat.com> Removing password for user root. passwd: Success error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora: import read failed(-1). e2fsck 1.41.4 (27-Jan-2009) 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 fedora-livecd--i: 78136/196608 files (0.3% non-contiguous), 545550/786432 blocks e2fsck 1.41.4 (27-Jan-2009) 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 fedora-livecd--i: 78136/139264 files (1.7% non-contiguous), 542199/542199 blocks device-mapper: remove ioctl failed: Device or resource busy Command failed /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return unicode(self.message) Error creating Live CD : Could not remove snapshot device Any suggestions? Warren From katzj at redhat.com Wed Mar 4 23:37:32 2009 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 4 Mar 2009 18:37:32 -0500 Subject: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device In-Reply-To: <49AF0576.7050706@redhat.com> References: <49AF0576.7050706@redhat.com> Message-ID: <20090304233731.GA98612@redhat.com> On Wednesday, March 04 2009, Warren Togami said: [snip] > device-mapper: remove ioctl failed: Device or resource busy > Command failed [snip] > Error creating Live CD : Could not remove snapshot device > > Any suggestions? This is all device-mapper/kernel land -- it's saying that something still has the device mapper snapshot in use. If you run '/sbin/dmsetup table' after the failure, you should see the temporary dm device (imgcreate-somethingorother) and then you can try to do /sbin/dmsetup remove imgcreate-foo and see if it continues to fail. But this is working with my workstation, although it's running a slightly old kernel (2.6.29-0.159.rc6.git3.fc11.x86_64) right now Jeremy From wtogami at redhat.com Wed Mar 4 23:36:43 2009 From: wtogami at redhat.com (Warren Togami) Date: Wed, 04 Mar 2009 18:36:43 -0500 Subject: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device In-Reply-To: <49AF0576.7050706@redhat.com> References: <49AF0576.7050706@redhat.com> Message-ID: <49AF108B.9050305@redhat.com> Warren Togami wrote: > Pass 5: Checking group summary information > fedora-livecd--i: 78136/139264 files (1.7% non-contiguous), > 542199/542199 blocks > device-mapper: remove ioctl failed: Device or resource busy > Command failed > /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: > DeprecationWarning: BaseException.message has been deprecated as of > Python 2.6 > return unicode(self.message) > Error creating Live CD : Could not remove snapshot device I figured it out. A week or two ago, GNOME began mounting things that it shouldn't (a separate bug). In this case GNOME is mounting the device mapper device, interfering with LiveCD creator when it tries to destroy the device. What GNOME package would this bug be? Warren Togami wtogami at redhat.com From katzj at redhat.com Wed Mar 4 23:44:39 2009 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 4 Mar 2009 18:44:39 -0500 Subject: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device In-Reply-To: <49AF108B.9050305@redhat.com> References: <49AF0576.7050706@redhat.com> <49AF108B.9050305@redhat.com> Message-ID: <20090304234438.GB98612@redhat.com> On Wednesday, March 04 2009, Warren Togami said: > Warren Togami wrote: >> Pass 5: Checking group summary information >> fedora-livecd--i: 78136/139264 files (1.7% non-contiguous), >> 542199/542199 blocks >> device-mapper: remove ioctl failed: Device or resource busy >> Command failed >> /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: >> DeprecationWarning: BaseException.message has been deprecated as of >> Python 2.6 >> return unicode(self.message) >> Error creating Live CD : Could not remove snapshot device > > I figured it out. A week or two ago, GNOME began mounting things that > it shouldn't (a separate bug). In this case GNOME is mounting the > device mapper device, interfering with LiveCD creator when it tries to > destroy the device. > > What GNOME package would this bug be? Probably DeviceKit-disks Jeremy From wtogami at redhat.com Thu Mar 5 04:50:01 2009 From: wtogami at redhat.com (Warren Togami) Date: Wed, 04 Mar 2009 23:50:01 -0500 Subject: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux Message-ID: <49AF59F9.9020508@redhat.com> There is a similar problem with vfat filesystems, where syslinux is a path that does not exist, and mmove subsequently segfaults because it doesn't know how to handle it. I'm working on that issue separately. [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 7d5ba1d..78afec7 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -678,7 +678,7 @@ elif [ "$USBFS" = "ext2" -o "$USBFS" = "ext3" ]; then # extlinux expects the config to be named extlinux.conf # and has to be run with the file system mounted mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/extlinux.conf - extlinux -i $USBMNT/syslinux + extlinux -i $USBMNT/LiveOS/syslinux cleanup fi From wtogami at redhat.com Thu Mar 5 06:29:45 2009 From: wtogami at redhat.com (Warren Togami) Date: Thu, 05 Mar 2009 01:29:45 -0500 Subject: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux In-Reply-To: <49AF59F9.9020508@redhat.com> References: <49AF59F9.9020508@redhat.com> Message-ID: <49AF7159.305@redhat.com> Warren Togami wrote: > There is a similar problem with vfat filesystems, where syslinux is a > path that does not exist, and mmove subsequently segfaults because it > doesn't know how to handle it. I'm working on that issue separately. > The previous patch to make the extlinux code-path work is confirmed to work. The syslinux code path however is proving to be trickier. It appears that livecd-iso-to-disk is doing something wrong, then mmove via syslinux crashes. mtools itself is buggy in crashing here, but it appears to be livecd-iso-to-disk's fault. I am still figuring this... Core was generated by `mmove -D o -D O s:/ldlinux.sys s:/LiveOS/syslinux/ldlinux.sys'. Program terminated with signal 11, Segmentation fault. #0 0x080610ef in _mwrite_one (Dir=0x0, argname=0x9b99f40 "ldlinux.sys", shortname=0x0, cb=0x8062a1c , arg=0xbffcb060, ch=0xbffcb53c) at mk_direntry.c:522 522 doscp_t *cp = GET_DOSCONVERT(Dir); (gdb) bt #0 0x080610ef in _mwrite_one (Dir=0x0, argname=0x9b99f40 "ldlinux.sys", shortname=0x0, cb=0x8062a1c , arg=0xbffcb060, ch=0xbffcb53c) at mk_direntry.c:522 #1 0x080614c9 in mwrite_one (Dir=0x0, _argname=0xbffcb138 "ldlinux.sys", _shortname=0x0, cb=0x8062a1c , arg=0xbffcb060, ch=0xbffcb53c) at mk_direntry.c:639 #2 0x08062dac in rename_file (entry=0xbffcab6c, mp=0xbffcb068) at mmove.c:132 #3 0x08055be6 in handle_leaf (direntry=0xbffcab6c, mp=0xbffcb068, lookupState=0x0) at mainloop.c:224 #4 0x0805630d in recurs_dos_loop (mp=0xbffcb068, filename0=0xbffcb914 "ldlinux.sys", filename1=0x0, lookupState=0x0) at mainloop.c:389 #5 0x08056507 in common_dos_loop (mp=0xbffcb068, pathname=0xbffcb913 "/ldlinux.sys", lookupState=0x0, open_mode=2) at mainloop.c:437 #6 0x0805657e in dos_loop (mp=0xbffcb068, arg=0xbffcb911 "s:/ldlinux.sys") at mainloop.c:450 #7 0x08056890 in main_loop (mp=0xbffcb068, argv=0xbffcb7a8, argc=1) at mainloop.c:553 #8 0x08063414 in mmove (argc=7, argv=0xbffcb794, oldsyntax=0) at mmove.c:302 #9 0x08066d26 in main (argc=7, argv=0xbffcb794) at mtools.c:167 Warren Togami wtogami at redhat.com From wtogami at redhat.com Thu Mar 5 07:16:42 2009 From: wtogami at redhat.com (Warren Togami) Date: Thu, 05 Mar 2009 02:16:42 -0500 Subject: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux In-Reply-To: <49AF7159.305@redhat.com> References: <49AF59F9.9020508@redhat.com> <49AF7159.305@redhat.com> Message-ID: <49AF7C5A.8020703@redhat.com> Warren Togami wrote: > Warren Togami wrote: >> There is a similar problem with vfat filesystems, where syslinux is a >> path that does not exist, and mmove subsequently segfaults because it >> doesn't know how to handle it. I'm working on that issue separately. >> > > The previous patch to make the extlinux code-path work is confirmed to > work. > > The syslinux code path however is proving to be trickier. It appears > that livecd-iso-to-disk is doing something wrong, then mmove via > syslinux crashes. mtools itself is buggy in crashing here, but it > appears to be livecd-iso-to-disk's fault. I am still figuring this... s:/LiveOS/syslinux/ldlinux.sys: no match for target syslinux: warning: unable to move ldlinux.sys These error messages print while it fails here. Warren From annapoorani.mani at gmail.com Thu Mar 5 08:37:17 2009 From: annapoorani.mani at gmail.com (poorani mani) Date: Thu, 5 Mar 2009 14:07:17 +0530 Subject: [Fedora-livecd-list] fedora LiveCD Message-ID: Please give me a procedure to build fedora LiveCD iso from fedora 9 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sundaram at fedoraproject.org Thu Mar 5 10:57:46 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Thu, 05 Mar 2009 16:27:46 +0530 Subject: [Fedora-livecd-list] fedora LiveCD In-Reply-To: References: Message-ID: <49AFB02A.4030804@fedoraproject.org> poorani mani wrote: > Please give me a procedure to build fedora LiveCD iso from fedora 9 > Refer http://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo Rahul From kanarip at kanarip.com Thu Mar 5 12:32:15 2009 From: kanarip at kanarip.com (Jeroen van Meeuwen) Date: Thu, 05 Mar 2009 13:32:15 +0100 Subject: [Fedora-livecd-list] What to do if a package requires fedora-logos? In-Reply-To: <1236200982.3456.20.camel@localhost.localdomain> References: <1236197737.3456.7.camel@localhost.localdomain> <0fbda2bc2643b68678ef2fbf83f24d58@localhost> <1236200982.3456.20.camel@localhost.localdomain> Message-ID: <49AFC64F.40906@kanarip.com> Christoph Wickert wrote: > Am Mittwoch, den 04.03.2009, 22:51 +0200 schrieb ???????? ????????????: >> use system-logs which will be either generic-logos or fedora-logos >> >> if the icon needed by lxde is not provided by generic-logos, file a bug >> report against generic-logos > > This will take too much time and it wont help me anyway because of 2. > >>> 2. Even if I provide a neutral icon ether in system-logos or in my >>> package itself, I need to specify the icon with it's full path. >> in both cases the needed icon should be provided by both generic-logos or >> fedora-logos >> >> let's say "generic-logos" should provide a desktop independent icon for >> main menu in less famous desktops > > And how would this help me? Let's say we include icon-panel-menu.png > also in generic-logos, what do we gain? I still need an absolute path > like in /usr/share/icons/Bluecurve/24x24/apps/icon-panel-menu.png. I'm not sure why that would not be feasible. Right now, generic-logos also ships /usr/share/kde4/apps/ksplash/Themes/SolarComet/1280x1024/logo.png You can just ship anything that is in fedora-logos, because the packages conflict (through an explicit Conflicts: RPM header), or am I missing something? If I > don't specify the full path it is not predictable which size the panel > chooses. > I guess, from a very distant point of view, this is the real bug. >> XFCE had a similar problem at some point when F10 was in rawhide >> later they provide the icon, > > Yes, and it nearly took a wohle release until they finally shipped the > icon in system-logos. :( > I think generic-logos is open for provenpackagers like yourself. You can log the bug and fix it. Kind regards, Jeroen van Meeuwen -kanarip From bigbang4u2 at gmail.com Thu Mar 5 15:35:17 2009 From: bigbang4u2 at gmail.com (shivam tiwari) Date: Thu, 5 Mar 2009 21:05:17 +0530 Subject: [Fedora-livecd-list] creating live iso fedora 10 Message-ID: I copied fedora 10 dvd directly to my computer by just copying all the files and pasted in folder. I was not aware of the fact that it will not boot if i burn those files to dvd or make a live iso. Can someone please tell me how I can create live iso or live dvd from those copied files so that I can boot and install my fedora 10. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wtogami at redhat.com Thu Mar 5 16:41:15 2009 From: wtogami at redhat.com (Warren Togami) Date: Thu, 05 Mar 2009 11:41:15 -0500 Subject: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device In-Reply-To: <20090304234438.GB98612@redhat.com> References: <49AF0576.7050706@redhat.com> <49AF108B.9050305@redhat.com> <20090304234438.GB98612@redhat.com> Message-ID: <49B000AB.1040703@redhat.com> Jeremy Katz wrote: > On Wednesday, March 04 2009, Warren Togami said: >> Warren Togami wrote: >>> Pass 5: Checking group summary information >>> fedora-livecd--i: 78136/139264 files (1.7% non-contiguous), >>> 542199/542199 blocks >>> device-mapper: remove ioctl failed: Device or resource busy >>> Command failed >>> /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: >>> DeprecationWarning: BaseException.message has been deprecated as of >>> Python 2.6 >>> return unicode(self.message) >>> Error creating Live CD : Could not remove snapshot device >> I figured it out. A week or two ago, GNOME began mounting things that >> it shouldn't (a separate bug). In this case GNOME is mounting the >> device mapper device, interfering with LiveCD creator when it tries to >> destroy the device. >> >> What GNOME package would this bug be? > > Probably DeviceKit-disks DavidZ says we need to run livecd-creator wrapped from devkit-disks: devkit-disks --inhibit -- /bin/foo Warren Togami wtogami at redhat.com From herlo1 at gmail.com Thu Mar 5 17:04:43 2009 From: herlo1 at gmail.com (Clint Savage) Date: Thu, 5 Mar 2009 10:04:43 -0700 Subject: [Fedora-livecd-list] creating live iso fedora 10 In-Reply-To: References: Message-ID: On Thu, Mar 5, 2009 at 8:35 AM, shivam tiwari wrote: > I copied fedora 10 dvd directly to my computer by just copying all the files > and pasted in folder. I was not aware of the fact that it will not boot if i > burn those files to dvd or make a live iso. Can someone please tell me how I > can create live iso or live dvd? from those copied files so that I can boot > and install my fedora 10. > You mean like this? https://fedoraproject.org/wiki/FedoraLiveCD or this https://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo There are hundreds of good resources out there on how to create a live cd. Plus you can actually download official Fedora Live CD ISOs from http://mirrors.fedoraproject.org/publiclist/ Cheers, Clint From bigbang4u2 at gmail.com Thu Mar 5 17:56:16 2009 From: bigbang4u2 at gmail.com (shivam tiwari) Date: Thu, 5 Mar 2009 23:26:16 +0530 Subject: [Fedora-livecd-list] creating live iso fedora 10 In-Reply-To: References: Message-ID: On Thu, Mar 5, 2009 at 10:34 PM, Clint Savage wrote: > On Thu, Mar 5, 2009 at 8:35 AM, shivam tiwari > wrote: > > I copied fedora 10 dvd directly to my computer by just copying all the > files > > and pasted in folder. I was not aware of the fact that it will not boot > if i > > burn those files to dvd or make a live iso. Can someone please tell me > how I > > can create live iso or live dvd from those copied files so that I can > boot > > and install my fedora 10. > > > You mean like this? https://fedoraproject.org/wiki/FedoraLiveCD > > or this https://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo > > There are hundreds of good resources out there on how to create a live > cd. Plus you can actually download official Fedora Live CD ISOs from > http://mirrors.fedoraproject.org/publiclist/ > > Cheers, > > Clint > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > I am using windows right now , so I have all copied files of fedora dvd on my hard drive. Is there any tool for windows to create livecd from that copied files The link you send me has live cd creater which will run on fedora not on windows -------------- next part -------------- An HTML attachment was scrubbed... URL: From sundaram at fedoraproject.org Fri Mar 6 08:40:48 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Fri, 06 Mar 2009 14:10:48 +0530 Subject: [Fedora-livecd-list] creating live iso fedora 10 In-Reply-To: References: Message-ID: <49B0E190.4010902@fedoraproject.org> shivam tiwari wrote: > I am using windows right now , so I have all copied files of fedora dvd > on my hard drive. > Is there any tool for windows to create livecd from that copied files > The link you send me has live cd creater which will run on fedora not on > windows Live CD is different from regular DVD images. If you want to just write either of the images from either Windows or Linux into media and boot from it, refer to http://docs.fedoraproject.org/install-guide/f10/en_US/sn-making-media.html The other option is to use liveusb-creator with the Live CD image from Windows, boot and install from the USB key. Refer https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Graphical_Interface_-_Windows_and_Linux Rahul From katzj at redhat.com Fri Mar 6 16:39:24 2009 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 6 Mar 2009 11:39:24 -0500 Subject: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device In-Reply-To: <49B000AB.1040703@redhat.com> References: <49AF0576.7050706@redhat.com> <49AF108B.9050305@redhat.com> <20090304234438.GB98612@redhat.com> <49B000AB.1040703@redhat.com> Message-ID: <20090306163923.GA345@redhat.com> On Thursday, March 05 2009, Warren Togami said: > Jeremy Katz wrote: >> On Wednesday, March 04 2009, Warren Togami said: >>> Warren Togami wrote: >>>> Pass 5: Checking group summary information >>>> fedora-livecd--i: 78136/139264 files (1.7% non-contiguous), >>>> 542199/542199 blocks >>>> device-mapper: remove ioctl failed: Device or resource busy >>>> Command failed >>>> /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: >>>> DeprecationWarning: BaseException.message has been deprecated as of >>>> Python 2.6 >>>> return unicode(self.message) >>>> Error creating Live CD : Could not remove snapshot device >>> I figured it out. A week or two ago, GNOME began mounting things >>> that it shouldn't (a separate bug). In this case GNOME is mounting >>> the device mapper device, interfering with LiveCD creator when it >>> tries to destroy the device. >>> >>> What GNOME package would this bug be? >> >> Probably DeviceKit-disks > > DavidZ says we need to run livecd-creator wrapped from devkit-disks: > > devkit-disks --inhibit -- /bin/foo As I just noted in the bug, this then introduces new sets of problems instead 1) Running a livecd build breaks mounting usb sticks or other things that you plug in 2) Running livecd-creator under some other command means that we lose some of the care that we have around keyboard interrupting and having that sanely clean up So I really don't think that's the right "solution" to the problem as instead it's just papering over the fact that devkit-disks thinks it owns the world :/ Jeremy From katzj at redhat.com Fri Mar 6 18:11:31 2009 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 6 Mar 2009 13:11:31 -0500 Subject: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux In-Reply-To: <49AF59F9.9020508@redhat.com> References: <49AF59F9.9020508@redhat.com> Message-ID: <20090306181131.GB345@redhat.com> On Wednesday, March 04 2009, Warren Togami said: > [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux This is actually a result of something I was trying out for multiple images on a key that I didn't realize I had pushed. It didn't work out, so I'm just going to revert the commit in question instead (and push the revert :) Jeremy From katzj at redhat.com Fri Mar 6 18:12:53 2009 From: katzj at redhat.com (Jeremy Katz) Date: Fri, 6 Mar 2009 13:12:53 -0500 Subject: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux In-Reply-To: <49AF7159.305@redhat.com> References: <49AF59F9.9020508@redhat.com> <49AF7159.305@redhat.com> Message-ID: <20090306181252.GC345@redhat.com> On Thursday, March 05 2009, Warren Togami said: > Warren Togami wrote: >> There is a similar problem with vfat filesystems, where syslinux is a >> path that does not exist, and mmove subsequently segfaults because it >> doesn't know how to handle it. I'm working on that issue separately. > > The previous patch to make the extlinux code-path work is confirmed to work. > > The syslinux code path however is proving to be trickier. It appears > that livecd-iso-to-disk is doing something wrong, then mmove via > syslinux crashes. mtools itself is buggy in crashing here, but it > appears to be livecd-iso-to-disk's fault. I am still figuring this... With the path changes reverted (and thus, basically exactly what shipped in F10), I still hit this. Going back to F10's mtools works fine. And trying a newer version from upstream (4.0.9) seems to fix things also, so I've bounced this over to the mtools maintainer to do an update Jeremy From katzj at fedoraproject.org Fri Mar 6 18:12:46 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 6 Mar 2009 18:12:46 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090306181247.026DC1201C1@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 0d1394b0f6134d7b476e6f39a5d24afcd31d28c1 Author: Jeremy Katz Date: Fri Mar 6 11:39:01 2009 -0500 Revert "Move syslinux path to be under LiveOS to prep for multiple livedirs" This reverts commit 75201f2180bb2e35cc439f9219aaf333d9577daa as it seems to introduce some odd cases diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 7d5ba1d..c310936 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -246,7 +246,7 @@ checkSyslinuxVersion() { if ! syslinux 2>&1 | grep -qe -d; then SYSLINUXPATH="" else - SYSLINUXPATH="LiveOS/syslinux" + SYSLINUXPATH="syslinux" fi } From bigbang4u2 at gmail.com Fri Mar 6 19:45:14 2009 From: bigbang4u2 at gmail.com (shivam tiwari) Date: Sat, 7 Mar 2009 01:15:14 +0530 Subject: [Fedora-livecd-list] creating live iso fedora 10 In-Reply-To: <49B0E190.4010902@fedoraproject.org> References: <49B0E190.4010902@fedoraproject.org> Message-ID: On Fri, Mar 6, 2009 at 2:10 PM, Rahul Sundaram wrote: > shivam tiwari wrote: > > I am using windows right now , so I have all copied files of fedora dvd on >> my hard drive. >> Is there any tool for windows to create livecd from that copied files >> The link you send me has live cd creater which will run on fedora not on >> windows >> > > Live CD is different from regular DVD images. If you want to just write > either of the images from either Windows or Linux into media and boot from > it, refer to > > http://docs.fedoraproject.org/install-guide/f10/en_US/sn-making-media.html > > The other option is to use liveusb-creator with the Live CD image from > Windows, boot and install from the USB key. Refer > > > https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Graphical_Interface_-_Windows_and_Linux > > Rahul > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > hey, I have not downloaded iso of fedora 10 . I just copied contents of fedora dvd on my hard drive. So now I want to make it live cd . I tried burning it but its not bootable I think i have to change something in copied files but I dont know what I have to add or edit -------------- next part -------------- An HTML attachment was scrubbed... URL: From sundaram at fedoraproject.org Fri Mar 6 20:13:48 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Sat, 07 Mar 2009 01:43:48 +0530 Subject: [Fedora-livecd-list] creating live iso fedora 10 In-Reply-To: References: <49B0E190.4010902@fedoraproject.org> Message-ID: <49B183FC.90707@fedoraproject.org> shivam tiwari wrote: > > hey, I have not downloaded iso of fedora 10 . I just copied contents of > fedora dvd on my hard drive. So now I want to make it live cd . I tried > burning it but its not bootable > I think i have to change something in copied files but I dont know what > I have to add or edit It would be just way easier to download the live cd iso image but here are the steps anyway Go to the directory with the RPM's copied from the DVD and make sure you have a directory called repodata under it. # su - or use sudo to get root access # setenforce 0 # yum install spin-kickstarts # cp /usr/share/spin-kickstarts/fedora-live-base.ks /usr/share/spin-kickstarts/fedora-livecd-desktop.ks . # vi /usr/share/spin-kickstarts/fedora-live-base.ks and edit baseurl for the main repo to point to the location where you have the RPM's. Comment out other repositories including the mirror list Ex: baseurl = file://media/disk/Fedora # livecd-creator --config=fedora-livecd-desktop.ks --fslabel=Fedora-10-Live Hope that helps Rahul From katzj at fedoraproject.org Fri Mar 6 21:21:19 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 6 Mar 2009 21:21:19 +0000 (UTC) Subject: [Fedora-livecd-list] 3 commits - tools/livecd-iso-to-disk.sh Message-ID: <20090306212119.BFF5E1201C1@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) New commits: commit 33c94391bdc8cfcc38ec65e5c9d78f06b5e1fa81 Author: Jeremy Katz Date: Fri Mar 6 14:38:52 2009 -0500 Handle varying syslinux dirs for --xo mode also diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index ea6cb58..7ab1d86 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -612,6 +612,7 @@ if [ -n "$xo" ]; then args="$args persistenthome=mtd0" fi args="$args reset_overlay" + xosyspath=$(echo $SYSLINUXPATH | sed -e 's;/;\;') if [ ! -d $USBMNT/boot ]; then mkdir -p $USBMNT/boot ; fi cat > $USBMNT/boot/olpc.fth < Date: Fri Mar 6 14:21:42 2009 -0500 Fix up syslinuxpath for extlinux Inspired by something Warren sent, but we should always be listening to $SYSLINUXPATH for extlinux too diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index d7aa536..ea6cb58 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -673,7 +673,7 @@ elif [ "$USBFS" = "ext2" -o "$USBFS" = "ext3" ]; then # extlinux expects the config to be named extlinux.conf # and has to be run with the file system mounted mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/extlinux.conf - extlinux -i $USBMNT/syslinux + extlinux -i $USBMNT/$SYSLINUXPATH cleanup fi commit b2ee33d0d9b7a1ef17a8ca30eb137c8867e2ba34 Author: Jeremy Katz Date: Fri Mar 6 14:21:11 2009 -0500 Remove legacy cases without LiveOS dir diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index c310936..d7aa536 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -488,19 +488,14 @@ if [ -z "$skipcopy" ];then echo "Copying live image to USB stick" [ ! -d $USBMNT/LiveOS ] && mkdir $USBMNT/LiveOS [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/LiveOS/$HOMEFILE - # cases without /LiveOS are legacy detection, remove for F10 if [ -n "$skipcompress" -a -f $CDMNT/LiveOS/squashfs.img ]; then mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT cp $CDMNT/LiveOS/ext3fs.img $USBMNT/LiveOS/ext3fs.img || (umount $CDMNT ; exitclean) umount $CDMNT elif [ -f $CDMNT/LiveOS/squashfs.img ]; then cp $CDMNT/LiveOS/squashfs.img $USBMNT/LiveOS/squashfs.img || exitclean - elif [ -f $CDMNT/squashfs.img ]; then - cp $CDMNT/squashfs.img $USBMNT/LiveOS/squashfs.img || exitclean elif [ -f $CDMNT/LiveOS/ext3fs.img ]; then cp $CDMNT/LiveOS/ext3fs.img $USBMNT/LiveOS/ext3fs.img || exitclean - elif [ -f $CDMNT/ext3fs.img ]; then - cp $CDMNT/ext3fs.img $USBMNT/LiveOS/ext3fs.img || exitclean fi if [ -f $CDMNT/LiveOS/osmin.img ]; then cp $CDMNT/LiveOS/osmin.img $USBMNT/LiveOS/osmin.img || exitclean From katzj at fedoraproject.org Fri Mar 6 21:57:14 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 6 Mar 2009 21:57:14 +0000 (UTC) Subject: [Fedora-livecd-list] 4 commits - tools/livecd-iso-to-disk.sh Message-ID: <20090306215714.94F441201C1@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 132 +++++++++++++++++++++----------------------- 1 file changed, 63 insertions(+), 69 deletions(-) New commits: commit 3db0a1cc2cbd218673cb9174e83fcfb059c1a59f Author: Jeremy Katz Date: Fri Mar 6 15:58:27 2009 -0500 Basic support for multi-image mode Multi-image mode doesn't install a boot loader, so you have to set it up by hand for now which is left as an exercise for the reader diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index def083b..c803bc7 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -245,6 +245,8 @@ checkSyslinuxVersion() { fi if ! syslinux 2>&1 | grep -qe -d; then SYSLINUXPATH="" + elif [ -n "$multi" ]; then + SYSLINUXPATH="$LIVEOS/syslinux" else SYSLINUXPATH="syslinux" fi @@ -346,7 +348,11 @@ while [ $# -gt 2 ]; do LIVEOS=$2 shift ;; + --multi) + multi=1 + ;; *) + echo "invalid arg -- $1" usage ;; esac @@ -637,28 +643,33 @@ EOF fi -echo "Installing boot loader" -if [ -n "$efi" ]; then +if [ -z "$multi" ]; then + echo "Installing boot loader" + if [ -n "$efi" ]; then # replace the ia32 hack if [ -f "$USBMNT/EFI/boot/boot.conf" ]; then cp -f $USBMNT/EFI/boot/bootia32.conf $USBMNT/EFI/boot/boot.conf ; fi -fi + fi -if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then + if [ "$USBFS" = "vfat" -o "$USBFS" = "msdos" ]; then # syslinux expects the config to be named syslinux.cfg # and has to run with the file system unmounted mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg cleanup if [ -n "$SYSLINUXPATH" ]; then - syslinux -d $SYSLINUXPATH $USBDEV + syslinux -d $SYSLINUXPATH $USBDEV else - syslinux $USBDEV + syslinux $USBDEV fi -elif [ "$USBFS" = "ext2" -o "$USBFS" = "ext3" ]; then + elif [ "$USBFS" = "ext2" -o "$USBFS" = "ext3" ]; then # extlinux expects the config to be named extlinux.conf # and has to be run with the file system mounted mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/extlinux.conf extlinux -i $USBMNT/$SYSLINUXPATH cleanup + fi +else + cleanup + echo "Multi-image mode selected; not setting up bootloader" fi echo "USB stick set up as live image!" commit 96e874e2893f2f73348d19037a08b51ee72651d2 Author: Jeremy Katz Date: Fri Mar 6 14:56:12 2009 -0500 More generally, this is EFI support, not just Intel Macs diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index b7677f0..def083b 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -68,8 +68,8 @@ resetMBR() { return fi getdisk $1 - # if mactel, we need to use the hybrid MBR - if [ -n "$mactel" ];then + # if efi, we need to use the hybrid MBR + if [ -n "$efi" ];then if [ -f /usr/lib/syslinux/gptmbr.bin ]; then gptmbr='/usr/lib/syslinux/gptmbr.bin' elif [ -f /usr/share/syslinux/gptmbr.bin ]; then @@ -313,8 +313,8 @@ while [ $# -gt 2 ]; do --reset-mbr|--resetmbr) resetmbr=1 ;; - --mactel) - mactel=1 + --efi|--mactel) + efi=1 ;; --format) format=1 @@ -384,19 +384,19 @@ fi checkMounted $USBDEV if [ -n "$format" ];then # checks for a valid filesystem - if [ -n "$mactel" ];then + if [ -n "$efi" ];then createGPTLayout $USBDEV else createMSDOSLayout $USBDEV fi fi checkFilesystem $USBDEV -if [ -n "$mactel" ]; then +if [ -n "$efi" ]; then checkGPT $USBDEV fi checkSyslinuxVersion # Because we can't set boot flag for EFI Protective on msdos partition tables -[ -z "$mactel" ] && checkPartActive $USBDEV +[ -z "$efi" ] && checkPartActive $USBDEV [ -n "$resetmbr" ] && resetMBR $USBDEV checkMBR $USBDEV @@ -436,7 +436,7 @@ if [ -f "$USBMNT/$LIVEOS/$HOMEFILE" -a -n "$keephome" -a "$homesizemb" -gt 0 ]; exitclean fi -if [ -n "$mactel" -a ! -d $CDMNT/EFI/boot ]; then +if [ -n "$efi" -a ! -d $CDMNT/EFI/boot ]; then echo "ERROR: This live image does not support EFI booting" exitclean fi @@ -492,7 +492,7 @@ fi # Bootloader is always reconfigured, so keep these out of the if skipcopy stuff. [ ! -d $USBMNT/$SYSLINUXPATH ] && mkdir -p $USBMNT/$SYSLINUXPATH -[ -n "$mactel" -a ! -d $USBMNT/EFI/boot ] && mkdir -p $USBMNT/EFI/boot +[ -n "$efi" -a ! -d $USBMNT/EFI/boot ] && mkdir -p $USBMNT/EFI/boot if [ -z "$skipcopy" ];then echo "Copying live image to USB stick" @@ -516,7 +516,7 @@ cp $CDMNT/isolinux/* $USBMNT/$SYSLINUXPATH BOOTCONFIG=$USBMNT/$SYSLINUXPATH/isolinux.cfg # Set this to nothing so sed doesn't care BOOTCONFIG_EFI= -if [ -n "$mactel" ];then +if [ -n "$efi" ];then cp $CDMNT/EFI/boot/* $USBMNT/EFI/boot # this is a little ugly, but it gets the "interesting" named config file @@ -638,7 +638,7 @@ EOF fi echo "Installing boot loader" -if [ -n "$mactel" ]; then +if [ -n "$efi" ]; then # replace the ia32 hack if [ -f "$USBMNT/EFI/boot/boot.conf" ]; then cp -f $USBMNT/EFI/boot/bootia32.conf $USBMNT/EFI/boot/boot.conf ; fi fi commit 5aa56a03e6d75d439d06a65635c0c394106c0e60 Author: Jeremy Katz Date: Fri Mar 6 14:54:43 2009 -0500 Stop supporting making our own EFI-able images Fedora 10 images supported EFI boot and Fedora 11 will. Earlier releases don't really have all of the needed bits to make this work well diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index d816533..b7677f0 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -436,6 +436,11 @@ if [ -f "$USBMNT/$LIVEOS/$HOMEFILE" -a -n "$keephome" -a "$homesizemb" -gt 0 ]; exitclean fi +if [ -n "$mactel" -a ! -d $CDMNT/EFI/boot ]; then + echo "ERROR: This live image does not support EFI booting" + exitclean +fi + # let's try to make sure there's enough room on the stick if [ -d $CDMNT/LiveOS ]; then check=$CDMNT/LiveOS @@ -512,35 +517,7 @@ BOOTCONFIG=$USBMNT/$SYSLINUXPATH/isolinux.cfg # Set this to nothing so sed doesn't care BOOTCONFIG_EFI= if [ -n "$mactel" ];then - if [ -d $CDMNT/EFI/boot ]; then - cp $CDMNT/EFI/boot/* $USBMNT/EFI/boot - else - # whee! this image wasn't made with grub.efi bits. so we get to create - # them here. isn't life grand? - cp $CDMNT/isolinux/* $USBMNT/EFI/boot - mount -o loop,ro -t squashfs $CDMNT/$LIVEOS/squashfs.img $CDMNT - mount -o loop,ro -t ext3 $CDMNT/$LIVEOS/ext3fs.img $CDMNT - cp $CDMNT/boot/efi/EFI/redhat/grub.efi $USBMNT/EFI/boot/boot.efi - cp $CDMNT/boot/grub/splash.xpm.gz $USBMNT/EFI/boot/splash.xpm.gz - if [ -d $CDMNT/lib64 ]; then efiarch="x64" ; else efiarch="ia32"; fi - umount $CDMNT - umount $CDMNT - - # magic config... - cat > $USBMNT/EFI/boot/boot.conf < Date: Fri Mar 6 16:23:03 2009 -0500 Simple parameterization to replace all LiveOS instances with $LIVEOS To start supporting multiple live images, we need to handle switching out. Note there are still a few things which are always LiveOS (eg, CDs created by livecd-creator) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 7ab1d86..d816533 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -278,6 +278,7 @@ keephome=1 homesizemb=0 swapsizemb=0 overlaysizemb=0 +LIVEOS=LiveOS HOMEFILE="home.img" while [ $# -gt 2 ]; do @@ -341,6 +342,10 @@ while [ $# -gt 2 ]; do --force) force=1 ;; + --livedir) + LIVEOS=$2 + shift + ;; *) usage ;; @@ -425,7 +430,7 @@ mount $mountopts $USBDEV $USBMNT || exitclean trap exitclean SIGINT SIGTERM -if [ -f "$USBMNT/LiveOS/$HOMEFILE" -a -n "$keephome" -a "$homesizemb" -gt 0 ]; then +if [ -f "$USBMNT/$LIVEOS/$HOMEFILE" -a -n "$keephome" -a "$homesizemb" -gt 0 ]; then echo "ERROR: Requested keeping existing /home and specified a size for /home" echo "Please either don't specify a size or specify --delete-home" exitclean @@ -437,9 +442,9 @@ if [ -d $CDMNT/LiveOS ]; then else check=$CDMNT fi -if [ -d $USBMNT/LiveOS ]; then - tbd=$(du -s -B 1M $USBMNT/LiveOS | awk {'print $1;'}) - [ -f $USBMNT/LiveOS/$HOMEFILE ] && homesz=$(du -s -B 1M $USBMNT/LiveOS/$HOMEFILE | awk {'print $1;'}) +if [ -d $USBMNT/$LIVEOS ]; then + tbd=$(du -s -B 1M $USBMNT/$LIVEOS | awk {'print $1;'}) + [ -f $USBMNT/$LIVEOS/$HOMEFILE ] && homesz=$(du -s -B 1M $USBMNT/$LIVEOS/$HOMEFILE | awk {'print $1;'}) [ -n "$homesz" -a -n "$keephome" ] && tbd=$(($tbd - $homesz)) else tbd=0 @@ -463,9 +468,9 @@ if [ $(($overlaysizemb + $homesizemb + $livesize + $swapsizemb)) -gt $(($free + fi if [ -z "$skipcopy" ];then - if [ -d $USBMNT/LiveOS -a -z "$force" ]; then + if [ -d $USBMNT/$LIVEOS -a -z "$force" ]; then echo "Already set up as live image." - if [ -z "$keephome" -a -e $USBMNT/LiveOS/$HOMEFILE ]; then + if [ -z "$keephome" -a -e $USBMNT/$LIVEOS/$HOMEFILE ]; then echo "WARNING: Persistent /home will be deleted!!!" echo "Press Enter to continue or ctrl-c to abort" read @@ -473,10 +478,10 @@ if [ -z "$skipcopy" ];then echo "Deleting old OS in fifteen seconds..." sleep 15 - [ -e "$USBMNT/LiveOS/$HOMEFILE" -a -n "$keephome" ] && mv $USBMNT/LiveOS/$HOMEFILE $USBMNT/$HOMEFILE + [ -e "$USBMNT/$LIVEOS/$HOMEFILE" -a -n "$keephome" ] && mv $USBMNT/$LIVEOS/$HOMEFILE $USBMNT/$HOMEFILE fi - rm -rf $USBMNT/LiveOS + rm -rf $USBMNT/$LIVEOS fi fi @@ -486,19 +491,19 @@ fi if [ -z "$skipcopy" ];then echo "Copying live image to USB stick" - [ ! -d $USBMNT/LiveOS ] && mkdir $USBMNT/LiveOS - [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/LiveOS/$HOMEFILE + [ ! -d $USBMNT/$LIVEOS ] && mkdir $USBMNT/$LIVEOS + [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/$LIVEOS/$HOMEFILE if [ -n "$skipcompress" -a -f $CDMNT/LiveOS/squashfs.img ]; then mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT - cp $CDMNT/LiveOS/ext3fs.img $USBMNT/LiveOS/ext3fs.img || (umount $CDMNT ; exitclean) + cp $CDMNT/LiveOS/ext3fs.img $USBMNT/$LIVEOS/ext3fs.img || (umount $CDMNT ; exitclean) umount $CDMNT elif [ -f $CDMNT/LiveOS/squashfs.img ]; then - cp $CDMNT/LiveOS/squashfs.img $USBMNT/LiveOS/squashfs.img || exitclean + cp $CDMNT/LiveOS/squashfs.img $USBMNT/$LIVEOS/squashfs.img || exitclean elif [ -f $CDMNT/LiveOS/ext3fs.img ]; then - cp $CDMNT/LiveOS/ext3fs.img $USBMNT/LiveOS/ext3fs.img || exitclean + cp $CDMNT/LiveOS/ext3fs.img $USBMNT/$LIVEOS/ext3fs.img || exitclean fi if [ -f $CDMNT/LiveOS/osmin.img ]; then - cp $CDMNT/LiveOS/osmin.img $USBMNT/LiveOS/osmin.img || exitclean + cp $CDMNT/LiveOS/osmin.img $USBMNT/$LIVEOS/osmin.img || exitclean fi fi @@ -513,8 +518,8 @@ if [ -n "$mactel" ];then # whee! this image wasn't made with grub.efi bits. so we get to create # them here. isn't life grand? cp $CDMNT/isolinux/* $USBMNT/EFI/boot - mount -o loop,ro -t squashfs $CDMNT/LiveOS/squashfs.img $CDMNT - mount -o loop,ro -t ext3 $CDMNT/LiveOS/ext3fs.img $CDMNT + mount -o loop,ro -t squashfs $CDMNT/$LIVEOS/squashfs.img $CDMNT + mount -o loop,ro -t ext3 $CDMNT/$LIVEOS/ext3fs.img $CDMNT cp $CDMNT/boot/efi/EFI/redhat/grub.efi $USBMNT/EFI/boot/boot.efi cp $CDMNT/boot/grub/splash.xpm.gz $USBMNT/EFI/boot/splash.xpm.gz if [ -d $CDMNT/lib64 ]; then efiarch="x64" ; else efiarch="ia32"; fi @@ -546,15 +551,16 @@ echo "Updating boot config file" # adjust label and fstype sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" $BOOTCONFIG $BOOTCONFIG_EFI if [ -n "$kernelargs" ]; then sed -i -e "s/liveimg/liveimg ${kernelargs}/" $BOOTCONFIG $BOOTCONFIG_EFI ; fi +if [ "$LIVEOS" != "LiveOS" ]; then sed -i -e "s;liveimg;liveimg live_dir=$LIVEOS;" $BOOTCONFIG $BOOTCONFIG_EFI ; fi if [ "$overlaysizemb" -gt 0 ]; then echo "Initializing persistent overlay file" OVERFILE="overlay-$( /lib/udev/vol_id -l $USBDEV )-$( /lib/udev/vol_id -u $USBDEV )" if [ "$USBFS" = "vfat" ]; then # vfat can't handle sparse files - dd if=/dev/zero of=$USBMNT/LiveOS/$OVERFILE count=$overlaysizemb bs=1M + 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 + dd if=/dev/null of=$USBMNT/$LIVEOS/$OVERFILE count=1 bs=1M seek=$overlaysizemb fi sed -i -e "s/liveimg/liveimg overlay=${USBLABEL}/" $BOOTCONFIG $BOOTCONFIG_EFI sed -i -e "s/\ ro\ /\ rw\ /" $BOOTCONFIG $BOOTCONFIG_EFI @@ -562,8 +568,8 @@ fi if [ "$swapsizemb" -gt 0 ]; then echo "Initializing swap file" - dd if=/dev/zero of=$USBMNT/LiveOS/swap.img count=$swapsizemb bs=1M - mkswap -f $USBMNT/LiveOS/swap.img + dd if=/dev/zero of=$USBMNT/$LIVEOS/swap.img count=$swapsizemb bs=1M + mkswap -f $USBMNT/$LIVEOS/swap.img fi if [ "$homesizemb" -gt 0 ]; then @@ -572,13 +578,13 @@ if [ "$homesizemb" -gt 0 ]; then [ -n "$cryptedhome" ] && homesource=/dev/urandom if [ "$USBFS" = "vfat" ]; then # vfat can't handle sparse files - dd if=${homesource} of=$USBMNT/LiveOS/$HOMEFILE count=$homesizemb bs=1M + dd if=${homesource} of=$USBMNT/$LIVEOS/$HOMEFILE count=$homesizemb bs=1M else - dd if=/dev/null of=$USBMNT/LiveOS/$HOMEFILE count=1 bs=1M seek=$homesizemb + dd if=/dev/null of=$USBMNT/$LIVEOS/$HOMEFILE count=1 bs=1M seek=$homesizemb fi if [ -n "$cryptedhome" ]; then loop=$(losetup -f) - losetup $loop $USBMNT/LiveOS/$HOMEFILE + losetup $loop $USBMNT/$LIVEOS/$HOMEFILE setupworked=1 until [ ${setupworked} == 0 ]; do echo "Encrypting persistent /home" @@ -597,8 +603,8 @@ if [ "$homesizemb" -gt 0 ]; then losetup -d $loop else echo "Formatting unencrypted /home" - mke2fs -F -j $USBMNT/LiveOS/$HOMEFILE - tune2fs -c0 -i0 -ouser_xattr,acl $USBMNT/LiveOS/$HOMEFILE + mke2fs -F -j $USBMNT/$LIVEOS/$HOMEFILE + tune2fs -c0 -i0 -ouser_xattr,acl $USBMNT/$LIVEOS/$HOMEFILE fi fi @@ -608,7 +614,7 @@ fi if [ -n "$xo" ]; then echo "Setting up /boot/olpc.fth file" args=$(egrep "^[ ]*append" $USBMNT/$SYSLINUXPATH/isolinux.cfg |head -n1 |sed -e 's/.*initrd=[^ ]*//') - if [ -z "$xonohome" -a ! -f $USBMNT/LiveOS/$HOMEFILE ]; then + if [ -z "$xonohome" -a ! -f $USBMNT/$LIVEOS/$HOMEFILE ]; then args="$args persistenthome=mtd0" fi args="$args reset_overlay" From katzj at fedoraproject.org Fri Mar 6 22:04:33 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 6 Mar 2009 22:04:33 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090306220433.1C1851201C1@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) New commits: commit 3ea5e21f5d49ce967d6dc71e1d543e42a0eff606 Author: Jeremy Katz Date: Fri Mar 6 17:01:42 2009 -0500 Tweak kernel/initrd paths for the multi-image case When you load the extra syslinux.cfg, we need to be sure we reference the kernel and initrd with full paths so the right ones are loaded. Go ahead and set that up. For those who want to try, add a section like the following to your top-level syslinux/syslinux.cfg label otherimage menu label Other Image kernel vesamenu.c32 APPEND /livedir/syslinux/syslinux.cfg diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index c803bc7..f840c6e 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -668,8 +668,11 @@ if [ -z "$multi" ]; then cleanup 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 + mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg cleanup - echo "Multi-image mode selected; not setting up bootloader" fi echo "USB stick set up as live image!" From joshuacov at googlemail.com Sun Mar 8 22:21:18 2009 From: joshuacov at googlemail.com (Joshua C.) Date: Sun, 8 Mar 2009 18:21:18 -0400 Subject: [Fedora-livecd-list] Error creating livecd: Cannot unmount, device is busy Message-ID: <5f6f8c5f0903081521m5ce1b032r96e89db1485c416@mail.gmail.com> My last 3 attempts to create a livecd from rawhide resulted in errror (see the attached file). There is some problem with the umount that cannot unmount the device. The installation of the packages and relabeling with selinux works fine but then come the errors like umount: /mnt/disk/tmp/imgcreate-WLYOXG/install_root: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) Before this everything was fine. The only difference between this live image and the others is that I added the java RE. without the java packages everything is fine. -------------- next part -------------- A non-text attachment was scrubbed... Name: error Type: application/octet-stream Size: 12735 bytes Desc: not available URL: From katzj at redhat.com Mon Mar 9 03:24:43 2009 From: katzj at redhat.com (Jeremy Katz) Date: Sun, 8 Mar 2009 23:24:43 -0400 Subject: [Fedora-livecd-list] Error creating livecd: Cannot unmount, device is busy In-Reply-To: <5f6f8c5f0903081521m5ce1b032r96e89db1485c416@mail.gmail.com> References: <5f6f8c5f0903081521m5ce1b032r96e89db1485c416@mail.gmail.com> Message-ID: <20090309032442.GD3983@redhat.com> On Sunday, March 08 2009, Joshua C. said: > My last 3 attempts to create a livecd from rawhide resulted in errror > (see the attached file). There is some problem with the umount that > cannot unmount the device. The installation of the packages and > relabeling with selinux works fine but then come the errors like > umount: /mnt/disk/tmp/imgcreate-WLYOXG/install_root: device is busy. > (In some cases useful info about processes that use > the device is found by lsof(8) or fuser(1)) > > Before this everything was fine. The only difference between this live > image and the others is that I added the java RE. without the java > packages everything is fine. It sounds like the java packages start a process in their %post that isn't killed, which would be a bug in those packages. Which packages in particular? Jeremy From joshuacov at googlemail.com Mon Mar 9 14:47:36 2009 From: joshuacov at googlemail.com (Joshua C.) Date: Mon, 9 Mar 2009 15:47:36 +0100 Subject: [Fedora-livecd-list] Error creating livecd: Cannot unmount, device is busy In-Reply-To: <20090309032442.GD3983@redhat.com> References: <5f6f8c5f0903081521m5ce1b032r96e89db1485c416@mail.gmail.com> <20090309032442.GD3983@redhat.com> Message-ID: <5f6f8c5f0903090747r1ea86202ib3603a3cd3eb483b@mail.gmail.com> 2009/3/9 Jeremy Katz : > On Sunday, March 08 2009, Joshua C. said: >> My last 3 attempts to create a livecd from rawhide resulted in errror >> (see the attached file). There is some problem with the umount that >> cannot unmount the device. The installation of the packages and >> relabeling with selinux works fine but then come the errors like >> umount: /mnt/disk/tmp/imgcreate-WLYOXG/install_root: device is busy. >> (In some cases useful info about processes that use >> the device is found by lsof(8) or fuser(1)) >> >> Before this everything was fine. The only difference between this live >> image and the others is that I added the java RE. without the java >> packages everything is fine. > > It sounds like the java packages start a process in their %post that > isn't killed, which would be a bug in those packages. Which packages in > particular? > > Jeremy > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > It is the standard Sun JRE 6u12 from http://java.sun.com/javase/downloads/index.jsp. Maybe it is the jexec service but I explicitly disable it and remove it from chkconfig. Despite this error the image is done and I don't see any problems working with it. Is there a way to stop any service/process started from the rpm (such as the case here)? From joshuacov at googlemail.com Mon Mar 9 14:52:58 2009 From: joshuacov at googlemail.com (Joshua C.) Date: Mon, 9 Mar 2009 15:52:58 +0100 Subject: [Fedora-livecd-list] Error creating livecd: Cannot unmount, device is busy In-Reply-To: <5f6f8c5f0903090747r1ea86202ib3603a3cd3eb483b@mail.gmail.com> References: <5f6f8c5f0903081521m5ce1b032r96e89db1485c416@mail.gmail.com> <20090309032442.GD3983@redhat.com> <5f6f8c5f0903090747r1ea86202ib3603a3cd3eb483b@mail.gmail.com> Message-ID: <5f6f8c5f0903090752l328585e5s6575d5632ba0b4f2@mail.gmail.com> 2009/3/9 Joshua C. : > 2009/3/9 Jeremy Katz : >> On Sunday, March 08 2009, Joshua C. said: >>> My last 3 attempts to create a livecd from rawhide resulted in errror >>> (see the attached file). There is some problem with the umount that >>> cannot unmount the device. The installation of the packages and >>> relabeling with selinux works fine but then come the errors like >>> umount: /mnt/disk/tmp/imgcreate-WLYOXG/install_root: device is busy. >>> (In some cases useful info about processes that use >>> the device is found by lsof(8) or fuser(1)) >>> >>> Before this everything was fine. The only difference between this live >>> image and the others is that I added the java RE. without the java >>> packages everything is fine. >> >> It sounds like the java packages start a process in their %post that >> isn't killed, which would be a bug in those packages. Which packages in >> particular? >> >> Jeremy >> >> -- >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> > > It is the standard Sun JRE 6u12 from > http://java.sun.com/javase/downloads/index.jsp. Maybe it is the jexec > service but I explicitly disable it and remove it from chkconfig. > Despite this error the image is done and I don't see any problems > working with it. Is there a way to stop any service/process started > from the rpm (such as the case here)? > Something I forgot: The JRE from the url is a bin file and I extract the rpm from it (jre-6u12-linux-amd64.rpm). Unrelated to this error, is there a way to unmount the device when I prematurely kill the livecd-creator? In such cases I also got this kind of errors and I cannot unmount the temp dir (install_root). From katzj at fedoraproject.org Mon Mar 9 15:04:53 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 9 Mar 2009 15:04:53 +0000 (UTC) Subject: [Fedora-livecd-list] Makefile Message-ID: <20090309150453.63B67120289@lists.fedorahosted.org> Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 372e582a94a797e130f55f877d2d81b250a27be9 Author: Jeremy Katz Date: Mon Mar 9 11:00:26 2009 -0400 Bump version diff --git a/Makefile b/Makefile index f5625a4..360ebe6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION = 021 +VERSION = 022 INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} From katzj at fedoraproject.org Mon Mar 9 15:04:56 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 9 Mar 2009 15:04:56 +0000 (UTC) Subject: [Fedora-livecd-list] Changes to 'refs/tags/livecd-tools-022' Message-ID: <20090309150456.391DB120289@lists.fedorahosted.org> Changes since livecd-tools-020-40: --- 0 files changed --- From traxtopel at gmail.com Tue Mar 10 18:04:32 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Tue, 10 Mar 2009 19:04:32 +0100 Subject: [Fedora-livecd-list] Liveinst with overlay + home dir Message-ID: <421D3368-F805-4026-ABFF-91728706787A@gmail.com> Perhaps this has been added already upstream. Are there any plans to add support so liveinst will migrate the overlay and/or the home directory if they exist? From joshuacov at googlemail.com Tue Mar 10 23:41:46 2009 From: joshuacov at googlemail.com (Joshua C.) Date: Wed, 11 Mar 2009 00:41:46 +0100 Subject: [Fedora-livecd-list] Lots of squashfs errors with .29-0.218.rc7.git2.fc11 Message-ID: <5f6f8c5f0903101641x2ced9a00lbac81c548b212094@mail.gmail.com> With the latest kernel 29-0.218.rc7.git2.fc11 I got lots of squashfs errors. The livecd was made without any errors (just 2 kernel warnings about .conf files). Before this I tried 0.207.rc7 and evreything was fine. I used the same packages (with livecd-tools-022-1.fc11 instead of 021-1) with the newest kernel and couldn't even properly boot. Most of the errors are about squashfs not able to read cache block data. Can someone verify this? From joshuacov at googlemail.com Wed Mar 11 08:56:50 2009 From: joshuacov at googlemail.com (Joshua C.) Date: Wed, 11 Mar 2009 09:56:50 +0100 Subject: [Fedora-livecd-list] Re: Lots of squashfs errors with .29-0.218.rc7.git2.fc11 In-Reply-To: <5f6f8c5f0903101641x2ced9a00lbac81c548b212094@mail.gmail.com> References: <5f6f8c5f0903101641x2ced9a00lbac81c548b212094@mail.gmail.com> Message-ID: <5f6f8c5f0903110156y79f49095ld5b5f185ddb48cb8@mail.gmail.com> 2009/3/11 Joshua C. : > With the latest kernel 29-0.218.rc7.git2.fc11 I got lots of squashfs > errors. The livecd was made without any errors (just 2 kernel warnings > about .conf files). Before this I tried 0.207.rc7 and evreything was > fine. I used the same packages (with livecd-tools-022-1.fc11 instead > of 021-1) with the newest kernel and couldn't even properly boot. Most > of the errors are about squashfs not able to read cache block data. > Can someone verify this? > It should be fixed in 2.6.29-0.229.rc7.git3 but I still haven't tried it. From juszak at yahoo.com Wed Mar 11 20:53:47 2009 From: juszak at yahoo.com (juszak at yahoo.com) Date: Wed, 11 Mar 2009 13:53:47 -0700 (PDT) Subject: [Fedora-livecd-list] Custom default background Message-ID: <707686.54563.qm@web38006.mail.mud.yahoo.com> Does anybody know of an easy way to customize the default background on the livecd? Thank You, -- cj -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrice.guay at nanotechnologies.qc.ca Wed Mar 11 20:58:02 2009 From: patrice.guay at nanotechnologies.qc.ca (Patrice Guay) Date: Wed, 11 Mar 2009 16:58:02 -0400 Subject: [Fedora-livecd-list] Custom default background In-Reply-To: <707686.54563.qm@web38006.mail.mud.yahoo.com> References: <707686.54563.qm@web38006.mail.mud.yahoo.com> Message-ID: <49B825DA.5010405@nanotechnologies.qc.ca> juszak at yahoo.com wrote: > Does anybody know of an easy way to customize the default background > on the livecd? > See http://ilkinbalkanay.blogspot.com/2008/01/how-to-change-gnome-desktop-wallpaper.html You should add a line like the following in the %post section of the kickstart configuration file: gconftool-2 -t str -s /desktop/gnome/background/picture_filename "/usr/share/backgrounds/images/new_background.png" Obviously, the new background must exist. You could create an RPM package containing only this file to achieve it. -- Patrice Guay From juszak at yahoo.com Thu Mar 12 04:42:08 2009 From: juszak at yahoo.com (juszak at yahoo.com) Date: Wed, 11 Mar 2009 21:42:08 -0700 (PDT) Subject: [Fedora-livecd-list] Custom default background References: <707686.54563.qm@web38006.mail.mud.yahoo.com> <49B825DA.5010405@nanotechnologies.qc.ca> Message-ID: <138988.76189.qm@web38006.mail.mud.yahoo.com> Thanks, that got me pointed in the right direction. Here are the slightly tweaked lines for the LiveCD that did it for me... gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t str -s /desktop/gnome/background/color_shading_type "solid" >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t str -s /desktop/gnome/background/primary_color "#000000000000" >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t str -s /desktop/gnome/background/secondary_color "#ffffffffffff" >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t str -s /desktop/gnome/background/picture_filename "/usr/share/backgrounds/images/LiveCD-Background.png" >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t str -s /desktop/gnome/background/picture_options "centered" >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t str -s /desktop/gnome/background/picture_opacity "100" >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -t bool -s /desktop/gnome/background/draw_background true >/dev/null -- cj -- ________________________________ From: Patrice Guay To: fedora-livecd-list at redhat.com Sent: Wednesday, March 11, 2009 4:58:02 PM Subject: Re: [Fedora-livecd-list] Custom default background juszak at yahoo.com wrote: > Does anybody know of an easy way to customize the default background on the livecd? > See http://ilkinbalkanay.blogspot.com/2008/01/how-to-change-gnome-desktop-wallpaper.html You should add a line like the following in the %post section of the kickstart configuration file: gconftool-2 -t str -s /desktop/gnome/background/picture_filename "/usr/share/backgrounds/images/new_background.png" Obviously, the new background must exist. You could create an RPM package containing only this file to achieve it. -- Patrice Guay -- 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 traxtopel at gmail.com Thu Mar 12 23:11:51 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Fri, 13 Mar 2009 00:11:51 +0100 Subject: [Fedora-livecd-list] livecd, luks and retry Message-ID: <8BDEC129-7626-4928-9CE2-85FE84548AB3@gmail.com> Will a livecd use /etc/crypttab if the file exists? Creating a 8gb liveusb with --home-size-mb 2048 --overlay-size-mb 2048, works fine. However I would like to increase the number of passwords attempts allowed. I seem to be having no luck increasing the default password retry from 3 on the encrypted home directory. Formating using -T x or adding retry=x seem to leave the default at 3. Anyone have any ideas. From katzj at redhat.com Fri Mar 13 01:32:58 2009 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 12 Mar 2009 21:32:58 -0400 Subject: [Fedora-livecd-list] livecd, luks and retry In-Reply-To: <8BDEC129-7626-4928-9CE2-85FE84548AB3@gmail.com> References: <8BDEC129-7626-4928-9CE2-85FE84548AB3@gmail.com> Message-ID: <20090313013257.GB7911@redhat.com> On Friday, March 13 2009, Williamson Grant said: > Will a livecd use /etc/crypttab if the file exists? Yes > Creating a 8gb liveusb with --home-size-mb 2048 --overlay-size-mb 2048, > works fine. However I would like > to increase the number of passwords attempts allowed. > I seem to be having no luck increasing the default password retry from 3 > on the encrypted home directory. > Formating using -T x or adding retry=x seem to leave the default at 3. The default with an encrypted /home is that we use plymouth to prompt which is also the behavior now in the real system. And I don't think that plymouth has any way to request retrying more than 3 times Jeremy From traxtopel at gmail.com Fri Mar 13 18:51:02 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Fri, 13 Mar 2009 19:51:02 +0100 Subject: [Fedora-livecd-list] livecd, luks and retry In-Reply-To: <20090313013257.GB7911@redhat.com> References: <8BDEC129-7626-4928-9CE2-85FE84548AB3@gmail.com> <20090313013257.GB7911@redhat.com> Message-ID: <49FFF15E-24AA-4118-8697-0FD0B4CDDE34@gmail.com> Thanks for pointing me in the right direction, I mailed Ray Strode, its easy enough to add in the init.d livesys script add --number-of-tries=x and -Tx To the line plymouth ask-for-password --command="cryptsetup luksOpen $homedev EncHome" On Mar 13, 2009, at 2:32 AM, Jeremy Katz wrote: > On Friday, March 13 2009, Williamson Grant said: >> Will a livecd use /etc/crypttab if the file exists? > > Yes > >> Creating a 8gb liveusb with --home-size-mb 2048 --overlay-size-mb >> 2048, >> works fine. However I would like >> to increase the number of passwords attempts allowed. >> I seem to be having no luck increasing the default password retry >> from 3 >> on the encrypted home directory. >> Formating using -T x or adding retry=x seem to leave the default at >> 3. > > The default with an encrypted /home is that we use plymouth to prompt > which is also the behavior now in the real system. And I don't think > that plymouth has any way to request retrying more than 3 times > > Jeremy > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From muayyad.alsadi at ojuba.org Fri Mar 13 19:43:36 2009 From: muayyad.alsadi at ojuba.org (=?UTF-8?Q?=D9=85=D8=A4=D9=8A=D8=AF_=D8=A7=D9=84=D8=B3=D8=B9=D8=AF=D9=8A?=) Date: Fri, 13 Mar 2009 21:43:36 +0200 Subject: [Fedora-livecd-list] a boot option to remove the persistent layer and create a new one Message-ID: <67e50b1f84b5e9afef5befca880e9ed5@localhost> hi, if one used more than the size of the persistent layer, system becomes corrupted and unusable one then can remove the layer to restore it to "factory defaults" but telling people to create a new layer is a but difficult for end users I suggest adding things to /etc/rc.d/init.d/livesys generated by %post by replacing # if we have a persistent /home, then we want to go ahead and mount it if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; then action "Mounting persistent /home" mountPersistentHome fi with if ! strstr "\`cat /proc/cmdline\`" nopersistenthome && [ -n "\$homedev" ] ; then if ! strstr "\`cat /proc/cmdline\`" resetpersistenthome action "Mounting persistent /home" resetPersistentHome telinit 6 else action "Mounting persistent /home" mountPersistentHome fi fi and we also need a small fix in /usr/libexec/mkliveinitrd just below for o in `cat /proc/cmdline` ; do ... resetPersistentHome and resetOverlay should simply check the size of the img file we want to rest then remove it then create a new one with the same size if we want one more step we may allow user to pass resetoverlay=200 to optionally specify the new size BTW: do we really need to sleep 5 if [ -z "$setup" ]; then if [ -n "$devspec" -a -n "$pathspec" ]; then echo "Unable to find persistent overlay; using temporary" sleep 5 fi From asprakash_83 at rediffmail.com Sat Mar 14 13:45:14 2009 From: asprakash_83 at rediffmail.com (prakash srinivasan) Date: 14 Mar 2009 13:45:14 -0000 Subject: [Fedora-livecd-list] Password for fedora livecd Message-ID: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> ? Hello all, I added/removed some packages & created a fedora customized livecd using by the livecd-fedora-9-desktop.ks and livecd-fedora-9-base.ks files. When I am trying to access the system settings or any superuser's applications, its asking root password. I did not set any root password in the .ks file and I tried "root","", "fedora" & "toor" also. But no use. Somebody already posted the same query in this mailing list. But I did not find any proper reply for that query. Help me to disable the root password or how to reset the root password by editing my customized .iso. Regards, Prakash. -------------- next part -------------- An HTML attachment was scrubbed... URL: From l.zeson at gmail.com Sat Mar 14 15:42:45 2009 From: l.zeson at gmail.com (=?GB2312?B?wdbU88vK?=) Date: Sat, 14 Mar 2009 23:42:45 +0800 Subject: [Fedora-livecd-list] Password for fedora livecd In-Reply-To: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> References: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> Message-ID: Just a commline "passwd sudo" -------------- next part -------------- An HTML attachment was scrubbed... URL: From juszak at yahoo.com Sat Mar 14 15:46:48 2009 From: juszak at yahoo.com (juszak at yahoo.com) Date: Sat, 14 Mar 2009 08:46:48 -0700 (PDT) Subject: [Fedora-livecd-list] Password for fedora livecd References: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> Message-ID: <720767.62639.qm@web38002.mail.mud.yahoo.com> Use /sbin/grub-md5-crypt to create a password hash. Then, in your ks file add a line like this... rootpw --iscrypted \$1\$vLOQS9GY\$HDQlZbYtdQ0/LT3RKxjD80 (where all the crazy text is the result of running grub-md5-crypt). -- cj -- ________________________________ From: prakash srinivasan To: fedora-livecd-list at redhat.com Sent: Saturday, March 14, 2009 9:45:14 AM Subject: [Fedora-livecd-list] Password for fedora livecd Hello all, I added/removed some packages & created a fedora customized livecd using by the livecd-fedora-9-desktop.ks and livecd-fedora-9-base.ks files. When I am trying to access the system settings or any superuser's applications, its asking root password. I did not set any root password in the .ks file and I tried "root","", "fedora" & "toor" also. But no use. Somebody already posted the same query in this mailing list. But I did not find any proper reply for that query. Help me to disable the root password or how to reset the root password by editing my customized .iso. Regards, Prakash. -------------- next part -------------- An HTML attachment was scrubbed... URL: From muayyad.alsadi at ojuba.org Sat Mar 14 21:13:26 2009 From: muayyad.alsadi at ojuba.org (=?UTF-8?Q?=D9=85=D8=A4=D9=8A=D8=AF_=D8=A7=D9=84=D8=B3=D8=B9=D8=AF=D9=8A?=) Date: Sat, 14 Mar 2009 23:13:26 +0200 Subject: [Fedora-livecd-list] Password for fedora livecd In-Reply-To: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> References: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> Message-ID: <1d2f64b68e97b05e302a67e259bef8ed@localhost> hello, take a look at fedora-live-base.ks in http://git.fedorahosted.org/git/?p=spin-kickstarts.git;a=tree you will notice a line like this passwd -d liveuser > /dev/null to delete the password ie. having no password for user liveuser On 14 Mar 2009 13:45:14 -0000, "prakash srinivasan" wrote: > ? > Hello all, > I added/removed some packages & created a fedora customized livecd > using by the livecd-fedora-9-desktop.ks and livecd-fedora-9-base.ks files. > When I am trying to access the system settings or any superuser's > applications, its asking root password. I did not set any root password in > the .ks file and I tried "root","", "fedora" & "toor" also. But no use. > Somebody already posted the same query in this mailing list. But I did not > find any proper reply for that query. Help me to disable the root password > or how to reset the root password by editing my customized .iso. > > Regards, > Prakash. From joshuacov at googlemail.com Sun Mar 15 20:02:28 2009 From: joshuacov at googlemail.com (Joshua C.) Date: Sun, 15 Mar 2009 21:02:28 +0100 Subject: [Fedora-livecd-list] Password for fedora livecd In-Reply-To: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> References: <20090314134514.12018.qmail@f4mail-235-220.rediffmail.com> Message-ID: <5f6f8c5f0903151302h1c88cb21u4405c81a6d68b50f@mail.gmail.com> 2009/3/14 prakash srinivasan : > > Hello all, > ? ? ? I added/removed some packages & created a fedora customized livecd > using by the livecd-fedora-9-desktop.ks and livecd-fedora-9-base.ks files. > When I am trying to access the system settings or any superuser's > applications, its asking root password. I did not set any root password in > the .ks file and I tried "root","", "fedora" & "toor" also. But no use. > Somebody already posted the same query in this mailing list. But I did not > find any proper reply for that query. Help me to disable the root password > or how to reset the root password by editing my customized .iso. > > Regards, > Prakash. > > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list > > I did experienced this problem some months ago. As far as I can remember during creation it doesn't say "removing root password" and I was also asked about this password. But with f10-live everything is fine. From annapoorani.mani at gmail.com Mon Mar 16 07:03:48 2009 From: annapoorani.mani at gmail.com (poorani mani) Date: Mon, 16 Mar 2009 12:33:48 +0530 Subject: [Fedora-livecd-list] Fedora Livecd-creation Message-ID: hi all, I have created fedora Livecd using .ks file.i need information about persistent in livecd .That is ,if we did some changes in livecd means it will stored in overlay file.The overlay file will be created when using live-cd tool in windows. i need the information about that overlay file.how it is mounted .how the change or modifications are stored in fedora live-cd . For *data persist in livecd* - what are all the things i need to do. Thanks and regards, poorani -------------- next part -------------- An HTML attachment was scrubbed... URL: From traxtopel at gmail.com Mon Mar 16 08:52:51 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Mon, 16 Mar 2009 09:52:51 +0100 Subject: [Fedora-livecd-list] Low overlay/home dir space Message-ID: <68A04EEB-5A56-4682-9A0D-BB1D9F577FF7@gmail.com> Has anyone found a workaround for low disk space on the livecd. I know you can repair the luks home directory but I want to try and prevent this. Has anyone looked in to gnome-volume-manager or quota(or something else) to prevent the root and/or home dir from becoming full? From katzj at redhat.com Mon Mar 16 13:28:01 2009 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 16 Mar 2009 09:28:01 -0400 Subject: [Fedora-livecd-list] a boot option to remove the persistent layer and create a new one In-Reply-To: <67e50b1f84b5e9afef5befca880e9ed5@localhost> References: <67e50b1f84b5e9afef5befca880e9ed5@localhost> Message-ID: <20090316132800.GC2348@redhat.com> On Friday, March 13 2009, ???????? ???????????? said: > if one used more than the size of the persistent layer, > system becomes corrupted and unusable > > one then can remove the layer to restore it to "factory defaults" > > but telling people to create a new layer is a but difficult for end users If you boot with 'reset_overlay', it resets the overlay. [snip] > resetPersistentHome and resetOverlay should simply check the size of the > img file we want to rest > then remove it then create a new one with the same size Resetting the persistent home seems a little more questionable. Since it's just a filesystem image and not the weird dm-snapshot, it's a less straight-forward call of how/when it could get corrupted and then need any sort of resetting Jeremy From katzj at redhat.com Mon Mar 16 13:31:01 2009 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 16 Mar 2009 09:31:01 -0400 Subject: [Fedora-livecd-list] Low overlay/home dir space In-Reply-To: <68A04EEB-5A56-4682-9A0D-BB1D9F577FF7@gmail.com> References: <68A04EEB-5A56-4682-9A0D-BB1D9F577FF7@gmail.com> Message-ID: <20090316133100.GD2348@redhat.com> On Monday, March 16 2009, Williamson Grant said: > Has anyone found a workaround for low disk space on the livecd. I know > you can repair the luks home directory but I want to try and prevent > this. > Has anyone looked in to gnome-volume-manager or quota(or something else) > to prevent the root and/or home dir from becoming full? There's really not a good way to do it with the overlay -- since we're using dm-snapshot, the changes are all block based and so things like quota or even shrinking the filesystem won't work. The only real solution is to be able to use something more robust than dm-snapshot, but then we get into the land of "not-upstreamed-kernel-bits" which are basically a non-starter. There's a new effort underway to hopefully make an upstreamable unionfs-like thing which could be interesting in the future. For persistent /home, though, it's a real filesystem and thus you get the usual filesystem limits to writing to avoid low disk space problems (including the default 5% of reserved space for root) Jeremy From sundaram at fedoraproject.org Mon Mar 16 14:56:59 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Mon, 16 Mar 2009 20:26:59 +0530 Subject: [Fedora-livecd-list] Fedora Livecd-creation In-Reply-To: References: Message-ID: <49BE68BB.1030302@fedoraproject.org> poorani mani wrote: > hi all, > > I have created fedora Livecd using .ks file.i need information about > persistent in livecd .That is ,if we did some changes in livecd means it > will stored in overlay file.The overlay file will be created when using > live-cd tool in windows. > > i need the information about that overlay file.how it is mounted .how > the change or modifications are stored in fedora live-cd . > > For *data persist in livecd* - what are all the things i need to do. You cannot make data persist with it a Live CD. However you can with a Live USB. Refer http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB Rahul From asprakash_83 at rediffmail.com Mon Mar 16 16:33:11 2009 From: asprakash_83 at rediffmail.com (prakash srinivasan) Date: 16 Mar 2009 16:33:11 -0000 Subject: [Fedora-livecd-list] Resolved - Password for fedora livecd Message-ID: <20090316163311.13592.qmail@f4mail-235-235.rediffmail.com> ? Hello all, I resolved the root password problem & I followed the below steps in my case.. Hope it may useful for someone in future. * Add/remove the packages & created a custom fedora-9 livecd iso image. * Mount the iso, squashfs & ext3fs images. * Edit the file "etc/shadow" * Go to the first line. Remove the "*" in between the first and second colon (or) remove all the words in between the first & second colon. After edited, the first line should be like this, "root::14289:0:99999:7:::". * Save it. * Umount the images and recreate the ext3fs,squashfs & mydistro.iso * After you booted with mydistro.iso, you can now access all the system related tools/applications without asking root password. Regards, Prakash. -------------- next part -------------- An HTML attachment was scrubbed... URL: From muayyad.alsadi at ojuba.org Mon Mar 16 16:50:51 2009 From: muayyad.alsadi at ojuba.org (=?UTF-8?Q?=D9=85=D8=A4=D9=8A=D8=AF_=D8=A7=D9=84=D8=B3=D8=B9=D8=AF=D9=8A?=) Date: Mon, 16 Mar 2009 18:50:51 +0200 Subject: [Fedora-livecd-list] a boot option to remove the persistent layer and create a new one In-Reply-To: <20090316132800.GC2348@redhat.com> References: <67e50b1f84b5e9afef5befca880e9ed5@localhost> <20090316132800.GC2348@redhat.com> Message-ID: <8a6c5ade6c72f4c98a73c9de596068eb@localhost> hi, > On Friday, March 13 2009, ???????? ???????????? said: >> if one used more than the size of the persistent layer, >> system becomes corrupted and unusable >> >> one then can remove the layer to restore it to "factory defaults" >> >> but telling people to create a new layer is a but difficult for end > users > > If you boot with 'reset_overlay', it resets the overlay. > > [snip] I did not know about reset_overlay boot option I have looked into /usr/libexec/mkliveinitrd and just saw it thanks > > Resetting the persistent home seems a little more questionable. Since > it's just a filesystem image and not the weird dm-snapshot, it's a less > straight-forward call of how/when it could get corrupted and then need > any sort of resetting > ok, forget about resetting home then From traxtopel at gmail.com Tue Mar 17 07:32:08 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Tue, 17 Mar 2009 08:32:08 +0100 Subject: [Fedora-livecd-list] a boot option to remove the persistent layer and create a new one In-Reply-To: <20090316132800.GC2348@redhat.com> References: <67e50b1f84b5e9afef5befca880e9ed5@localhost> <20090316132800.GC2348@redhat.com> Message-ID: <1AC4B85B-5F27-4634-9E11-7CE8125EC5B1@gmail.com> I think the issue I see is if /home is %100. i.e. I login and create a file so home reaches %100 , I get stale nfs error messages. It will no longer let me delete the file. So I need to run something like. This I guess follows on from the mail from yesterday, and there is no simple solution, however a home rescue mode in the startup script, would atleast help some people out. i.e. from boot rescue_home losetup /dev/loop7 /mnt/live/LiveOS/home.img cryptsetup luksOpen /dev/loop7 Test e2fsck /dev/mapper/Test -y mount /dev/mapper/Test mnt/ # interactively remove the large file(s) umount mnt/ cryptsetup luksClose test losetup -d /dev/loop7 On Mar 16, 2009, at 2:28 PM, Jeremy Katz wrote: > On Friday, March 13 2009, ???????? ???????????? said: >> if one used more than the size of the persistent layer, >> system becomes corrupted and unusable >> >> one then can remove the layer to restore it to "factory defaults" >> >> but telling people to create a new layer is a but difficult for end >> users > > If you boot with 'reset_overlay', it resets the overlay. > > [snip] >> resetPersistentHome and resetOverlay should simply check the size >> of the >> img file we want to rest >> then remove it then create a new one with the same size > > Resetting the persistent home seems a little more questionable. Since > it's just a filesystem image and not the weird dm-snapshot, it's a > less > straight-forward call of how/when it could get corrupted and then need > any sort of resetting > > Jeremy > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From sorlok_reaves at yahoo.com Tue Mar 17 14:18:42 2009 From: sorlok_reaves at yahoo.com (S'orlok Reaves) Date: Tue, 17 Mar 2009 07:18:42 -0700 (PDT) Subject: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected Message-ID: <508609.54451.qm@web30002.mail.mud.yahoo.com> Hello, I'm using the LiveUSB feature of the LiveCDs, with the overlay feature to persist data. I have to say, I'm really enjoying the portability. However, I'm unable to install all the packages I would like to, due to a mysterious fact: the overlay file is way smaller than I created it to be. The details: -------------- The USB stick: 2.0GB Imation, listed as 1.88GiB in gparted (no bad sectors). Gparted also lists 548MB used, but that's inaccurate since the OS is squished. The ISO: a minimal install, 126 MB, expands to (presumably) ~500 MB at boot The install: I used "livecd-iso-to-disk --overlay-size-mb 1600 F10min.iso /deb/sdb1" I did this from an existing Fedora 10 install, and there were no problems or warnings. I installed from scratch seven times. Running "df -h" on a clean boot of the usb shows me: /dev/mapper/live-rw 741M (size) 715M(used) 20M(avail) (mounted as /) ....and several tmpfs's I'm using for /var/run and yum's cache Running "du -sh --exclude=proc /" shows a total of 698M used. This makes sense, and is close enough to df's proclaimed 715 MB that I accept it. (I know there were reported issues with df's accuracy on overlays). Either way, the overlay is clearly full; trying to install things with yum fails with an "xxx mb needed" message. Basically, it comes down to this: Expected overlay size: 1600 MB Reported overlay size: 741 MB ...and with my image loaded at 500MB, I'm restricted to 140MB of new data. Has anyone experienced something similar? Or, did I do something wrong with the flash to USB? Or, can someone at _least_ tell me how to re-create the overlay at 1600 MB? I'd really appreciate any help, as I quite enjoy carrying Fedora around with me, and abiword won't fit in the remaining 20 MB. Thanks in advance; I've scanned the mailing list archives while trying to debug this problem and this list seemed both helpful and polite. :) All the best, -->Seth From katzj at redhat.com Tue Mar 17 14:42:36 2009 From: katzj at redhat.com (Jeremy Katz) Date: Tue, 17 Mar 2009 10:42:36 -0400 Subject: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected In-Reply-To: <508609.54451.qm@web30002.mail.mud.yahoo.com> References: <508609.54451.qm@web30002.mail.mud.yahoo.com> Message-ID: <20090317144235.GA3725@redhat.com> On Tuesday, March 17 2009, S'orlok Reaves said: > I'm using the LiveUSB feature of the LiveCDs, with the overlay feature to persist data. I have to say, I'm really enjoying the portability. However, I'm unable to install all the packages I would like to, due to a mysterious fact: the overlay file is way smaller than I created it to be. [snip] > Running "df -h" on a clean boot of the usb shows me: > /dev/mapper/live-rw 741M (size) 715M(used) 20M(avail) (mounted as /) > ....and several tmpfs's I'm using for /var/run and yum's cache While the overlay is larger than this, the filesystem size may be smaller. If you look at the kickstart config you used to create your image, you probably have a rootfs size specified to be on the smaller size Jeremy From sorlok_reaves at yahoo.com Tue Mar 17 15:29:02 2009 From: sorlok_reaves at yahoo.com (S'orlok Reaves) Date: Tue, 17 Mar 2009 08:29:02 -0700 (PDT) Subject: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected In-Reply-To: <20090317144235.GA3725@redhat.com> Message-ID: <151616.11437.qm@web30002.mail.mud.yahoo.com> Ah, that makes sense! Thanks for the tip; it would have taken me ages to figure that one out on my own. I'm on my laptop now; I'll re-build the image tomorrow and let you know if it worked. Thanks again! -->Seth --- On Tue, 3/17/09, Jeremy Katz wrote: > From: Jeremy Katz > Subject: Re: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected > To: sorlok_reaves at yahoo.com, fedora-livecd-list at redhat.com > Date: Tuesday, March 17, 2009, 10:42 AM > On Tuesday, March 17 2009, S'orlok Reaves said: > > I'm using the LiveUSB feature of the LiveCDs, > with the overlay feature to persist data. I have to say, > I'm really enjoying the portability. However, I'm > unable to install all the packages I would like to, due to a > mysterious fact: the overlay file is way smaller than I > created it to be. > [snip] > > Running "df -h" on a clean boot of the usb > shows me: > > /dev/mapper/live-rw 741M (size) 715M(used) > 20M(avail) (mounted as /) > > ....and several tmpfs's I'm using for /var/run > and yum's cache > > While the overlay is larger than this, the filesystem size > may be > smaller. If you look at the kickstart config you used to > create your > image, you probably have a rootfs size specified to be on > the smaller > size > > Jeremy From annapoorani.mani at gmail.com Wed Mar 18 10:42:49 2009 From: annapoorani.mani at gmail.com (poorani mani) Date: Wed, 18 Mar 2009 16:12:49 +0530 Subject: [Fedora-livecd-list] Change login manager & desktop wallpaper Message-ID: hi all, I need to change desktop wallpaper in Livecd.How can i do that in .ks file. then i dont need the login screen.when booting livecd it will automatically login without asking password how i do this in .ks file thanks poorani -------------- next part -------------- An HTML attachment was scrubbed... URL: From annapoorani.mani at gmail.com Wed Mar 18 13:10:18 2009 From: annapoorani.mani at gmail.com (poorani mani) Date: Wed, 18 Mar 2009 18:40:18 +0530 Subject: [Fedora-livecd-list] Livecd Gnome starting problem Message-ID: Hi all, I have create the ISO using kickstart file.i have got the following error in every login.Please give me solution to that error. There was an error starting the GNOME Settings Daemon. Some things, such as themes, sounds, or background settings may not work correctly. The last error message was: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GNOME will still try to restart the Settings Daemon next time you log in. Thanks poorani -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhondak at hightouchinc.com Thu Mar 19 00:22:32 2009 From: rhondak at hightouchinc.com (Rhonda Kern) Date: Wed, 18 Mar 2009 19:22:32 -0500 Subject: [Fedora-livecd-list] Using livecd-tools for recovery disc Message-ID: <013FC758865CF645976E313AEB6A7099083BCA77@htmail.hightouchinc.com> I am using Fedora 9 to create a custom live DVD. This DVD is used for recovery and installation. The DVD boots fine. I have a script on the DVD that runs the liveinst process. The script runs, the install completes as expected. I have 2 issues. #1 - I would like for the install to complete *without* prompting with the reboot message. I do not have a reboot instruction in my kickstart file. Still, it prompts with a reboot message. I press enter and the script continues. But I'd rather it just continue without the prompting. Does anyone know how to make that happen? #2 - I need to be able to remove the live DVD and place another disc in the drive to un-tar some files. If I try to unmount the DVD right after the machine is booted, before the script is run, it works fine. However, if I try to unmount the DVD after the script has run, I get errors like: Ext3-fs error (device dm-0): ext3_journal_start_sb: detected aborted journal Remounting filesystem read-only Also, I am un-able to run any commands. It says it can't find /bin/find, or whatever command I'm trying to run. Does anyone know if it's possible to remove the live disc? If so, how is it done? Or does anyone know if it's possible in F10 or F11? Thanks in advance for your help. Rhonda Kern rhondak at hightouchinc.com "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." From katzj at redhat.com Thu Mar 19 00:49:27 2009 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 18 Mar 2009 20:49:27 -0400 Subject: [Fedora-livecd-list] Using livecd-tools for recovery disc In-Reply-To: <013FC758865CF645976E313AEB6A7099083BCA77@htmail.hightouchinc.com> References: <013FC758865CF645976E313AEB6A7099083BCA77@htmail.hightouchinc.com> Message-ID: <20090319004926.GA5739@redhat.com> On Wednesday, March 18 2009, Rhonda Kern said: > #1 - I would like for the install to complete *without* prompting with > the reboot message. I do not have a reboot instruction in my kickstart > file. Still, it prompts with a reboot message. I press enter and the > script continues. But I'd rather it just continue without the > prompting. Does anyone know how to make that happen? reboot in your kickstart config will exit the installer automatically; otherwise, it prompts > #2 - I need to be able to remove the live DVD and place another disc in > the drive to un-tar some files. If I try to unmount the DVD right after > the machine is booted, before the script is run, it works fine. > However, if I try to unmount the DVD after the script has run, I get > errors like: > > Ext3-fs error (device dm-0): ext3_journal_start_sb: detected aborted > journal > Remounting filesystem read-only > > Also, I am un-able to run any commands. It says it can't find > /bin/find, or whatever command I'm trying to run. > > Does anyone know if it's possible to remove the live disc? If so, how > is it done? Or does anyone know if it's possible in F10 or F11? You can't (generally) do this as the system is running off of the livecd. So removing it is removing the disc of your rootfs. If you have enough ram, you can add 'live_ram' to your kernel command line and instead the image will be copied and run out of ram Jeremy From traxtopel at gmail.com Thu Mar 19 05:33:58 2009 From: traxtopel at gmail.com (Williamson Grant) Date: Thu, 19 Mar 2009 06:33:58 +0100 Subject: [Fedora-livecd-list] Using livecd-tools for recovery disc In-Reply-To: <013FC758865CF645976E313AEB6A7099083BCA77@htmail.hightouchinc.com> References: <013FC758865CF645976E313AEB6A7099083BCA77@htmail.hightouchinc.com> Message-ID: 2. boot the live disc using live_ram On Mar 19, 2009, at 1:22 AM, Rhonda Kern wrote: > I am using Fedora 9 to create a custom live DVD. This DVD is used for > recovery and installation. The DVD boots fine. I have a script on > the > DVD that runs the liveinst process. The script runs, the install > completes as expected. > > I have 2 issues. > > #1 - I would like for the install to complete *without* prompting with > the reboot message. I do not have a reboot instruction in my > kickstart > file. Still, it prompts with a reboot message. I press enter and the > script continues. But I'd rather it just continue without the > prompting. Does anyone know how to make that happen? > > #2 - I need to be able to remove the live DVD and place another disc > in > the drive to un-tar some files. If I try to unmount the DVD right > after > the machine is booted, before the script is run, it works fine. > However, if I try to unmount the DVD after the script has run, I get > errors like: > > Ext3-fs error (device dm-0): ext3_journal_start_sb: detected aborted > journal > Remounting filesystem read-only > > Also, I am un-able to run any commands. It says it can't find > /bin/find, or whatever command I'm trying to run. > > Does anyone know if it's possible to remove the live disc? If so, how > is it done? Or does anyone know if it's possible in F10 or F11? > > > Thanks in advance for your help. > > Rhonda Kern > rhondak at hightouchinc.com > > > "This message may contain confidential and/or privileged > information. If you are not the addressee or authorized to > receive this for the addressee, you must not use, copy, > disclose, or take any action based on this message or any > information herein. If you have received this message in error, > please advise the sender immediately by reply e-mail and delete > this message. Thank you for your cooperation." > > -- > Fedora-livecd-list mailing list > Fedora-livecd-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-livecd-list From suppi010 at gmail.com Thu Mar 19 12:04:07 2009 From: suppi010 at gmail.com (supreeth H.R) Date: Thu, 19 Mar 2009 17:34:07 +0530 Subject: [Fedora-livecd-list] Request for OS CD Message-ID: Hi....... Im supreeth im from Master in Computer Application background....... its my humble request please send me the fedora operating system installation cd.... which helps me in my studies........ My Address is....... Supreeth.H.R 1st year 'B' Sec, PGDMS&RC, Siddaganga Institute of Technology, B H Road, Tumkur-572 103 Karnataka, INDIA. Thanking you...... im looking forward for your replay...... Regards, Supreeth.H.R -------------- next part -------------- An HTML attachment was scrubbed... URL: From sorlok_reaves at yahoo.com Fri Mar 20 05:41:37 2009 From: sorlok_reaves at yahoo.com (S'orlok Reaves) Date: Thu, 19 Mar 2009 22:41:37 -0700 (PDT) Subject: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected Message-ID: <394124.12861.qm@web30002.mail.mud.yahoo.com> Just confirming that the kickstart change worked. I used something like: part / --size 1600 Now everything's up and running (except X, but I'll figure that out on my own.) Thanks again, Jeremy. -->Seth --- On Tue, 3/17/09, S'orlok Reaves wrote: > From: S'orlok Reaves > Subject: Re: [Fedora-livecd-list] LiveUSB overlay size is smaller than expected > To: fedora-livecd-list at redhat.com > Date: Tuesday, March 17, 2009, 11:29 AM > > > > Ah, that makes sense! Thanks for the tip; it would have > taken me ages to figure that one out on my own. > > I'm on my laptop now; I'll re-build the image tomorrow and > let you know if it worked. Thanks again! > > -->Seth > > > > --- On Tue, 3/17/09, Jeremy Katz > wrote: > > > From: Jeremy Katz > > Subject: Re: [Fedora-livecd-list] LiveUSB overlay size > is smaller than expected > > To: sorlok_reaves at yahoo.com, > fedora-livecd-list at redhat.com > > Date: Tuesday, March 17, 2009, 10:42 AM > > On Tuesday, March 17 2009, S'orlok Reaves said: > > >? ? I'm using the LiveUSB feature of the > LiveCDs, > > with the overlay feature to persist data. I have to > say, > > I'm really enjoying the portability. However, I'm > > unable to install all the packages I would like to, > due to a > > mysterious fact: the overlay file is way smaller than > I > > created it to be. > > [snip] > > > Running "df -h" on a clean boot of the usb > > shows me: > > > /dev/mapper/live-rw???741M (size) > 715M(used) > > 20M(avail) (mounted as /) > > > ....and several tmpfs's I'm using for /var/run > > and yum's cache > > > > While the overlay is larger than this, the filesystem > size > > may be > > smaller.? If you look at the kickstart config you > used to > > create your > > image, you probably have a rootfs size specified to be > on > > the smaller > > size > > > > 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 Fri Mar 20 14:48:23 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 20 Mar 2009 14:48:23 +0000 (UTC) Subject: [Fedora-livecd-list] 2 commits - tools/livecd-iso-to-disk.sh tools/livecd-iso-to-pxeboot.sh Message-ID: <20090320144823.50F221202D3@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 2 ++ tools/livecd-iso-to-pxeboot.sh | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) New commits: commit b6c69841c1e372173b8633cbd9ede0baa7847aba Author: Jeremy Katz Date: Fri Mar 20 10:46:49 2009 -0400 Handle changed syslinux paths for livecd-iso-to-pxeboot as well diff --git a/tools/livecd-iso-to-pxeboot.sh b/tools/livecd-iso-to-pxeboot.sh index 280d354..22810d9 100755 --- a/tools/livecd-iso-to-pxeboot.sh +++ b/tools/livecd-iso-to-pxeboot.sh @@ -42,8 +42,8 @@ if [ $(id -u) != 0 ]; then fi # Check pxelinux.0 exists. -if [ ! -f /usr/lib/syslinux/pxelinux.0 ]; then - echo "Warning: /usr/lib/syslinux/pxelinux.0 not found." +if [ ! -f /usr/share/syslinux/pxelinux.0 -a ! -f /usr/lib/syslinux/pxelinux.0 ]; then + echo "Warning: pxelinux.0 not found." echo "Make sure syslinux or pxelinux is installed on this system." fi @@ -95,7 +95,9 @@ ISODIRNAME=`dirname "$ISO"` cp $CDMNT/isolinux/vmlinuz0 tftpboot/vmlinuz0 # pxelinux bootloader. -if [ -f /usr/lib/syslinux/pxelinux.0 ]; then +if [ -f /usr/share/syslinux/pxelinux.0 ]; then + cp /usr/share/syslinux/pxelinux.0 tftpboot +elif [ -f /usr/lib/syslinux/pxelinux.0 ]; then cp /usr/lib/syslinux/pxelinux.0 tftpboot else echo "Warning: You need to add pxelinux.0 to tftpboot/ subdirectory" commit d2c2a0c911090cb55e56e207fba0fa472913e5dd Author: Jeremy Katz Date: Fri Mar 20 10:44:09 2009 -0400 Don't prompt about overwriting files from mtools (#491234) New syslinux uses mtools for the installer and then mmove prompts about overwriting the existing ldlinux.sys. So let's just remove it as there's not a good way to force mmove to not ask diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index f840c6e..f0c7331 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -654,6 +654,8 @@ if [ -z "$multi" ]; then # syslinux expects the config to be named syslinux.cfg # and has to run with the file system unmounted mv $USBMNT/$SYSLINUXPATH/isolinux.cfg $USBMNT/$SYSLINUXPATH/syslinux.cfg + # deal with mtools complaining about ldlinux.sys + if [ -f $USBMNT/$SYSLINUXPATH/ldlinux.sys ] ; then rm -f $USBMNT/$SYSLINUXPATH/ldlinux.sys ; fi cleanup if [ -n "$SYSLINUXPATH" ]; then syslinux -d $SYSLINUXPATH $USBDEV From invitations at studentdevelopers.ning.com Fri Mar 20 16:16:35 2009 From: invitations at studentdevelopers.ning.com (shivam) Date: Fri, 20 Mar 2009 16:16:35 +0000 (GMT) Subject: [Fedora-livecd-list] Come join me on world of projects on Open Source University Meetup Message-ID: <16149428.1237565795910.JavaMail.xncore@omx> Open Source University Meetup: shivam has invited you to join world of projects on Open Source University Meetup -------------------- post you computer project ideas which will others and you too, to make good projects Check out world of projects on Open Source University Meetup: http://osum.sun.com/group/worldofprojects?xgi=10B1cbc If your email program doesn't recognize the web address above as an active link, please copy and paste it into your web browser -------------------- About world of projects on Open Source University Meetup For many of us thinking of good project ideas becomes difficult, we all need project ideas whether its for college projects or for competitions. So guys post your project ideas, whether you have already made it or if you have any new idea. 1 member Created By: shivam -------------------- About Open Source University Meetup 66241 members 10671 photos 429 videos 4794 discussions 1006 events 1192 blog posts -------------------- To control which emails you receive on the corner, or to opt-out, go to: http://osum.sun.com/?xgo=l8fnkRlYOOBqxWf7Y/KOAGWoanReirVRaW-jte4cfEcfqtBqcSOBwplzLf37XJmoBFZrLUqGtdQ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sundaram at fedoraproject.org Fri Mar 20 21:38:46 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Sat, 21 Mar 2009 03:08:46 +0530 Subject: [Fedora-livecd-list] Change login manager & desktop wallpaper In-Reply-To: References: Message-ID: <49C40CE6.5090909@fedoraproject.org> poorani mani wrote: > hi all, > > I need to change desktop wallpaper in Livecd.How can i do that in .ks file. > then i dont need the login screen.when booting livecd it will > automatically login without asking password how i do this in .ks file Desktop wallpaper can be changed by modifying the source rpm of the desktop background package and rebuilding it. The desktop live cd uses GDM and you can set the timed login to zero in %post section. Example --------- %post cat >> /etc/rc.d/init.d/livesys << 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 0 seconds cat >> /etc/gdm/custom.conf << FOE [daemon] TimedLoginEnable=true TimedLogin=liveuser TimedLoginDelay=0 FOE EOF %end ---- Rahul From sundaram at fedoraproject.org Fri Mar 20 21:39:37 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Sat, 21 Mar 2009 03:09:37 +0530 Subject: [Fedora-livecd-list] Livecd Gnome starting problem In-Reply-To: References: Message-ID: <49C40D19.3050303@fedoraproject.org> poorani mani wrote: > Hi all, > > I have create the ISO using kickstart file.i have got the following > error in every login.Please give me solution to that error. Where is your kickstart file and what did you modify? Rahul From sundaram at fedoraproject.org Fri Mar 20 21:41:02 2009 From: sundaram at fedoraproject.org (Rahul Sundaram) Date: Sat, 21 Mar 2009 03:11:02 +0530 Subject: [Fedora-livecd-list] Request for OS CD In-Reply-To: References: Message-ID: <49C40D6E.3050702@fedoraproject.org> supreeth H.R wrote: > Hi....... > Im supreeth im from Master in Computer Application background....... > its my humble request please send me the fedora operating system > installation cd.... which helps me in my studies........ > This is the wrong place to request free media. Try http://fedoraproject.org/wiki/Distribution/FreeMedia/India Rahul From christopher.nivasen at logica.com Tue Mar 24 14:03:59 2009 From: christopher.nivasen at logica.com (=?iso-8859-1?Q?Niv=E5sen=2C_Christopher?=) Date: Tue, 24 Mar 2009 15:03:59 +0100 Subject: [Fedora-livecd-list] IBM POWER (PPC) - Error creating Live CD : Unable to find boot file Message-ID: <7EFC80129CB6124B8D6785108FDAFC3022284B6A07@SE-EX007.groupinfra.com> Hi! I wonder if someone have tried to create a live-cd with the Fedora (10) PPC release? I always get the same error when all the rpm?s are installed; Error creating Live CD : Unable to find boot file /var/tmp/imgcreate-ot1R9X/iso-gTa9Hv/ppc I have tried a lot of different options (config files, repos etc.), but it?s always the same error. The i386 release works fine. Any ideas? Thanks a lot. //Christopher -------------- next part -------------- An HTML attachment was scrubbed... URL: From abo at stacken.kth.se Tue Mar 24 22:50:36 2009 From: abo at stacken.kth.se (=?ISO-8859-1?Q?Alexander_Bostr=F6m?=) Date: Tue, 24 Mar 2009 23:50:36 +0100 Subject: [Fedora-livecd-list] [PATCH] The variable xosyspath escaped into olpc.fth. Expand it to the proper path instead. Message-ID: <49C963BC.7090702@stacken.kth.se> --- tools/livecd-iso-to-disk.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index f0c7331..05fe080 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -635,8 +635,8 @@ hex rom-pa fffc7 + 4 \$number drop h# 2e19 < [if] set-bootpath-dev " $args" to boot-file -" \${BOOTPATHDEV}\$xosyspath\initrd0.img" expand$ to ramdisk -" \${BOOTPATHDEV}\$xosyspath\vmlinuz0" expand$ to boot-device +" \${BOOTPATHDEV}$xosyspath\initrd0.img" expand$ to ramdisk +" \${BOOTPATHDEV}$xosyspath\vmlinuz0" expand$ to boot-device unfreeze boot EOF From katzj at redhat.com Wed Mar 25 14:09:16 2009 From: katzj at redhat.com (Jeremy Katz) Date: Wed, 25 Mar 2009 10:09:16 -0400 Subject: [Fedora-livecd-list] [PATCH] The variable xosyspath escaped into olpc.fth. Expand it to the proper path instead. In-Reply-To: <49C963BC.7090702@stacken.kth.se> References: <49C963BC.7090702@stacken.kth.se> Message-ID: <20090325140915.GA20195@redhat.com> Thanks for the patch; applied Jeremy From katzj at fedoraproject.org Wed Mar 25 14:09:06 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Wed, 25 Mar 2009 14:09:06 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090325140906.67522120231@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit a54b23dd751bd4b52154a3df011f4aa1f75a4c09 Author: Alexander Bostr??m Date: Tue Mar 24 23:50:36 2009 +0100 The variable xosyspath escaped into olpc.fth. Expand it to the proper path instead. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index f0c7331..05fe080 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -635,8 +635,8 @@ hex rom-pa fffc7 + 4 \$number drop h# 2e19 < [if] set-bootpath-dev " $args" to boot-file -" \${BOOTPATHDEV}\$xosyspath\initrd0.img" expand$ to ramdisk -" \${BOOTPATHDEV}\$xosyspath\vmlinuz0" expand$ to boot-device +" \${BOOTPATHDEV}$xosyspath\initrd0.img" expand$ to ramdisk +" \${BOOTPATHDEV}$xosyspath\vmlinuz0" expand$ to boot-device unfreeze boot EOF From abo at stacken.kth.se Wed Mar 25 20:33:58 2009 From: abo at stacken.kth.se (=?ISO-8859-1?Q?Alexander_Bostr=F6m?=) Date: Wed, 25 Mar 2009 21:33:58 +0100 Subject: [Fedora-livecd-list] [PATCH] Handle the case when the kernel can't mount squashfs.img (probably a mksquashfs/running kernel mismatch). Message-ID: <49CA9536.7010606@stacken.kth.se> Hi, The loop mount of the squashfs from rawhide images fails for me on F10, which makes livecd-iso-to-disk exit without cleaning up (unmounting etc.). This make iso-to-disk handle the error and also makes it do almost what the user asked by copying the squashfs as-is. Maybe it should clean up and exit instead, telling the user to remove --skipcompress or add --compress after --xo or something like that... /abo --- tools/livecd-iso-to-disk.sh | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index f0c7331..4621d45 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -462,9 +462,17 @@ else fi livesize=$(du -s -B 1M $check | awk {'print $1;'}) if [ -n "$skipcompress" ]; then - mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT - livesize=$(du -s -B 1M $CDMNT/LiveOS/ext3fs.img | awk {'print $1;'}) - umount $CDMNT + if [ -e $CDMNT/LiveOS/squashfs.img ]; then + if mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT; then + livesize=$(du -s -B 1M $CDMNT/LiveOS/ext3fs.img | awk {'print $1;'}) + umount $CDMNT + else + echo "WARNING: --skipcompress or --xo was specified but the currently" + echo "running kernel can not mount the squashfs from the ISO file to extract" + echo "it. The compressed squashfs will be copied to the USB stick." + skipcompress="" + fi + fi fi free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'}) @@ -505,7 +513,7 @@ if [ -z "$skipcopy" ];then [ ! -d $USBMNT/$LIVEOS ] && mkdir $USBMNT/$LIVEOS [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/$LIVEOS/$HOMEFILE if [ -n "$skipcompress" -a -f $CDMNT/LiveOS/squashfs.img ]; then - mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT + mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT || exitclean cp $CDMNT/LiveOS/ext3fs.img $USBMNT/$LIVEOS/ext3fs.img || (umount $CDMNT ; exitclean) umount $CDMNT elif [ -f $CDMNT/LiveOS/squashfs.img ]; then From katzj at redhat.com Fri Mar 27 01:06:13 2009 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 26 Mar 2009 21:06:13 -0400 Subject: [Fedora-livecd-list] [PATCH] Handle the case when the kernel can't mount squashfs.img (probably a mksquashfs/running kernel mismatch). In-Reply-To: <49CA9536.7010606@stacken.kth.se> References: <49CA9536.7010606@stacken.kth.se> Message-ID: <20090327010613.GA21634@redhat.com> On Wednesday, March 25 2009, Alexander Bostr?m said: > The loop mount of the squashfs from rawhide images fails for me on F10, > which makes livecd-iso-to-disk exit without cleaning up (unmounting > etc.). > > This make iso-to-disk handle the error and also makes it do almost what > the user asked by copying the squashfs as-is. Maybe it should clean up > and exit instead, telling the user to remove --skipcompress or add > --compress after --xo or something like that... This looks okay, but thunderbird horribly mangled the patch. Your last one I was able to fix up manually, but can you please send with a mailer that doesn't mangle? git send-email can do the trick nicely :) Jeremy From katzj at fedoraproject.org Fri Mar 27 02:01:15 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Fri, 27 Mar 2009 02:01:15 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090327020115.E7B30120203@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 5 ----- 1 file changed, 5 deletions(-) New commits: commit 3c14c6c41b8f541bbfa3095d6b23e39ed7f91a4f Author: Jim Radford Date: Thu Mar 26 09:51:00 2009 -0700 Only the UUID of the EFI System Partition is important, not its name EFI systems should boot fine regardless of the name of the "EFI System Partition" as it's defined by its UUID, not its label, which the boot flag check already takes care of. I verfied this on a MacBook. The check for the boot flag should probably check for :boot; to not just boot to keep from accidentally picking up the label. -Jim diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 05fe080..8702936 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -191,11 +191,6 @@ checkGPT() { partinfo=$(/sbin/parted --script -m $device "print" |grep ^$partnum:) volname=$(echo $partinfo |cut -d : -f 6) flags=$(echo $partinfo |cut -d : -f 7) - if [ "$volname" != "EFI System Partition" ]; then - echo "Partition name must be 'EFI System Partition'" - echo "This can be set in parted or you can run with --reset-mbr" - exitclean - fi if [ "$(echo $flags |grep -c boot)" = "0" ]; then echo "Partition isn't marked bootable!" echo "You can mark the partition as bootable with " From katzj at redhat.com Fri Mar 27 02:01:34 2009 From: katzj at redhat.com (Jeremy Katz) Date: Thu, 26 Mar 2009 22:01:34 -0400 Subject: [Fedora-livecd-list] Re: [PATCH] Only the UUID of the EFI System Partition is important, not its name In-Reply-To: <20090326165100.GA12746@blackbean.org> References: <20090326165100.GA12746@blackbean.org> Message-ID: <20090327020133.GB21634@redhat.com> On Thursday, March 26 2009, Jim Radford said: > EFI systems should boot fine regardless of the name of the "EFI System > Partition" as it's defined by its UUID, not its label, which the boot > flag check already takes care of. > > I verfied this on a MacBook. Thanks, applied Jeremy From annapoorani.mani at gmail.com Fri Mar 27 04:23:44 2009 From: annapoorani.mani at gmail.com (poorani mani) Date: Fri, 27 Mar 2009 09:53:44 +0530 Subject: [Fedora-livecd-list] FC9 - Livecd problem Message-ID: hi, I have mount and edit the Livecd(FC9) using following steps. ***************************************************************************** mkdir /home/images/squashfs_image/ modprobe squashfs mount -o loop -t squashfs /home/images/isoimage/LiveOS/squashfs.img /mnt/squashfs cp -dpR /mnt/squashfs/* /home/images/squashfs_image/ umount /mnt/squashfs mount -o loop /home/images/squashfs_image/LiveOS/ext3fs.img /mnt/ext3fs dd if=/dev/zero of=/home/images/ext3fs.img bs=1MB count=4096 mkfs.ext3 /home/images/ext3fs.img mount -o loop /home/images/ext3fs.img /mnt/next3fs cp -dpR /mnt/ext3fs/* /mnt/next3fs/ Now to use the squashfs file system. First we most umount the ext3 file system. So type in: umount /mnt/next3fs umount /mnt/ext3fs Next replace the new image in squashfs_image/LiveOS cp -f /home/images/ext3fs.img /home/images/squashfs_image/LiveOS/ Then to compress type in (If you replaced the original command, then just remove the .lzma): mksquashfs.lzma squashfs_image/ /home/images/isoimage/LiveOS/squashfs.img Okay once that is done the final step is create an iso image with the following command: mkisofs -J -r -hide-rr-moved -hide-joliet-trans-tbl -V Fedora-9-Live-i686 -o ur_distro.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-info-table -boot-load-size 4 isoimage ***************************************************************************** The ISO created successfully,but the original iso size is 700mb after modified it was 1.6GB it doesn't booted.the following error occured ******************************************************************************** "WARNING: Cannot find root file system! Create symlink /dev/root and then exit this shell to continue the boot sequence." ******************************************************************************** what is wrong with my steps.help me please. Thanks poorani -------------- next part -------------- An HTML attachment was scrubbed... URL: From abo at stacken.kth.se Fri Mar 27 20:57:56 2009 From: abo at stacken.kth.se (=?ISO-8859-1?Q?Alexander_Bostr=F6m?=) Date: Fri, 27 Mar 2009 21:57:56 +0100 Subject: [Fedora-livecd-list] [PATCH] Handle the case when the kernel can't mount squashfs.img (probably a mksquashfs/running kernel mismatch). In-Reply-To: <20090327010613.GA21634@redhat.com> References: <49CA9536.7010606@stacken.kth.se> <20090327010613.GA21634@redhat.com> Message-ID: <49CD3DD4.8070103@stacken.kth.se> Jeremy Katz skrev: > This looks okay, but thunderbird horribly mangled the patch. Your last > one I was able to fix up manually, but can you please send with a mailer > that doesn't mangle? git send-email can do the trick nicely :) How annoying! But I'll send it again. /abo From abo at stacken.kth.se Fri Mar 27 21:00:20 2009 From: abo at stacken.kth.se (=?utf-8?q?Alexander=20Bostr=C3=B6m?=) Date: Fri, 27 Mar 2009 22:00:20 +0100 Subject: [Fedora-livecd-list] [PATCH] Handle the case when the kernel can't mount squashfs.img (probably a mksquashfs/running kernel mismatch). In-Reply-To: <49CD3DD4.8070103@stacken.kth.se> References: <49CD3DD4.8070103@stacken.kth.se> Message-ID: <1238187620-26154-1-git-send-email-abo@stacken.kth.se> --- tools/livecd-iso-to-disk.sh | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 8702936..682c851 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -191,6 +191,11 @@ checkGPT() { partinfo=$(/sbin/parted --script -m $device "print" |grep ^$partnum:) volname=$(echo $partinfo |cut -d : -f 6) flags=$(echo $partinfo |cut -d : -f 7) + if [ "$volname" != "EFI System Partition" ]; then + echo "Partition name must be 'EFI System Partition'" + echo "This can be set in parted or you can run with --reset-mbr" + exitclean + fi if [ "$(echo $flags |grep -c boot)" = "0" ]; then echo "Partition isn't marked bootable!" echo "You can mark the partition as bootable with " @@ -457,9 +462,17 @@ else fi livesize=$(du -s -B 1M $check | awk {'print $1;'}) if [ -n "$skipcompress" ]; then - mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT - livesize=$(du -s -B 1M $CDMNT/LiveOS/ext3fs.img | awk {'print $1;'}) - umount $CDMNT + if [ -e $CDMNT/LiveOS/squashfs.img ]; then + if mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT; then + livesize=$(du -s -B 1M $CDMNT/LiveOS/ext3fs.img | awk {'print $1;'}) + umount $CDMNT + else + echo "WARNING: --skipcompress or --xo was specified but the currently" + echo "running kernel can not mount the squashfs from the ISO file to extract" + echo "it. The compressed squashfs will be copied to the USB stick." + skipcompress="" + fi + fi fi free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'}) @@ -500,7 +513,7 @@ if [ -z "$skipcopy" ];then [ ! -d $USBMNT/$LIVEOS ] && mkdir $USBMNT/$LIVEOS [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/$LIVEOS/$HOMEFILE if [ -n "$skipcompress" -a -f $CDMNT/LiveOS/squashfs.img ]; then - mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT + mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT || exitclean cp $CDMNT/LiveOS/ext3fs.img $USBMNT/$LIVEOS/ext3fs.img || (umount $CDMNT ; exitclean) umount $CDMNT elif [ -f $CDMNT/LiveOS/squashfs.img ]; then -- 1.6.0.6 From katzj at redhat.com Mon Mar 30 15:42:05 2009 From: katzj at redhat.com (Jeremy Katz) Date: Mon, 30 Mar 2009 11:42:05 -0400 Subject: [Fedora-livecd-list] [PATCH] Handle the case when the kernel can't mount squashfs.img (probably a mksquashfs/running kernel mismatch). In-Reply-To: <49CD3DD4.8070103@stacken.kth.se> References: <49CA9536.7010606@stacken.kth.se> <20090327010613.GA21634@redhat.com> <49CD3DD4.8070103@stacken.kth.se> Message-ID: <20090330154205.GA30964@redhat.com> On Friday, March 27 2009, Alexander Bostr?m said: > Jeremy Katz skrev: > >> This looks okay, but thunderbird horribly mangled the patch. Your last >> one I was able to fix up manually, but can you please send with a mailer >> that doesn't mangle? git send-email can do the trick nicely :) > > How annoying! But I'll send it again. Thanks, applied Jeremy From katzj at fedoraproject.org Mon Mar 30 15:44:36 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Mon, 30 Mar 2009 15:44:36 +0000 (UTC) Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh Message-ID: <20090330154436.472E31202D3@lists.fedorahosted.org> tools/livecd-iso-to-disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 80dddee3c642848e36a4ae19a27f0e1734e16489 Author: Jeremy Katz Date: Mon Mar 30 11:44:12 2009 -0400 Fix unterminated sed command (#492376) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 8702936..96869c7 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -596,7 +596,7 @@ if [ -n "$xo" ]; then args="$args persistenthome=mtd0" fi args="$args reset_overlay" - xosyspath=$(echo $SYSLINUXPATH | sed -e 's;/;\;') + xosyspath=$(echo $SYSLINUXPATH | sed -e 's;/;\\;') if [ ! -d $USBMNT/boot ]; then mkdir -p $USBMNT/boot ; fi cat > $USBMNT/boot/olpc.fth < imgcreate/kickstart.py | 18 +++++++++++------- tools/livecd-iso-to-disk.sh | 21 +++++++++++++++++---- 2 files changed, 28 insertions(+), 11 deletions(-) New commits: commit d9880bf3823b21421f4916d64648a990a7392ecb Author: Jeremy Katz Date: Tue Mar 31 14:12:00 2009 -0400 Support the rest of the firewall args for kickstart configs Support trusteddevs, services and ports in the firewall line diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py index 253d349..5afe8f9 100644 --- a/imgcreate/kickstart.py +++ b/imgcreate/kickstart.py @@ -172,18 +172,22 @@ class AuthConfig(KickstartConfig): class FirewallConfig(KickstartConfig): """A class to apply a kickstart firewall configuration to a system.""" def apply(self, ksfirewall): - # - # FIXME: should handle the rest of the options - # if not os.path.exists(self.path("/usr/sbin/lokkit")): return + args = ["/usr/sbin/lokkit", "-f", "--quiet", "--nostart"] if ksfirewall.enabled: - status = "--enabled" + args.append("--enabled") + + for port in ksfirewall.ports: + args.append("--port=%s" %(port,)) + for svc in ksfirewall.services: + args.append("--service=%s" %(svc,)) + for dev in ksfirewall.trusts: + args.append("--trust=%s" %(dev,)) else: - status = "--disabled" + args.append("--disabled") - self.call(["/usr/sbin/lokkit", - "-f", "--quiet", "--nostart", status]) + self.call(args) class RootPasswordConfig(KickstartConfig): """A class to apply a kickstart root password configuration to a system.""" commit b9e8cc6bf67ed6e4202453ffb6ae6a7149a100ab Author: Alexander Bostr??m Date: Fri Mar 27 22:00:20 2009 +0100 Handle the case when the kernel can't mount squashfs.img (probably a mksquashfs/running kernel mismatch). diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 96869c7..daadc3d 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -191,6 +191,11 @@ checkGPT() { partinfo=$(/sbin/parted --script -m $device "print" |grep ^$partnum:) volname=$(echo $partinfo |cut -d : -f 6) flags=$(echo $partinfo |cut -d : -f 7) + if [ "$volname" != "EFI System Partition" ]; then + echo "Partition name must be 'EFI System Partition'" + echo "This can be set in parted or you can run with --reset-mbr" + exitclean + fi if [ "$(echo $flags |grep -c boot)" = "0" ]; then echo "Partition isn't marked bootable!" echo "You can mark the partition as bootable with " @@ -457,9 +462,17 @@ else fi livesize=$(du -s -B 1M $check | awk {'print $1;'}) if [ -n "$skipcompress" ]; then - mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT - livesize=$(du -s -B 1M $CDMNT/LiveOS/ext3fs.img | awk {'print $1;'}) - umount $CDMNT + if [ -e $CDMNT/LiveOS/squashfs.img ]; then + if mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT; then + livesize=$(du -s -B 1M $CDMNT/LiveOS/ext3fs.img | awk {'print $1;'}) + umount $CDMNT + else + echo "WARNING: --skipcompress or --xo was specified but the currently" + echo "running kernel can not mount the squashfs from the ISO file to extract" + echo "it. The compressed squashfs will be copied to the USB stick." + skipcompress="" + fi + fi fi free=$(df -B1M $USBDEV |tail -n 1 |awk {'print $4;'}) @@ -500,7 +513,7 @@ if [ -z "$skipcopy" ];then [ ! -d $USBMNT/$LIVEOS ] && mkdir $USBMNT/$LIVEOS [ -n "$keephome" -a -f "$USBMNT/$HOMEFILE" ] && mv $USBMNT/$HOMEFILE $USBMNT/$LIVEOS/$HOMEFILE if [ -n "$skipcompress" -a -f $CDMNT/LiveOS/squashfs.img ]; then - mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT + mount -o loop $CDMNT/LiveOS/squashfs.img $CDMNT || exitclean cp $CDMNT/LiveOS/ext3fs.img $USBMNT/$LIVEOS/ext3fs.img || (umount $CDMNT ; exitclean) umount $CDMNT elif [ -f $CDMNT/LiveOS/squashfs.img ]; then From beistle_jr at hotmail.com Tue Mar 31 18:12:47 2009 From: beistle_jr at hotmail.com (beistle_jr at hotmail.com) Date: Tue, 31 Mar 2009 11:12:47 -0700 Subject: [Fedora-livecd-list] Vacation reply In-Reply-To: <20090331181229.94DBB120197@lists.fedorahosted.org> Message-ID: An HTML attachment was scrubbed... URL: