git-version kickstart only?
by Sebastian Vahl
Is the actual version in git supposed to work with the old
fedora-livecd-*.rpms?
On my installation I always get this error:
# livecd-creator --repo=f7,file:///daten/LIVECD/RAWHIDE/core/
--repo=e7,file:///daten/LIVECD/RAWHIDE/extras/
--repo=lcd7,http://www.deadbabylon.de/fedora/livecd/i386/
--package=fedora-livecd-kde-german --fslabel=Fedora-7-Test2-KDE-German
[...]
Installing: setup ####################### [ 1/13]
Installing: filesystem ####################### [ 2/13]
Installing: basesystem ####################### [ 3/13]
Installing: libgcc ####################### [ 4/13]
Installing: tzdata ####################### [ 5/13]
Installing: glibc-common ####################### [ 6/13]
Installing: glibc ####################### [ 7/13]
Installing: ncurses ####################### [ 8/13]
Installing: mktemp ####################### [ 9/13]
Installing: bash ####################### [10/13]
Installing: fedora-livecd ####################### [11/13]
Installing: fedora-livecd-kde #################### [12/13]
Installing: fedora-livecd-kde-german ############## [13/13]
ERROR during installation...
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 848, in main
target.createInitramfs()
File "/usr/bin/livecd-creator", line 595, in createInitramfs
get_kernel_version(self.build_dir)],
File "/usr/bin/livecd-creator", line 273, in get_kernel_version
kver = os.path.basename(kdir[0])
IndexError: list index out of range
# rpm -qa | grep kernel
kernel-2.6.20-1.2982.fc7
kernel-headers-2.6.20-1.2982.fc7
kernel-devel-2.6.20-1.2982.fc7
---
livecd-creator --config ist working fine.
Sebastian
17 years, 1 month
patch review and move of livecd scm
by David Zeuthen
Hey list, Jeremy and Bill,
Sorry for being slow in reviewing patches; most of my time past two
month been spent traveling and working on other features on Fedora 7.
Enough with bad excuses. Anyway, looks like Jeremy and Bill been kicking
ass writing patches so I've merged them all into master.
Also, the livecd repo is now located here rather than on freedesktop.org
http://git.fedoraproject.org/?p=hosted/livecd
The HACKING file for instructions on how to checkout the code is updated
http://git.fedoraproject.org/?p=hosted/livecd;a=blob;f=HACKING;hb=HEAD
Btw, Jeremy, where can I find a kickstart file? Also, should we include
a simple works-for-latest-distro example kickstart file in the repo
along with comments on how to use it? Also, for Fedora, where do you
envision will we store such Kickstart configuration files? In an SCM of
some sort I presume?
Will we have separate kickstart files per arch? I presume we want the
package selection to differ for x86_64, ppc and x86, just by virtue that
it's going to be larger for the former two. Can Kickstart do this
already?
David
17 years, 1 month
help
by Subhodip Biswas
Hi ! when tried to install live cd creator it mailed..........plz
help.theproblem is in a snap attached,while i do have yum
3.0.6,i am currently using FC6
--
beton
17 years, 1 month
Different iso sizes
by Sebastian Vahl
Hi.
I've got just a small question: I've created three isos from the same
configuration. Each three created iso images have different sizes. The
first one is 672 MB, the second 683 MB and the third 697 MB. There was
nothing I have changed beetwen them.
Is this related to squashfs? And if so: What would be the "best" way to
create the smallest possible iso?
Sebastian
17 years, 1 month
RFC: Use of a kickstart config to define the live cd contents
by Jeremy Katz
The attached (draft, we likely don't want to apply this directly) patch
moves towards using a kickstart config to define the contents of the
live CD. What does this mean?
1) Instead of using the fedora-livecd* packages to define the packages
which are included, we can use a kickstart %packages manifest. This
gives us group support, exclusion and a few other things
2) Move the livecd initscript into a package. Creating and editing this
in a script was probably going to be a little fragile; it makes a lot
more sense to have this be in packages. If you want to derive from the
stock live CD initscript and do your own things, having more than one
initscript to run on livecd startup isn't that big of a deal.
3) Allow initial system setup (was post actions in the scripts
previously) to be done via kickstart directives + general kickstart %
post
4) We temporarily lose easy inheritance. Right now, kickstart configs
don't have it, but that should be remedied in pykickstart before Fedora7
is out.
5) Makes it pretty easy to move a system specification between being a
live CD and an installed system. This seems pretty cool and powerful.
Also, with a little bit of work, we could get system-config-kickstart in
the game.
What do other people think? Patch for livecd-creator attached as well a
kickstart config that specifies the contents of a default desktop
install[1].
Jeremy
[1] Well, package exclusion doesn't exactly work with the way we call
yum right now. Next up: use the yum API instead of exec'ing yum :-)
17 years, 1 month
persistent dev name during initrd
by Noor
any plan to add persistent device naming (/dev/disk/*) at init ramdisk stage ?
This would be helpful in specifying rootfs by-id (vendor-model-partX)
in live USB scenario.
Thanks
Noor
17 years, 1 month
Packages to install say they are already installed.
by john pleines
Hello,
Been trying to create a livecd using the latest version of the script and
running across a problem where yum complains packages are already installed
twice for each package I've asked for. However when the script goes to
execute get_kernel _version, it replies nothing is there, (i.e. nothing got
installed, so index out of range.) In the process of working through this
I've sprinkled additional debug print of the form "** message follows".
I've included the output of the script and the kickstart file I've been
using.
>From the debug messages it is like it is not looking at the livecd tree but
actually looking at the system I am running the script on.
I'm running the respin 01/2007 of fc6 patched as of yesterday. With
livecd-creator out of git from yesterday. Also have a version of
pykickstart.version, which wasn't in fc6 as I'd updated.
I'm using local repo's and per Jeremy's suggestion do not reference them
with any part of the phrase "core" in them. I've also temporarily moved
everything out of /etc/yum.repos.d to make sure yum didn't see any of the
repo files.
The initial version 1 release of the script worked, but I needed the patch
which updated to isolinux, because I eventually will need syslinux and the
livecd to boot from a thumb drive. I tried patching, but the script broke,
Jeremy point me to a patched version (through isolinux and iso name length I
believe), still had problems.
Anybody have any ideas on what could be the problem(s) ?
thanks,
John
17 years, 1 month
livecd-creator complaining about older version of kernel rpm
by William Cohen
Hi All,
I was attempting to make a livecd the required pieces of software for systemtap.
I was following the instructions on:
http://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo
Earlier I was successful in building a live CD. Given the amount of time
required to download stuff I was trying to use the existing CD as starting
point. The following command was run:
livecd-creator \
--repo=c6,http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/ \
--repo=c6di,http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/debug/ \
--repo=c6_upd,http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/
\
--repo=c6_updi,http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/debug/
\
--repo=lcd6,http://people.redhat.com/davidz/livecd/i386/ \
--repo=e6,http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/ \
--package=fedora-livecd-gnome \
--package=kernel-debuginfo \
--package=systemtap \
--package=systemtap-runtime \
--package=elfutils-devel \
--package=elfutils \
--package=gcc \
--fslabel=Fedora-6-Zod-LiveCD-1-stap0 \
--base-on=/home/wcohen/Fedora-6-Zod-LiveCD-1-woot.iso
I saw the following error message during the process:
Transaction Check Error:
package kernel-2.6.19-1.2911.fc6 (which is newer than
kernel-2.6.19-1.2895.fc6) is already installed
There are multiple kernel rpm in the updates directory. Shouldn't the older one
be ignored and no error occur? Or is there something that is forcing it to be
pulled in? I am tryed adding the following option to the command line, but got
the same result:
--exclude-package=kernel-2.6.19-1.2895.fc6
The previously created Fedora-6-Zod-LiveCD-1-woot.iso has a 2.6.19-1.2911.fc6
kernel in it.
-Will
17 years, 1 month