I have a directory that I'd like to be available on the generated Live CD
ISO and accessible to people who put the CD into their machines, even
without running the actual Fedora live image.
Does livecd-creator offer an option to stick data into the ISO toward the
end of the process? (I did take a look and didn't find such an option.)
If not, what would be a good way to make this happen?
Life is a whim of several billion cells to be you for a while.
I'm trying to build a basic Fedora 8 livecd to use as
a vehicle to flash a card I am working on. The flash
utility works from linux running from the hard drive
so that is not a concern at the moment.
My problem - I can't log in! The iso builds fine with
livecd-creator --config=./livecd-fedora-minimal.ks --fslabel=Fedora8
When I boot from it, or use qemu to test, I can't log into root
or another id that I create in the kiskstart file. I followed
the instructions at http://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo
which are great, but they even point out that the livecd-fedora-minimal.ks
kickstart file found in /usr/share/livecd-tools will not let you log in.
(unless you go to all full desktop environment - which I don't need/want)
I noticed that the minimal kickstart file disabled the root id,
so I removed that and scoured the net and found that kickstart command
rootpw allows you to set the root password. That gave me some
progress. Now when I try to log in to root I get these messages;
Last login: time date...
Welcome to my world (this is what I put in /etc/motd)
login: no shell: Permission denied.
So, several questions:
1 - What is wrong with my kickstart file (below) that prevents
me from logging in?
2 - Is there any collections of kickstart files available (other than
those that come with the livecd-tools packages?
3 - Where can I find the kickstart file options documented?
Oh, my build environment is Fedora 8 (x86_64) with all the latest
updates. I point to the x86 mirrors so I can use the CD on older
I'd appreciate any help you can offer.
#auth --useshadow --enablemd5
part / --size 1024
repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=i386
# FIXME: it'd be better to get this installed from a package
cat > /etc/rc.d/init.d/fedora-live << EOF
# live: Init script for live image
# chkconfig: 345 00 99
# description: Init script for live image.
if ! strstr "\`cat /proc/cmdline\`" liveimg || [ "\$1" != "start" ] || [ -e /.liveimg-configured ] ; then
which \$1 >/dev/null 2>&1 || return
# mount live image
if [ -b /dev/live ]; then
mkdir -p /mnt/live
mount -o ro /dev/live /mnt/live
# add a user
useradd -c "Jerry" jerry
echo 'password' | passwd --stdin jerry
# read some variables out of /proc/cmdline
for o in \`cat /proc/cmdline\` ; do
case \$o in
# Stopgap fix for RH #217966; should be fixed in HAL instead
chmod 755 /etc/rc.d/init.d/fedora-live
/sbin/chkconfig --add fedora-live
echo "Welcome to my world" > /etc/motd