How to ensure minimum versions of packages?
by Richard W.M. Jones
Maybe this is a kickstart question, I don't know.
I've discovered that you can't specify versions of packages in the
live CD kickstart file, eg the following doesn't work:
%packages
dhclient >= 4.0.0
For my application I really do need to specify minimum package
versions, otherwise users will end up with a live CD that definitely
won't work. Any suggestions about how to enforce this?
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
16 years, 1 month
f7 livecd-creator cannot umount image after recent yum updates
by Skunk Worx
I ran yum updates two days ago and now the iso created by livecd-creator
has a few issues. This is a Fedora 7 machine.
1) The tool complains that it cannot umount busy device :
...
Building an initramfs at /boot/livecd-initramfs.img for kernel
2.6.23.15-80.fc7
FATAL: Module ide_cd not found.
FATAL: Module usbhid not found.
Done; initramfs is 4.3M.
umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy
umount: /var/tmp/livecd-creator-iiLVNk/install_root: device is busy
ioctl: LOOP_CLR_FD: Device or resource busy
...
(otherwise completes successfully)
2) If I examine the final iso, mounting the squash image and then the
os.img, I find the ext3 fs is inconsistent :
mount -o loop /tmp/foo_sqsh/os.img /tmp/foo_img
EXT3-fs: write access unavailable, cannot proceed.
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg :
loop: module loaded
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access unavailable, cannot proceed.
# file /tmp/foo_sqsh/os.img
/tmp/foo_sqsh/os.img: Linux rev 1.0 ext3 filesystem data (needs journal
recovery) (large files)
(If I copy the os.img out to a r/w location I can fsck.ext3 it)
3) The /etc/mtab in the os.img ends up errant so sysfs mount on boot of
media complains :
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: mount: sysfs already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys
[FAILED]
For now I am fixing the iso with a script :
1) copy out/fsck.ext3 the os.img file
2) remove the errant /etc/mtab
3) rebuild the squashfs with the new os.img using mksquashfs
4) rebuild the iso
I thought this was obviously a kernel problem, but reverting to an older
kernel on the build host did not fix it.
TIA,
John
16 years, 1 month
Inserting custom kernel parameter to live CD
by Devrim GÜNDÜZ
Hi,
I am building a live CD based on Fedora 8. I added this line to
kickstart file:
bootloader --append="selinux=0" --location=mbr
I'm assuming that this will add a "selinux=0" line to grub. Am I wrong?
I can't see this parameter in grub splash screen, and I still need to
manually edit it to boot fine for some machines.
Some of the users had a problem using my live CD, and using this
parameter solves their problem (and yes, I don't care about selinux for
this live CD).
What is the way to add this parameter to kernel before booting?
Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
16 years, 1 month
How To Create a LiveCD for Xen
by M P Sairam
Hi,
I want to create a live CD which can work in Xen. can any one help me?
I googled it but i didn't get good enough material.
Thanks in advance,
--
Sairam
********************************************************************************
This email message (including any attachments) is for the sole use of the intended recipient(s)
and may contain confidential, proprietary and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended recipient,
please immediately notify the sender by reply email and destroy all copies of the original message.
Thank you.
Intoto Inc.
16 years, 1 month
livecd-creator fails on rawhide
by Valent Turkovic
I have selinux in permissive mode, and I get this error.
Is this a bug I should file with livecd-tools or selinux?
Cheers,
Valent.
# livecd-creator -c
/usr/share/livecd-tools/livecd-fedora-8-base-desktop.ks -f
Fedora8-LinuxOsijek -t /media/sda8/
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 132, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 108, in main
creator = imgcreate.LiveImageCreator(ks, name, fs_label)
File "/usr/lib/python2.5/site-packages/imgcreate/live.py", line 46,
in __init__
LoopImageCreator.__init__(self, *args)
File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line
716, in __init__
ImageCreator.__init__(self, ks, name)
File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line
74, in __init__
self.__sanity_check()
File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line
398, in __sanity_check
raise CreatorError("SELinux requested but not enabled on host")
imgcreate.errors.CreatorError: SELinux requested but not enabled on host
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic
16 years, 1 month
OpenOffice on F9 Live CD?
by Valent Turkovic
Hi,
there has been a push to remove some odd langunages (mine is also on
the list), in order to make room for OpenOffice.org
Is F9 Live CD going to have OpenOffice on it?
Cheers,
Valent.
--
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic
16 years, 1 month
Image options
by Gary Thomas
Are there image options other than squashFS for the LiveCD?
I ask because building squashFS images on the PowerPC is
excruciatingly slow :-(
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
16 years, 1 month
Build LiveCD for another architecture
by Gary Thomas
I'm trying to see if I can get the LiveCD tools to work
in a pseudo-cross environment (using qemu as a helper).
I have a lot of it working, down to the point where it's
ready to install the actual packages. Then I get this
error:
Error creating Live CD :
Unable to install:
[('package filesystem-2.4.11-1.fc8.ppc is intended for a ppc architecture'
I can't seem to figure out where this message comes from, nor
how it is coming to this conclusion.
n.b. I am running this on an x86, trying to force it to build
for ppc. I've hacked things such that os.uname() always returns
'ppc' for the machine name which is how I got this far.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
16 years, 1 month
config/livecd-fedora-kde.ks
by Sebastian Vahl
config/livecd-fedora-kde.ks | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 27adc6d1bd0d403c668d868403298fbf0294f8bd
Author: Sebastian Vahl <fedora(a)deadbabylon.de>
Date: Tue Mar 18 15:37:53 2008 +0100
make sure, pirut isn't on the beta; remove twinkle to save space
diff --git a/config/livecd-fedora-kde.ks b/config/livecd-fedora-kde.ks
index 4916336..a4550ff 100644
--- a/config/livecd-fedora-kde.ks
+++ b/config/livecd-fedora-kde.ks
@@ -26,7 +26,7 @@ koffice-filters
k3b
filelight
# twinkle (~10 megs)
-twinkle
+#twinkle
# some extras
fuse
@@ -57,6 +57,9 @@ tibetan-machine-uni-fonts
# save some space
-autofs
+# make sure, pirut isn't on the beta
+-pirut
+
%end
%post
16 years, 1 month
multiple live images on one usb stick
by Andreas Winkelbauer
hi,
is it possible to have more than one, let's say two, live images on one usb
stick (for example F8 and F9-beta)?
cheers,
andi
16 years, 1 month