Re: Fedora-livecd-list Digest, Vol 40, Issue 2
by martin.x.long@jpmchase.com
Rahul Sundaram wrote:
------------------------------
> Message: 6
> Date: Sun, 03 Aug 2008 18:12:25 +0530
> From: Rahul Sundaram <sundaram(a)fedoraproject.org>
> Subject: Re: [Fedora-livecd-list] Is it possible to have an updatable
system on a usb stick?
> To: fedora-livecd-list(a)redhat.com
> Message-ID: <4895A7B1.6000605(a)fedoraproject.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Richard Shaw wrote:
>
> >
> > This has not been my experience. I was actually able to update the
> > kernel without problem but several other packages have caused
problems,
> > most notably udev which had an issue during reboot with an error about
> > loading the 50-udev-default.rules.
> >
> > I've also had problems with updating xorg. X tried and failed to load,
> > but instead of only trying 3 times it went into an infinite loop.
>
> Did you ever file any bug reports?
>
> Rahul
[Bug 455470] System Drops to shell after software update.
it should be fixed in the next image.
I've been renaming "50-udev-default.rules" to "50-ud" after I run the
updates and before I restart. This might break something else. I don't
know, but it will reboot.
the initialization program is using a wild card to call 50-udev-default
and the call becomes ambiguous with 50-udev-default.rules in the same
directory.
>From my experience, the best way to have an updated LiveUSB, is to:
do the "auto login"
create a user for yourself
log out and back in to your account.
this seems to spawn the auto update process
when prompted, click "Update computer now"
let the download and update process happen.
when your system is updated
open a terminal window and run the following command at the prompt:
su -c "mv /etc/udev/rules.d/50-udev-default.rules /etc/udev/rules.d/50-ud"
verify this path, I'm not on Fedora right now.
it should reboot.
hope this helps
Martin
-----------------------------------------
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.
15 years, 8 months
livecd-creator on RHEL5.2
by Michael Thomas
I just installed livecd-tools from EPEL on an up-to-date RHEL5.2 system.
I created a scratch directory in /pub/livecd and copied
/usr/share/livecd-tools/*.ks into the scratch dir. But livecd-creator
fails when trying to parse the kickstart files:
# livecd-creator -t `pwd`/tmp -c livecd-fedora-desktop.ks
Using label 'fedora-desktop-200808021852' and name
'livecd-fedora-desktop-200808021852'
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 133, in ?
sys.exit(main())
File "/usr/bin/livecd-creator", line 106, in main
ks = imgcreate.read_kickstart(options.kscfg)
File "/usr/lib/python2.4/site-packages/imgcreate/kickstart.py", line
59, in read_kickstart
raise errors.KickstartError("Failed to parse kickstart file "
imgcreate.errors.KickstartError: Failed to parse kickstart file
'livecd-fedora-desktop.ks' : There was a problem reading from line 64 of
the kickstart file
line 64 of livecd-fedora-desktop.ks is:
@korean-support
...which doesn't make any sense why it would generate a kickstart error.
Before I file this in BZ, I wanted to know if there was something
obvious that I was missing?
--Wart
15 years, 8 months
Is automounting of LVM volumes by a livecd dangerous?
by Antonio Olivares
Dear all,
I have asked the following question on fedora-list(a)redhat.com.
But then it clicked to me that I should have directed the question here on livecd list.
Is automounting of LVM volumes by a livecd dangerous?
http://www.mail-archive.com/fedora-list@redhat.com/msg09393.html
<quote that I sent>
I have a question regarding the automounting of LVM volumes like it is the
default Fedora installation. Is there any way that it is harmful when done from a linux live cd?
For instance in Slax, Tomas Matejicek, the creator of slax has been encouraged by me and others to implement it in Slax. I believe it is an excellent idea. I was wondering if there are any downnsides to having this done in this livecd or any livecd for that matter.
Thank you in advance for your input regarding this matter.
</quote>
I have my own customized Fedora Live CD with TeXLive created by livecd tools. But I also use Slax Linux Live CD and I like it very much. I know in advance that Fedora Live CD's do not automount partitions nor activate swap. While on the other hand, Slax automounts partitions if it can except LVM like default Fedora installations.
Here's Slax Forum thread in case it is relevant to the discussion.
http://www.slax.org/forum.php?action=view&parentID=17340
Are there any dangers with respect to automounting LVM volumes by default?
Thank you in advanced,
Antonio
15 years, 8 months
[PATCH] first extend yum's exclude setting
by Jeroen van Meeuwen
First extending yum's exclude setting with packages excluded from the
compose in the kickstart package manifest helps in group selection (see
also #456882), since @core has a mandatory package called
"fedora-logos". Although livecd-tools already removes the packages
(after package and group selection) in the excluded list, I think this
is cleaner as not even dependency resolving will know about the package
explicitly excluded (and the package is thus not pulled in accidently,
afterwards).
Kind regards,
Jeroen van Meeuwen
-kanarip
15 years, 8 months
3 commits - config/livecd-fedora-base-desktop.ks config/livecd-fedora-desktop.ks
by Jeremy Katz
config/livecd-fedora-base-desktop.ks | 5 ++++-
config/livecd-fedora-desktop.ks | 6 ++++++
2 files changed, 10 insertions(+), 1 deletion(-)
New commits:
commit f56568d9673dc8304e519aa4af29fe2a9dc72c36
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Jul 31 13:32:51 2008 -0400
Hacks for the alpha so that we fit on a CD.
Once compat-db stops being used for rpm, these should pretty easily be
able to return
diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks
index f8e1f99..e45c092 100644
--- a/config/livecd-fedora-desktop.ks
+++ b/config/livecd-fedora-desktop.ks
@@ -153,6 +153,12 @@ scim-pinyin
-ekiga
-tomboy
-f-spot
+
+# try to get down to cd sized for the alpha
+-gnumeric
+-isdn4k-utils
+# hack to deal with conditionals + multiarch blargh
+-scim-bridge-gtk.i386
%end
%post
commit 7e6afde56b9c47c1ecbb1bbfc70cd7a37007cf4c
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Mon Jul 28 15:19:27 2008 -0400
Use plymouth to ask for password as we're going to always be using plymouth
diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks
index c450f79..f24c091 100644
--- a/config/livecd-fedora-base-desktop.ks
+++ b/config/livecd-fedora-base-desktop.ks
@@ -121,7 +121,7 @@ mountPersistentHome() {
if [ "\$(/lib/udev/vol_id -t \$homedev)" = "crypto_LUKS" ]; then
echo
echo "Setting up encrypted /home device"
- cryptsetup luksOpen \$homedev EncHome <&1
+ plymouth ask-for-password --command="cryptsetup luksOpen \$homedev EncHome"
homedev=/dev/mapper/EncHome
fi
commit ad6f21ab782297411cef31f8c1106ee55ff7a20d
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Tue Jul 22 17:01:07 2008 -0400
Run makewhatis so that apropos works (#455968)
diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks
index 602e9f6..c450f79 100644
--- a/config/livecd-fedora-base-desktop.ks
+++ b/config/livecd-fedora-base-desktop.ks
@@ -275,6 +275,9 @@ chmod 755 /etc/rc.d/init.d/fedora-late-live
rm -f /var/lib/rpm/__db*
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+# go ahead and pre-make the man -k cache (#455968)
+/usr/sbin/makewhatis -w
+
# save a little bit of space at least...
rm -f /boot/initrd*
# make sure there aren't core files lying around
15 years, 8 months